I need help with the rdmacm tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The tests in tests/test_rdmacm.py for rxe are failing because they are not able to compute an IP address for the rxe ports.

The python code depends on having the directory /sys/class/infiniband/<IB_DEVICE>/device/net present. But rxe does not have this
directory. Apparently it would find a list of network devices in this directory and once it has that it can succeed. If I hack the
code in get_net_name in base.py to just return the Ethernet device rxe is using ("enp5s0") the tests all pass.

There are two ways to go forward here. I can figure out how to make rdma-core to create the missing directory or if that is not
correct I can figure out how to add another way for the python code to find the netdev for rxe.

I need help on which way to proceed and any hints how to fix this would be very helpful.

Bob



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux