[ofa-general] Re: [PATCH 1 of 2] net-mlx4: Show board_id string in sysfs under the pci device

Roland Dreier rdreier at cisco.com
Wed Jun 20 13:36:36 PDT 2007


 > Show the board_id string in sysfs under the pci device (not under the infiniband
 > device, as with other HCAs). ConnectX will also have an enet device (which will
 > not be under the infiniband class) and users of this device must also have 
 > access to the board_id string.
 > 
 > This requires a small modification in the libibverbs example "ibv_devinfo"; the app
 > must also look under the pci device for the board_id if it does not find it 
 > directly under the infiniband device.

Maybe it would be cleaner to have the IB device create a symlink back
to the main board_id file, so we don't have to change userspace?  (I
haven't looked at how easy this would be to do)

 - R.



More information about the general mailing list