From: Eric Dumazet <edumazet@google.com>
To: "David S . Miller" <davem@davemloft.net>
Cc: netdev <netdev@vger.kernel.org>,
Eric Dumazet <edumazet@google.com>,
Luigi Rizzo <lrizzo@google.com>,
Eric Dumazet <eric.dumazet@gmail.com>
Subject: [PATCH net-next 0/3] net: napi: addition of napi_defer_hard_irqs
Date: Wed, 22 Apr 2020 09:13:26 -0700 [thread overview]
Message-ID: <20200422161329.56026-1-edumazet@google.com> (raw)
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(-)
--
2.26.1.301.g55bc3eb7cb9-goog
next reply other threads:[~2020-04-22 16:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-22 16:13 Eric Dumazet [this message]
2020-04-22 16:13 ` [PATCH net-next 1/3] net: napi: add hard irqs deferral feature Eric Dumazet
2020-05-02 14:56 ` Julian Wiedmann
2020-05-02 15:40 ` Eric Dumazet
2020-05-02 16:10 ` Julian Wiedmann
2020-05-02 16:24 ` Eric Dumazet
2020-05-02 23:45 ` David Miller
2020-05-04 15:25 ` Julian Wiedmann
2020-05-04 15:33 ` Eric Dumazet
2020-04-22 16:13 ` [PATCH net-next 2/3] net: napi: use READ_ONCE()/WRITE_ONCE() Eric Dumazet
2020-04-22 16:13 ` [PATCH net-next 3/3] net/mlx4_en: use napi_complete_done() in TX completion Eric Dumazet
2020-04-23 19:43 ` [PATCH net-next 0/3] net: napi: addition of napi_defer_hard_irqs David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200422161329.56026-1-edumazet@google.com \
--to=edumazet@google.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=lrizzo@google.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).