]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Infinband requires longer link-layer addresses and headers than Ethernet.
authorMichael Brown <mcb30@etherboot.org>
Fri, 21 Sep 2007 00:23:57 +0000 (01:23 +0100)
committerMichael Brown <mcb30@etherboot.org>
Fri, 21 Sep 2007 00:23:57 +0000 (01:23 +0100)
src/include/gpxe/netdevice.h

index d82c6d8f44741b339ea4152face1cec0ccbf8503..2cbd0efb1cdb62a7b5289a281dc4c0bad715c951 100644 (file)
@@ -19,10 +19,10 @@ struct ll_protocol;
 struct device;
 
 /** Maximum length of a link-layer address */
-#define MAX_LL_ADDR_LEN 6
+#define MAX_LL_ADDR_LEN 20
 
 /** Maximum length of a link-layer header */
-#define MAX_LL_HEADER_LEN 16
+#define MAX_LL_HEADER_LEN 32
 
 /** Maximum length of a network-layer address */
 #define MAX_NET_ADDR_LEN 4