commit | c29734443511aa3c53844e1941805fc761aa80ba | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Oct 31 08:39:14 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 03 15:40:01 2018 -0700 |
tree | 73330b5959a58e476ed613f2fe8e31fad7c28f5a | |
parent | fe60faa5063822f2d555f4f326c7dd72a60929bf [diff] |
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>