Browse Source

Infinband requires longer link-layer addresses and headers than Ethernet.

tags/v0.9.3
Michael Brown 16 years ago
parent
commit
5793dbe96f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/include/gpxe/netdevice.h

+ 2
- 2
src/include/gpxe/netdevice.h View File

@@ -19,10 +19,10 @@ struct ll_protocol;
19 19
 struct device;
20 20
 
21 21
 /** Maximum length of a link-layer address */
22
-#define MAX_LL_ADDR_LEN 6
22
+#define MAX_LL_ADDR_LEN 20
23 23
 
24 24
 /** Maximum length of a link-layer header */
25
-#define MAX_LL_HEADER_LEN 16
25
+#define MAX_LL_HEADER_LEN 32
26 26
 
27 27
 /** Maximum length of a network-layer address */
28 28
 #define MAX_NET_ADDR_LEN 4

Loading…
Cancel
Save