ethdev: add port representor device flag
authorDeclan Doherty <declan.doherty@intel.com>
Thu, 26 Apr 2018 10:41:00 +0000 (11:41 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:56 +0000 (18:00 +0100)
commit736b30ebf27e1498d19ad6701a876e97dff90762
treef0124d08fcf90539d69808e1492f1a4169525dd7
parente489007a411cb502987e0a941f55342d02afd8af
ethdev: add port representor device flag

Add new device flag to specify that an ethdev port is a port
representor.  Extend rte_eth_dev_info structure to expose device flags
to the user which enables applications to discover if a port is a
representor port.

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h