Skip to content

net: napi: addition of napi_defer_hard_irqs

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: napi: add hard irqs deferral featureinclude/linux/netdevice.h net/core/dev.c net/core/net-sysfs.c+38 -117 replies
2/3net: napi: use READ_ONCE()/WRITE_ONCE()net/core/dev.c net/core/net-sysfs.c+5 -50 replies
3/3net/mlx4_en: use napi_complete_done() in TX completiondrivers/net/ethernet/mellanox/mlx4/en_rx.c drivers/net/ethernet/mellanox/mlx4/en_tx.c drivers/net/ethernet/mellanox/mlx4/mlx4_en.h+13 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: napi: addition of napi_defer_hard_irqs

This patch series augments gro_glush_timeout feature with napi_defer_hard_irqs

As extensively described in first patch changelog, this can suppresss the chit-chat traffic between NIC and host to signal interrupts and re-arming them, since this can be an issue on high speed NIC with many queues.

The last patch in this series converts mlx4 TX completion to napi_complete_done(), to enable this new mechanism.

Eric Dumazet (3):
net: napi: add hard irqs deferral feature
net: napi: use READ_ONCE()/WRITE_ONCE() net/mlx4_en: use napi_complete_done() in TX completion

 drivers/net/ethernet/mellanox/mlx4/en_rx.c   |  2 +-
 drivers/net/ethernet/mellanox/mlx4/en_tx.c   | 20 +++++++-------
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h |  4 +--
 include/linux/netdevice.h                    |  2 ++
 net/core/dev.c                               | 29 ++++++++++++--------
 net/core/net-sysfs.c                         | 20 +++++++++++++-
 6 files changed, 52 insertions(+), 25 deletions(-)
Signature · 1 line
2.26.1.301.g55bc3eb7cb9-goog