ethdev: support representor id as iterator filter
authorThomas Monjalon <thomas@monjalon.net>
Mon, 22 Oct 2018 13:15:29 +0000 (15:15 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:06 +0000 (22:14 +0200)
commita7d3c6271d558e881e3ba1304e9f8683aca944e4
tree24d289724f50dcd9e481b9356d385a8efa34add4
parent7f07e7d794d62830faee7cc90486acbe4a0740b4
ethdev: support representor id as iterator filter

The representor id is added in rte_eth_dev_data in order to be able
to match a port with its representor id in devargs.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/i40e/i40e_vf_representor.c
drivers/net/ixgbe/ixgbe_vf_representor.c
drivers/net/mlx5/mlx5.c
lib/librte_ethdev/rte_class_eth.c
lib/librte_ethdev/rte_ethdev_core.h