RE: [PATCH] common/mlx5: fix obtaining IB device in LAG mode

2023-07-03 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Friday, June 30, 2023 3:42 PM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > ; Raslan Darawsheh > Cc: dev@dpdk.org; Rongwei Liu ; sta...@dpdk.org > Subject: [PATCH] common/mlx5: fix obtaini

[PATCH] common/mlx5: fix obtaining IB device in LAG mode

2023-06-30 Thread Bing Zhao
In hardware LAG mode, both PFs are in the same E-Switch domain but the VFs are in the other domains. Moreover, VF has its own dedicated IB device. When probing a VF created on the 1st PF, usually its PCIe address is the same as the PF's except the function part. Then there would be some wrong VF B