]> asedeno.scripts.mit.edu Git - linux.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)
commitc29734443511aa3c53844e1941805fc761aa80ba
tree73330b5959a58e476ed613f2fe8e31fad7c28f5a
parentfe60faa5063822f2d555f4f326c7dd72a60929bf
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