Thread (7 messages) 7 messages, 2 authors, 2020-01-17

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

From: Ferruh Yigit <hidden>
Date: 2020-01-17 13:20:32

On 1/16/2020 7:38 PM, Ferruh Yigit wrote:
On 1/16/2020 4:19 PM, Viacheslav Ovsiienko wrote:
quoted
The maximum amount of unique swutching domain is supposed
to be equal RTE_MAX_ETHPORTS. Current implementation allows
to allocate only RTE_MAX_ETHPORTS-1 domains.

The definition of RTE_ETH_DEV_SWITCH_DOMAIN_ID_INVALID is
changed from 0 to UINT16_MAX, the rte_eth_dev_info_get is
updated to initialize dev_ibfo structure accordingly.

Fixes: ce9250406323 ("ethdev: add switch domain allocator")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <redacted>

---
v1: - http://patches.dpdk.org/patch/64011/
v2: - RTE_ETH_DEV_SWITCH_DOMAIN_ID_INVALID is defined as UINT16_MAX
    - valid domain range to allocate: 0..RTE_MAX_ETHPORTS-1
Reviewed-by: Ferruh Yigit <redacted>
Applied to dpdk-next-net/master, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help