[dpdk-stable] [PATCH] [18.11] net/mlx5: fix mlx5 devices port naming

Kevin Traynor ktraynor at redhat.com
Fri Jul 3 12:27:03 CEST 2020


On 02/07/2020 15:37, Viacheslav Ovsiienko wrote:
> The newer kernel changed the physical port naming for mlx5 devices.
> This patch provides the integrated support for new naming recognition.
> 
> The following port naming formats are supported:
> 
>   - missing physical port name (no sysfs/netlink key) at all,
>     master is assumed
> 
>   - decimal digits (for example "12"), representor is
>     assumed, the value is the index of attached VF
> 
>   - "p" followed by decimal digits, for example "p2", master
>     is assumed
> 
> Switchdev mode (representors and master) are recognized and
> supported only for older kernels (<= 4.19) and OFED <= 4.4,
> without multiport IB device support. Adding the multiport
> IB device support would require adding the entire feature
> and shared context approach would be introduced.
> 
> Fixes: 26c08b979d26 ("net/mlx5: add port representor awareness")
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>

Added Reported tags and applied. Thanks Ali for finding this issue and
Slava for fixing it.



More information about the stable mailing list