From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Description of problem: Please teach ifconfig about infiniband Version-Release number of selected component (if applicable): net-tools-1.60-43
Created attachment 110754 [details] patch that teaches ifconfig about infiniband
Looks interesting. I will check it closer, just there's one think. I don't know what the current status of if_infiniband.h glibc kernel module. Seems that it's still not included there.
s/module/hearder
That is true, if_infiniband.h is in 2.6.11-rc right now. If you want me to open another bug to put that header in glibc-kernheaders and make this dependent on that one, I can do that. But, the only real thing you need to pick up from that is: #define INFINIBAND_ALEN 20 which you could define in ib.c (in the ifconfig package) until such a time as it is available in the headers.
Some how I fat fingered benl off of the qa contact on the bug.
Ok, I've changed the patch and included it in net-tools-1.60-45. I hope this works cos I don't have access to appropriate hardware ;) Would be great to have here a kind of confirmation that it works fine .. Opening feature request for if_infiniband.h in glibc-kernheaders is IMHO good idea.
I tested this version and it is working as intended. Thanks.