summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorTariq Toukan2016-02-29 20:17:09 +0100
committerDavid S. Miller2016-03-02 20:37:24 +0100
commit59a7c2fd336eaafb030aac9c91ac21d136a99f33 (patch)
treee9cdbc46b92857dab6df3b698ae24260b7851769 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentr8169: Enable RX_MULTI_EN for RTL_GIGA_MAC_VER_41~48 (diff)
downloadkernel-qcow2-linux-59a7c2fd336eaafb030aac9c91ac21d136a99f33.tar.gz
kernel-qcow2-linux-59a7c2fd336eaafb030aac9c91ac21d136a99f33.tar.xz
kernel-qcow2-linux-59a7c2fd336eaafb030aac9c91ac21d136a99f33.zip
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/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions