On Wed, Oct 20, 2021 at 10:27:08AM +0000, Edward Srouji wrote: > I will modify the base test file to use verbs API instead of accessing the sysfs directly. > I wanted to do that using ibv_query_gid_ex to get the netdev ifindex, but in case of IB (IPoIB) the netdex is just 0 and not updated accordingly. > Not sure if it's a bug or by design (looks like a bug for me). > I'll check that and update accordingly. IB does not have IP based GIDs, so it is not a bug. To find the ipoib interface you need to scan all the ipoib devices and match them to their IB devices, there can be many due to pkeys. Jason