[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120208.155018.1656553782073149044.davem@davemloft.net>
Date: Wed, 08 Feb 2012 15:50:18 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: roland@...nel.org
Cc: eric.dumazet@...il.com, ogerlitz@...lanox.com,
sean.hefty@...el.com, herbert@...dor.hengli.com.au,
linux-rdma@...r.kernel.org, shlomop@...lanox.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] IPoIB: Stop lying about hard_header_len and use
skb->cb to stash LL addresses
From: Roland Dreier <roland@...nel.org>
Date: Tue, 7 Feb 2012 16:51:21 -0800
> From: Roland Dreier <roland@...estorage.com>
>
> Commit a0417fa3a18a ("net: Make qdisc_skb_cb upper size bound
> explicit.") made it possible for a netdev driver to use skb->cb
> between its header_ops.create method and its .ndo_start_xmit
> method. Use this in ipoib_hard_header() to stash away the LL address
> (GID + QPN), instead of the "ipoib_pseudoheader" hack. This allows
> IPoIB to stop lying about its hard_header_len, which will let us fix
> the L2 check for GRO.
>
> Signed-off-by: Roland Dreier <roland@...estorage.com>
> ---
> OK, this works for me. Definitely looks cleaner and also looks
> obvious enough that it's probably even correct.
I'll toss this, and Eric's updated patch into net-next, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists