[openib-general] Re: [PATCH] sockaddr_ll change for IPoIB interface
Hal Rosenstock
halr at voltaire.com
Thu Aug 11 14:38:57 PDT 2005
On Thu, 2005-08-11 at 15:49, David S. Miller wrote:
> From: Hal Rosenstock <halr at voltaire.com>
> Date: 11 Aug 2005 14:48:37 -0400
>
> > The patch below is to accomodate IPoIB link layer address in the
> > sockaddr_ll struct so that user space can send and receive IPoIB link
> > later packets. Unfortunately, IPoIB has 20 bytes LL addresses rather
> > than the 8 byte MAC addresses (or under) used by other LLs.
>
> Two problems. 1) it's a really ugly IPoIB specific hack to extend the
> sockaddr_ll structure, it won't work for anything else without adding
> more special tests to that af_packet.c code
> Please find another way to extend the structure.
Can anyone think of another approach to do this and keep backward
compatibility ?
-- Hal
More information about the general
mailing list