Re: [dpdk-dev] [PATCH v7 4/9] ethdev: Add port representor device flag

2018-04-25 Thread Thomas Monjalon
25/04/2018 14:17, Doherty, Declan: > On 24/04/2018 8:37 PM, Thomas Monjalon wrote: > > I think dev_capa and dev_flags are the same thing. > > They could be merged. > > Do you have a preference for which one to keep, as dev_flags within > rte_eth_dev_data is widely used by PMDs and passing this sam

Re: [dpdk-dev] [PATCH v7 4/9] ethdev: Add port representor device flag

2018-04-25 Thread Doherty, Declan
On 24/04/2018 8:37 PM, Thomas Monjalon wrote: 16/04/2018 15:06, Declan Doherty: 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.

Re: [dpdk-dev] [PATCH v7 4/9] ethdev: Add port representor device flag

2018-04-24 Thread Thomas Monjalon
16/04/2018 15:06, Declan Doherty: > 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. [...] > --- a/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH v7 4/9] ethdev: Add port representor device flag

2018-04-16 Thread Declan Doherty
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 --- lib/librte_ether/rte_ethdev.c | 2 ++ lib/librt