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
| ||
|
Message-Id: <20170526080336.32689-1-jakub.kicinski@netronome.com> Date: Fri, 26 May 2017 01:03:30 -0700 From: Jakub Kicinski <jakub.kicinski@...ronome.com> To: netdev@...r.kernel.org Cc: jiri@...nulli.us, oss-drivers@...ronome.com, Jakub Kicinski <jakub.kicinski@...ronome.com> Subject: [PATCH net-next v2 0/6] nfp: devlink port implementation Hi! This series adds basic devlink support. The operations we can perform are port show and port split/unsplit. v2: Register devlink first, and then register all the ports. Port {,un}split searches the port list, which is protected by a mutex. If port split is requested before ports are registered we will simply not find the port and return -EINVAL. Jakub Kicinski (5): nfp: move mutex init out of net code nfp: add helper for cleaning up vNICs nfp: register ports as devlink ports nfp: calculate total port lanes for split nfp: support port splitting via devlink Simon Horman (1): nfp: add devlink support drivers/net/ethernet/netronome/nfp/Makefile | 1 + drivers/net/ethernet/netronome/nfp/nfp_devlink.c | 181 +++++++++++++++++++++ drivers/net/ethernet/netronome/nfp/nfp_main.c | 28 +++- drivers/net/ethernet/netronome/nfp/nfp_main.h | 3 + drivers/net/ethernet/netronome/nfp/nfp_net_main.c | 61 ++++--- drivers/net/ethernet/netronome/nfp/nfp_port.c | 19 +++ drivers/net/ethernet/netronome/nfp/nfp_port.h | 12 ++ .../net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h | 3 + .../ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c | 11 +- 9 files changed, 289 insertions(+), 30 deletions(-) create mode 100644 drivers/net/ethernet/netronome/nfp/nfp_devlink.c -- 2.11.0
Powered by blists - more mailing lists