From: Michael Brown Date: Fri, 21 Sep 2007 00:23:57 +0000 (+0100) Subject: Infinband requires longer link-layer addresses and headers than Ethernet. X-Git-Tag: v0.9.3~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5793dbe96fc94abe48cfb3303776215f345ccab4;p=thirdparty%2Fipxe.git Infinband requires longer link-layer addresses and headers than Ethernet. --- diff --git a/src/include/gpxe/netdevice.h b/src/include/gpxe/netdevice.h index d82c6d8f4..2cbd0efb1 100644 --- a/src/include/gpxe/netdevice.h +++ b/src/include/gpxe/netdevice.h @@ -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