diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-05-22 10:59:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-22 14:59:04 -0400 |
commit | eb488c26d713b2a9ebba6c12bbefd04e01197693 (patch) | |
tree | bc4562458f046d11a1ea2e2b49de574c259c359b /drivers/net/ethernet/netronome/nfp/Makefile | |
parent | d88b0a233fafa4abda3b3aa5a69d46574e4c793e (diff) | |
download | blackbird-op-linux-eb488c26d713b2a9ebba6c12bbefd04e01197693.tar.gz blackbird-op-linux-eb488c26d713b2a9ebba6c12bbefd04e01197693.zip |
nfp: introduce nfp_port
Encapsulate port information into struct nfp_port. nfp_port will
soon be extended to contain devlink_port information. It also makes
it easier to reuse port-related code between vNICs and representors.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/Makefile b/drivers/net/ethernet/netronome/nfp/Makefile index a6b9c4dcbe12..e8333283ada6 100644 --- a/drivers/net/ethernet/netronome/nfp/Makefile +++ b/drivers/net/ethernet/netronome/nfp/Makefile @@ -20,7 +20,8 @@ nfp-objs := \ nfp_net_ethtool.o \ nfp_net_offload.o \ nfp_net_main.o \ - nfp_netvf_main.o + nfp_netvf_main.o \ + nfp_port.o ifeq ($(CONFIG_BPF_SYSCALL),y) nfp-objs += \ |