]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: use __netdev_tx_sent_queue()
authorEric Dumazet <edumazet@google.com>
Wed, 31 Oct 2018 15:39:14 +0000 (08:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2018 22:40:01 +0000 (15:40 -0700)
commitf4c1f6b2f20d760000e08f59595981443b3282e9
tree73330b5959a58e476ed613f2fe8e31fad7c28f5a
parentbfef1781cd89dd6afd2badd8e5651512c5e241bc
net/mlx4_en: use __netdev_tx_sent_queue()

doorbell only depends on xmit_more and netif_tx_queue_stopped()

Using __netdev_tx_sent_queue() avoids messing with BQL stop flag,
and is more generic.

This patch increases performance on GSO workload by keeping
doorbells to the minimum required.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c