On 6/19/2024 10:51 AM, Chaoyong He wrote:
> The check of 'RTE_ETH_DEV_SWITCH_DOMAIN_ID_INVALID' cause the following
> call of 'rte_eth_switch_domain_alloc()' never trigger.
>
> Fix this by just remove the check logic.
>
> Fixes: e1124c4f8a45 ("net/nfp: add flower representor framework")
> Cc: [email protected]
>
> Signed-off-by: Chaoyong He <[email protected]>
> Reviewed-by: Long Wu <[email protected]>
> Reviewed-by: Peng Zhang <[email protected]>
>Applied to dpdk-next-net/main, thanks.

