diff options
author | Eric Dumazet <edumazet@google.com> | 2020-04-22 09:13:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-23 12:43:20 -0700 |
commit | cf4058dbaa18bf8e55b7cb8c04e1c313298cd5b1 (patch) | |
tree | e225c4e8ede36140d00cdb3dc1aac52a3788935a /tools/perf/scripts/python | |
parent | 7e417a66b86c110f4b282945dac82e21e0b08328 (diff) |
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