Re: [dpdk-dev] [PATCH v7 7/9] ethdev: add switch domain allocator

2018-04-24 Thread Thomas Monjalon
16/04/2018 15:06, Declan Doherty: > +/** > + * Array of switch domains available for allocation. Array is sized to > + * RTE_MAX_ETHPORTS elements as there cannot be more active switch domains > than > + * ethdev ports in a single process. > + */ > +struct rte_eth_dev_switch { > + enum rte_eth

Re: [dpdk-dev] [PATCH v7 7/9] ethdev: add switch domain allocator

2018-04-20 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Declan Doherty > Sent: Monday, April 16, 2018 2:06 PM > To: dev@dpdk.org > Cc: Adrien Mazarguil ; Yigit, Ferruh > ; Thomas Monjalon ; > Shahaf Shuler ; Doherty, Declan > > Subjec

[dpdk-dev] [PATCH v7 7/9] ethdev: add switch domain allocator

2018-04-16 Thread Declan Doherty
Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 53 + lib/librte_ether/rte_ethdev_driver.h| 39 lib/librte_ether/rte_ethdev_version.map | 3 ++ 3 files changed, 95 insertions(+) diff --git a/lib/librte_ethe