Hal,

IBAT's resolve_ip function assumes that network interfaces are 
consecutively numbered, see at.c line 1691.

One of my machines ended up with the following configuration:

# ls /sys/class/net/
eth0  eth1  ib0  ib1  lo  sit0
# cat /sys/class/net/lo/ifindex 
1
# cat /sys/class/net/eth0/ifindex 
2
# cat /sys/class/net/eth1/ifindex 
3
# cat /sys/class/net/sit0/ifindex 
4
# cat /sys/class/net/ib0/ifindex 
9
# cat /sys/class/net/ib1/ifindex 
10

I'm not sure how this happened.

As a result, the for loop on line 1691 exited before finding an IPoIB 
device.

A quick reboot fixed the problem.

Is there a better way to enumerate all of the network inferaces? I 
believe that is what this for loop is attempting to accomplish.

james
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to