[dpdk-dev] [PATCH] net/mlx5: fix port domain_id initialization

Thomas Monjalon thomas at monjalon.net
Tue Aug 3 14:34:41 CEST 2021


Title proposal:
net/mlx5: fix port initialization of switch domain

02/08/2021 16:55, Gregory Etelson:
> All active ports that belong to the same E-switch share domain_id
> value.
> Port initialization procedure searches through a database for existing
> port with matching properties. New domain_id allocated if match was
> not located. Otherwise, new port inherits existing domain_id.
> 
> Port initialization did not pass enough info to search procedure to
> find existing matches. Therefore, each port was created with a private
> domain_id value. As the result, port_id flow action failed because it
> could not match ports in a rule to E-switch.
> 
> The patch adds dpdk_dev with port properties to device search.
> 
> Fixes: 56bb3c84e982 ("net/mlx5: reduce PCI dependency")
> 
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Applied, thanks.




More information about the dev mailing list