]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: add basic SR-IOV ndo functions to representors
authorSimon Horman <simon.horman@netronome.com>
Fri, 25 Aug 2017 04:31:50 +0000 (21:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Aug 2017 02:24:58 +0000 (19:24 -0700)
commite419894a0fd415caac4cce3f86ac7a2159cc075c
tree226f3063e236fe0c698619e8cdf9f8982aefbafd
parent913ee79d220df64f49c58c9c83a9872457b4ca46
nfp: add basic SR-IOV ndo functions to representors

Add basic ndo_set/get_vf to support SR-IOV on all types
of port representors.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c