diff options
author | Simon Horman <simon.horman@netronome.com> | 2017-05-26 11:03:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-26 18:01:48 +0300 |
commit | 1851f93fd2ee3dc0f3a6813385010a5d7ec1aabd (patch) | |
tree | fae82747ec830276a28742b979ff91bc3a2088f1 /drivers/net/ethernet/netronome/nfp/Makefile | |
parent | 346cfe8482bf491f6e3e88ea89bc0d6be2b02efd (diff) | |
download | linux-1851f93fd2ee3dc0f3a6813385010a5d7ec1aabd.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/Makefile')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/Makefile b/drivers/net/ethernet/netronome/nfp/Makefile index e8333283ada6..95f6b97b5d71 100644 --- a/drivers/net/ethernet/netronome/nfp/Makefile +++ b/drivers/net/ethernet/netronome/nfp/Makefile @@ -15,6 +15,7 @@ nfp-objs := \ nfpcore/nfp_rtsym.o \ nfpcore/nfp_target.o \ nfp_app.o \ + nfp_devlink.o \ nfp_main.o \ nfp_net_common.o \ nfp_net_ethtool.o \ |