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)
commit6abd224b2554cbbb31db62a8b4de7506df553f38
tree226f3063e236fe0c698619e8cdf9f8982aefbafd
parent25528d90f541fa23cb7b862a7e9dc0b9c44d9adc
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