linux_dsm_epyc7002/drivers/net/ethernet/netronome/nfp
Simon Horman 1851f93fd2 nfp: add devlink support
Add initial devlink support.  This patch simply switches allocation
of per-adapter structure to devlink's priv and register devlink
with empty ops table.  See following patches for implementation
of particular ops.

We should now clear the app pointer on exit, this is how devlink
callbacks will know app is not initialized.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-26 11:01:48 -04:00
..
nfpcore nfp: add nfp_cppcore_pcie_unit() helper 2017-05-22 14:59:02 -04:00
Makefile nfp: add devlink support 2017-05-26 11:01:48 -04:00
nfp_app.c nfp: introduce very minimal nfp_app 2017-05-22 14:59:04 -04:00
nfp_app.h nfp: introduce very minimal nfp_app 2017-05-22 14:59:04 -04:00
nfp_asm.h nfp: add BPF to NFP code translator 2016-09-21 19:50:02 -04:00
nfp_bpf_jit.c nfp: replace -ENOTSUPP with -EOPNOTSUPP 2017-04-30 22:37:00 -04:00
nfp_bpf_verifier.c nfp: add support for offload of XDP programs 2016-11-04 14:56:16 -04:00
nfp_bpf.h bitfield.h: add FIELD_FIT() helper 2017-02-10 15:52:24 -05:00
nfp_devlink.c nfp: add devlink support 2017-05-26 11:01:48 -04:00
nfp_main.c nfp: add devlink support 2017-05-26 11:01:48 -04:00
nfp_main.h nfp: add devlink support 2017-05-26 11:01:48 -04:00
nfp_net_common.c nfp: move refresh tracking into the port structure 2017-05-22 14:59:05 -04:00
nfp_net_ctrl.h nfp: add CHECKSUM_COMPLETE support 2017-05-16 12:59:03 -04:00
nfp_net_debugfs.c nfp: rename netdev/port to vNIC 2017-05-22 14:59:03 -04:00
nfp_net_ethtool.c nfp: refresh port state before reporting autonegotiation 2017-05-22 14:59:06 -04:00
nfp_net_main.c nfp: add devlink support 2017-05-26 11:01:48 -04:00
nfp_net_offload.c nfp: replace -ENOTSUPP with -EOPNOTSUPP 2017-04-30 22:37:00 -04:00
nfp_net.h nfp: move refresh tracking into the port structure 2017-05-22 14:59:05 -04:00
nfp_netvf_main.c nfp: rename netdev/port to vNIC 2017-05-22 14:59:03 -04:00
nfp_port.c nfp: refresh port state before reporting autonegotiation 2017-05-22 14:59:06 -04:00
nfp_port.h nfp: refresh port state before reporting autonegotiation 2017-05-22 14:59:06 -04:00