[syslinux:lwip] lwip: Allow up to 20 byte hardware address to support infiniband.

syslinux-bot for Eric W. Biederman ebiederm at xmission.com
Fri Apr 22 20:06:09 PDT 2011


Commit-ID:  d4c8170ad3d62cdb1bf7df845d6baaa2659a0586
Gitweb:     http://syslinux.zytor.com/commit/d4c8170ad3d62cdb1bf7df845d6baaa2659a0586
Author:     Eric W. Biederman <ebiederm at xmission.com>
AuthorDate: Mon, 11 Apr 2011 23:37:03 -0700
Committer:  Eric W. Biederman <ebiederm at xmission.com>
CommitDate: Tue, 12 Apr 2011 14:41:24 -0700

lwip: Allow up to 20 byte hardware address to support infiniband.

Infiniband has a positively crazy mapping of ip to it's infiniband
form, and that crazy mapping leads to a 20 byte hardware address
used for ip (despite really only having a 8 byte hardware address).
Infiniband routers such a crazy idea.

Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>


---
 core/lwip/src/include/lwip/netif.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/lwip/src/include/lwip/netif.h b/core/lwip/src/include/lwip/netif.h
index c50a6da..9239723 100644
--- a/core/lwip/src/include/lwip/netif.h
+++ b/core/lwip/src/include/lwip/netif.h
@@ -58,7 +58,7 @@ extern "C" {
 
 /** must be the maximum of all used hardware address lengths
     across all types of interfaces in use */
-#define NETIF_MAX_HWADDR_LEN 6U
+#define NETIF_MAX_HWADDR_LEN 20U
 
 /** TODO: define the use (where, when, whom) of netif flags */
 



More information about the Syslinux-commits mailing list