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

2020-09-23 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Xueming Li > Sent: Tuesday, September 15, 2020 6:06 AM > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; Asaf Penso ; Xueming(Steven) Li > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: u

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

2020-09-21 Thread Slava Ovsiienko
> -Original Message- > From: Xueming Li > Sent: Tuesday, September 15, 2020 6:06 > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; Asaf Penso ; Xueming(Steven) Li > ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: use bond index for netdev operations > > In case of bonding, device

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

2020-09-14 Thread Xueming Li
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 i