Displaying 1 result from an estimated 1 matches for "arphrd_infiniband".
2012 Jul 31
1
Request: Infiniband Support in ipconfig
...nd 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.
Regards,
-Wes