diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2016-02-29 21:17:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-02 14:37:24 -0500 |
commit | 59a7c2fd336eaafb030aac9c91ac21d136a99f33 (patch) | |
tree | e9cdbc46b92857dab6df3b698ae24260b7851769 /drivers/net/fjes | |
parent | 607e681111800f9bbfcd823a385a45dd0295dfb8 (diff) |
net/mlx5e: Remove wrong poll CQ optimization
With the MLX5E_CQ_HAS_CQES optimization flag, the following buggy
flow might occur:
- Suppose RX is always busy, TX has a single packet every second.
- We poll a single TX cqe and clear its flag.
- We never arm it again as RX is always busy.
- TX CQ flag is never changed, and new TX cqes are not polled.
We revert this optimization.
Fixes: e586b3b0baee ('net/mlx5: Ethernet Datapath files')
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fjes')
0 files changed, 0 insertions, 0 deletions