[klibc] Request: Infiniband Support in ipconfig
Wesley Brown
wesbrown18 at gmail.com
Wed Aug 1 09:44:08 PDT 2012
That's going to be a little tricky, but I'll see what I can do. Obviously while booting, the system isn't in a real state to be able to capture data, and Infiniband doesn't really do broadcasts like Ethernet, per se.
I may be able to get a capture of Infiniband ARP requests, if that helps? Or I can run ipconfig on an up and running system.
-Wes
On Aug 1, 2012, at 12:31 PM, "H. Peter Anvin" <hpa at zytor.com> wrote:
> On 07/31/2012 12:26 PM, Wesley Brown wrote:
>> When attempting to boot a system using Infiniband interfaces, ipconfig does not recognize Infiniband NICs as having valid MAC addresses, so they are silently ignored. As I would like to be able to netboot using Infiniband, I have patched ipconfig to support Infiniband interfaces.
>>
>> Fortunately, it's a pretty simple and straightforward patch. Below is the patch for your consideration.
>>
>> --- usr/kinit/ipconfig/netdev.c 2012-07-31 15:13:12.744747261 -0400
>> +++ usr/kinit/ipconfig/netdev-ib.c 2012-07-31 15:16:26.468087750 -0400
>> @@ -220,6 +220,9 @@
>> case ARPHRD_LOOPBACK:
>> dev->hwlen = 0;
>> break;
>> + case ARPHRD_INFINIBAND:
>> + dev->hwlen = 20;
>> + break;
>> default:
>> return -1;
>> }
>>
>> As you can see, it simply returns the proper length of the IB interface's MAC address.
>>
>
> Any way you could get me a packet capture of your Infiniband boot session?
>
> -hpa
>
>
> --
> H. Peter Anvin, Intel Open Source Technology Center
> I work for Intel. I don't speak on their behalf.
>
More information about the klibc
mailing list