[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170526082532.GC1898@nanopsycho>
Date: Fri, 26 May 2017 10:25:32 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: netdev@...r.kernel.org, oss-drivers@...ronome.com
Subject: Re: [PATCH net-next v2 0/6] nfp: devlink port implementation
Fri, May 26, 2017 at 10:03:30AM CEST, jakub.kicinski@...ronome.com wrote:
>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.
Looks fine to me now. Thanks!
>
>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