浏览代码

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

tags/v0.9.3
Michael Brown 18 年前
父节点
当前提交
5793dbe96f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/include/gpxe/netdevice.h

+ 2
- 2
src/include/gpxe/netdevice.h 查看文件

19
 struct device;
19
 struct device;
20
 
20
 
21
 /** Maximum length of a link-layer address */
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
 /** Maximum length of a link-layer header */
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
 /** Maximum length of a network-layer address */
27
 /** Maximum length of a network-layer address */
28
 #define MAX_NET_ADDR_LEN 4
28
 #define MAX_NET_ADDR_LEN 4

正在加载...
取消
保存