[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1479233715-9905-1-git-send-email-edumazet@google.com>
Date: Tue, 15 Nov 2016 10:15:10 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Willem de Bruijn <willemb@...gle.com>,
Adam Belay <abelay@...gle.com>, Zach Brown <zach.brown@...com>,
Tariq Toukan <tariqt@...lanox.com>,
Yuval Mintz <Yuval.Mintz@...ium.com>,
Ariel Elior <ariel.elior@...ium.com>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: [PATCH net-next 0/5] net: busy-poll: allow preemption and other optimizations
It is time to have preemption points in sk_busy_loop() and improve
its scalability.
Also napi_complete() and friends can tell drivers when it is safe to
not re-enable device interrupts, saving some overhead under
high busy polling.
mlx4 and bnx2x are changed accordingly, to show how this busy polling
status can be exploited by drivers.
Next steps will implement Zach Brown suggestion, where NAPI polling
would be enabled all the time for some chosen queues.
This is needed for efficient epoll() support anyway.
Eric Dumazet (5):
net: busy-poll: allow preemption in sk_busy_loop()
net: busy-poll: remove need_resched() from sk_can_busy_loop()
net: busy-poll: return busypolling status to drivers
net/mlx4_en: use napi_complete_done() return value
bnx2x: switch to napi_complete_done()
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 15 ++--
drivers/net/ethernet/mellanox/mlx4/en_rx.c | 4 +-
include/linux/netdevice.h | 17 +++-
include/net/busy_poll.h | 5 +-
net/core/dev.c | 110 +++++++++++++++++++-----
5 files changed, 113 insertions(+), 38 deletions(-)
--
2.8.0.rc3.226.g39d4020
Powered by blists - more mailing lists