Bug 147396

Summary: [RFE] teach ifconfig about infiniband
Product: [Fedora] Fedora Reporter: Tom Duffy <thomas.duffy.99>
Component: net-toolsAssignee: Radek Vokál <rvokal>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: roland
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-09 09:20:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch that teaches ifconfig about infiniband none

Description Tom Duffy 2005-02-07 21:03:34 UTC
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

Comment 1 Tom Duffy 2005-02-07 21:06:00 UTC
Created attachment 110754 [details]
patch that teaches ifconfig about infiniband

Comment 2 Radek Vokál 2005-02-08 14:11:40 UTC
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. 

Comment 3 Radek Vokál 2005-02-08 14:12:48 UTC
s/module/hearder

Comment 4 Tom Duffy 2005-02-08 15:05:58 UTC
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.

Comment 5 Tom Duffy 2005-02-08 15:11:49 UTC
Some how I fat fingered benl off of the qa contact on the bug.

Comment 6 Radek Vokál 2005-02-09 09:20:37 UTC
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. 

Comment 7 Tom Duffy 2005-02-09 16:33:13 UTC
I tested this version and it is working as intended.  Thanks.