Conversation
ATTR{type} 1 means ARPHRD_ETHER, 32 means ARPHRD_INFINIBAND.
InfiniBand is supported in BIOS name, so add udev rules support.
|
@smlpan can you please take a look at this? |
|
@superm1 @smlpan BIOS device is correct, so infiniband is supported by biosdevname. But the udev rule only support Ethernet. |
|
Thanks for the comments @LenovoOpenLab . @smlpan or @jharg will need to confirm, I was just trying to loop in the right people for reviewing it. |
|
Do we need to rename InfiniBand device interfaces with Ethernet device interface names? i think it may confuse or break five tools by treating InfiniBand interface as Ethernet interface |
|
@prabhakarpujeri What tools may be effected? |
|
I found treating InfiniBand interface as Ethernet interface really causes problems with infiniband tools such as ibdev2netdev. So we need to rename infiniband card. |
|
even redhat certification tools try to run Ethernet tests on infiniband and its fails. primary intention of biosdevname is for ethernet interface |
|
What we see here is an Infiniband PCIe card and the naming looks fine (if that is what the expected output is). But all this was manual calls till now. Opening the gates of biosdevname through udev for Infiniband will break biosdevname itself. My question boils down to two things:
|
ATTR{type} 1 means ARPHRD_ETHER, 32 means ARPHRD_INFINIBAND.
InfiniBand is supported in BIOS name, so add udev rules support.