lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1447768624-14962-1-git-send-email-edumazet@google.com>
Date:	Tue, 17 Nov 2015 05:56:55 -0800
From:	Eric Dumazet <edumazet@...gle.com>
To:	"David S . Miller" <davem@...emloft.net>
Cc:	netdev <netdev@...r.kernel.org>, Eli Cohen <eli@...lanox.com>,
	Amir Vadai <amirv@...lanox.com>,
	Ariel Elior <ariel.elior@...gic.com>,
	Willem de Bruijn <willemb@...gle.com>,
	Rida Assaf <rida@...gle.com>,
	Eric Dumazet <edumazet@...gle.com>,
	Eric Dumazet <eric.dumazet@...il.com>
Subject: [PATCH net-next 0/9] net: extend busy polling support

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

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ