All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/9] net: extend busy polling support
@ 2015-11-17 13:56 Eric Dumazet
  2015-11-17 13:56 ` [PATCH net-next 1/9] net: better skb->sender_cpu and skb->napi_id cohabitation Eric Dumazet
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Eric Dumazet @ 2015-11-17 13:56 UTC (permalink / raw)
  To: David S . Miller
  Cc: netdev, Eli Cohen, Amir Vadai, Ariel Elior, Willem de Bruijn,
	Rida Assaf, Eric Dumazet, Eric Dumazet

This patch series extends busy polling range to tunnels devices,
and allows NAPI drivers to support busy polling with trivial changes.

No need to provide ndo_busy_poll() method and extra synchronization
between ndo_busy_poll() and normal napi->poll() method. This was proven
very difficult and bug prone.

mlx5 driver is changed to support busy polling using this new method,
and a second mlx5 patch adds napi_complete_done() support and proper
SNMP accounting.

bnx2x and mlx4 drivers are converted to new infrastructure,
reducing kernel bloat and improving performance.

Eric Dumazet (9):
  net: better skb->sender_cpu and skb->napi_id cohabitation
  mlx4: mlx4_en_low_latency_recv() called with BH disabled
  net: un-inline sk_busy_loop()
  net: allow BH servicing in sk_busy_loop()
  net: network drivers no longer need to implement ndo_busy_poll()
  mlx5: add busy polling support
  mlx5: support napi_complete_done()
  bnx2x: remove bnx2x_low_latency_recv() support
  mlx4: remove mlx4_en_low_latency_recv()

 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h       | 113 -------------------
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c   |  46 +-------
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h   |   7 --
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c  |   3 -
 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c   |  17 ---
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c    |  40 -------
 drivers/net/ethernet/mellanox/mlx4/en_rx.c        |  15 +--
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h      | 126 ----------------------
 drivers/net/ethernet/mellanox/mlx5/core/en.h      |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c |   6 ++
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c   |  16 +--
 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c |  11 +-
 include/linux/netdevice.h                         |   9 --
 include/linux/skbuff.h                            |   3 -
 include/net/busy_poll.h                           |  45 +-------
 net/core/dev.c                                    |  91 ++++++++++++----
 16 files changed, 98 insertions(+), 452 deletions(-)

-- 
2.6.0.rc2.230.g3dd15c0

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-11-17 17:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17 13:56 [PATCH net-next 0/9] net: extend busy polling support Eric Dumazet
2015-11-17 13:56 ` [PATCH net-next 1/9] net: better skb->sender_cpu and skb->napi_id cohabitation Eric Dumazet
2015-11-17 17:42   ` Alexei Starovoitov
2015-11-17 13:56 ` [PATCH net-next 2/9] mlx4: mlx4_en_low_latency_recv() called with BH disabled Eric Dumazet
2015-11-17 13:56 ` [PATCH net-next 3/9] net: un-inline sk_busy_loop() Eric Dumazet
2015-11-17 14:15   ` Eric Dumazet
2015-11-17 13:56 ` [PATCH net-next 4/9] net: allow BH servicing in sk_busy_loop() Eric Dumazet
2015-11-17 13:57 ` [PATCH net-next 5/9] net: network drivers no longer need to implement ndo_busy_poll() Eric Dumazet
2015-11-17 15:14   ` Eliezer Tamir
2015-11-17 15:33     ` Eric Dumazet
2015-11-17 16:03       ` Eric Dumazet
2015-11-17 13:57 ` [PATCH net-next 6/9] mlx5: add busy polling support Eric Dumazet
2015-11-17 13:57 ` [PATCH net-next 7/9] mlx5: support napi_complete_done() Eric Dumazet
2015-11-17 13:57 ` [PATCH net-next 8/9] bnx2x: remove bnx2x_low_latency_recv() support Eric Dumazet
2015-11-17 13:57 ` [PATCH net-next 9/9] mlx4: remove mlx4_en_low_latency_recv() Eric Dumazet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.