netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iproute2: Support 20-byte link layer address in idxmap
@ 2009-10-15 18:53 David Ward
  2009-12-01 23:42 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: David Ward @ 2009-10-15 18:53 UTC (permalink / raw)
  To: netdev; +Cc: David Ward

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

Signed-off-by: David Ward <david.ward@ll.mit.edu>
---
 lib/ll_map.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/ll_map.c b/lib/ll_map.c
index 7c0bea2..5addf4a 100644
--- a/lib/ll_map.c
+++ b/lib/ll_map.c
@@ -31,7 +31,7 @@ struct idxmap
 	int		type;
 	int		alen;
 	unsigned	flags;
-	unsigned char	addr[8];
+	unsigned char	addr[20];
 	char		name[16];
 };
 
-- 
1.5.5.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iproute2: Support 20-byte link layer address in idxmap
  2009-10-15 18:53 [PATCH] iproute2: Support 20-byte link layer address in idxmap David Ward
@ 2009-12-01 23:42 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2009-12-01 23:42 UTC (permalink / raw)
  To: David Ward; +Cc: netdev, David Ward

On Thu, 15 Oct 2009 14:53:21 -0400
David Ward <david.ward@ll.mit.edu> wrote:

> Extend the link-layer address field from 8 to 20 bytes to support InfiniBand.
> 
> Signed-off-by: David Ward <david.ward@ll.mit.edu>
> ---
>  lib/ll_map.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/ll_map.c b/lib/ll_map.c
> index 7c0bea2..5addf4a 100644
> --- a/lib/ll_map.c
> +++ b/lib/ll_map.c
> @@ -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

-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-01 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-15 18:53 [PATCH] iproute2: Support 20-byte link layer address in idxmap David Ward
2009-12-01 23:42 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).