Re: [dpdk-dev] [PATCH] ethdev: fix switching domain allocation

2020-01-15 Thread Ferruh Yigit
On 1/15/2020 8:50 AM, Slava Ovsiienko wrote: >> -Original Message- >> From: Ferruh Yigit >> Sent: Tuesday, January 14, 2020 17:32 >> To: Slava Ovsiienko ; dev@dpdk.org >> Cc: Thomas Monjalon ; declan.dohe...@intel.com; >> sta...@dpdk.org >> Subject: Re: [PATCH] ethdev: fix switching domain

Re: [dpdk-dev] [PATCH] ethdev: fix switching domain allocation

2020-01-15 Thread Slava Ovsiienko
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, January 14, 2020 17:32 > To: Slava Ovsiienko ; dev@dpdk.org > Cc: Thomas Monjalon ; declan.dohe...@intel.com; > sta...@dpdk.org > Subject: Re: [PATCH] ethdev: fix switching domain allocation > > On 12/19/2019 12:47 PM, Viacheslav

Re: [dpdk-dev] [PATCH] ethdev: fix switching domain allocation

2020-01-14 Thread Ferruh Yigit
On 12/19/2019 12:47 PM, Viacheslav Ovsiienko wrote: > The maximum amount of unique switching domain is supposed > to be equal to RTE_MAX_ETHPORTS. The current implementation > allows to allocate only RTE_MAX_ETHPORTS-1 domains. > > Fixes: ce9250406323 ("ethdev: add switch domain allocator") > Cc:

[dpdk-dev] [PATCH] ethdev: fix switching domain allocation

2019-12-19 Thread Viacheslav Ovsiienko
The maximum amount of unique switching domain is supposed to be equal to RTE_MAX_ETHPORTS. The current implementation allows to allocate only RTE_MAX_ETHPORTS-1 domains. Fixes: ce9250406323 ("ethdev: add switch domain allocator") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- lib/l