]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
nfp: register ports as devlink ports
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 26 May 2017 08:03:34 +0000 (01:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 15:01:49 +0000 (11:01 -0400)
commit53e7a08f0da16eb67daf616405b0579e98565cdc
treec3adadc95bf6fdee31f019c734c8edce8c3f74d0
parent71f8a116b5c4b4957c56a2f1a5bd2a7e19d6d400
nfp: register ports as devlink ports

Extend nfp_port to contain devlink_port structures.  Register the
ports to allow users inspecting device ports.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_devlink.c
drivers/net/ethernet/netronome/nfp/nfp_net_main.c
drivers/net/ethernet/netronome/nfp/nfp_port.h