[dpdk-dev] [PATCH] net/mlx5: use bond index for netdev operations

Slava Ovsiienko viacheslavo at nvidia.com
Mon Sep 21 11:29:30 CEST 2020


> -----Original Message-----
> From: Xueming Li <xuemingl at nvidia.com>
> Sent: Tuesday, September 15, 2020 6:06
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org; Asaf Penso <asafp at nvidia.com>; Xueming(Steven) Li
> <xuemingl at nvidia.com>; stable at dpdk.org
> Subject: [PATCH] net/mlx5: use bond index for netdev operations
> 
> In case of bonding, device ifindex was detected as the PF ifindex, so any
> operation using ifindex applied to PF instead of the bond device.
> These operations includes MTU get/set, up/down and mac address
> manipulation, etc.
> 
> This patch detects bond interface ifindex and name for PF that join a bond
> interface, uses it by default for netdev operations.
> 
> Cc: stable at dpdk.org
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>

Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>


More information about the dev mailing list