aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2020-04-22 09:13:29 -0700
committerDavid S. Miller <davem@davemloft.net>2020-04-23 12:43:20 -0700
commitcf4058dbaa18bf8e55b7cb8c04e1c313298cd5b1 (patch)
treee225c4e8ede36140d00cdb3dc1aac52a3788935a /tools/perf/scripts/python
parentnet: napi: use READ_ONCE()/WRITE_ONCE() (diff)
downloadlinux-cf4058dbaa18bf8e55b7cb8c04e1c313298cd5b1.tar.gz
linux-cf4058dbaa18bf8e55b7cb8c04e1c313298cd5b1.zip
net/mlx4_en: use napi_complete_done() in TX completion
In order to benefit from the new napi_defer_hard_irqs feature, we need to use napi_complete_done() variant in this driver. RX path is already using it, this patch implements TX completion side. mlx4_en_process_tx_cq() now returns the amount of retired packets, instead of a boolean, so that mlx4_en_poll_tx_cq() can pass this value to napi_complete_done(). Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions