net/ixgbe: add support for representor ports
authorDeclan Doherty <declan.doherty@intel.com>
Thu, 26 Apr 2018 10:41:05 +0000 (11:41 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:57 +0000 (18:00 +0100)
commitcf80ba6e2038a54b6c5ba62ce4200234f5aa3880
treed1ab6f8f22f3de12511b74cf7e03f115a7fab004
parente0cb96204b71a62b4bcfc77682edc72d5381be4e
net/ixgbe: add support for representor ports

Add support for virtual function representor ports to the ixgbe PF
driver. When SR-IOV virtual functions devices are enabled a
corresponding representor port for each VF can be enabled in the
process in which the ixgbe PMD is running within, by specifying the
representor devargs with the list of VF ports that representors
are to be created for.

An example of the devargs which would create VF representor for virtual
functions 0,2,4,5,6 and 7 is:

-w DBDF,representor=[0,2,4-7]

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
Signed-off-by: Remy Horton <remy.horton@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/nics/ixgbe.rst
drivers/net/ixgbe/Makefile
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.h
drivers/net/ixgbe/ixgbe_pf.c
drivers/net/ixgbe/ixgbe_vf_representor.c [new file with mode: 0644]
drivers/net/ixgbe/meson.build