Skip to contentSkip to conversation

iproute2: Support 20-byte link layer address in idxmap

PATCH In review David Ward 2 participants 2 messages Oct 15, 2009 – Dec 1, 2009

Subsystems (3)
lore
Share & tools
lore

David Ward

author
#0 lore raw

PATCH 1/1 iproute2: Support 20-byte link layer address in idxmap

Extend the link-layer address field from 8 to 20 bytes to support InfiniBand.

---
 lib/ll_map.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/ll_map.c +1 -1
index 7c0bea2..5addf4a 100644
@@ -31,7 +31,7 @@ struct idxmap
 	int		type;
 	int		alen;
 	unsigned	flags;
-	unsigned char	addr[8];
+	unsigned char	addr[20];
 	char		name[16];
 };
 
Signature · 1 line
1.5.5.6
#1 lore raw
Quoted 12 lines · On Thu, 15 Oct 2009 14:53:21 -0400 David Ward <[email protected]> wrote:

Extend the link-layer address field from 8 to 20 bytes to support InfiniBand.

---
 lib/ll_map.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/ll_map.c +0 -0
index 7c0bea2..5addf4a 100644

lib/ll_map.c struct idxmap · line 37

Quoted 8 lines
lib/ll_map.c +1 -1
@@ -31,7 +31,7 @@ struct idxmap
 	int		type;
 	int		alen;
 	unsigned	flags;
-	unsigned char	addr[8];
+	unsigned char	addr[20];
 	char		name[16];
 };
 

makes sense applied