Parcourir la source

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

tags/v0.9.3
Michael Brown il y a 17 ans
Parent
révision
5793dbe96f
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/include/gpxe/netdevice.h

+ 2
- 2
src/include/gpxe/netdevice.h Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer