]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bnx2x: populate skb->l4_rxhash
authorEric Dumazet <edumazet@google.com>
Mon, 9 Jul 2012 06:02:24 +0000 (06:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2012 21:40:29 +0000 (14:40 -0700)
commita334b5fb19d3f17953f73bb6de516a29317fb7f7
tree39ba66b4bbfc9255b95dd5b5ca7719b3c79e3f1b
parent5c9df5fed198ad8b967f33a1e11862f2a1d08bf7
bnx2x: populate skb->l4_rxhash

l4_rxhash is set on skb when rxhash is obtained from canonical 4-tuple
over transport ports/addresses.

We can set skb->l4_rxhash for all incoming TCP packets on bnx2x for
free, as cqe status contains a hash type information.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Willem de Bruijn <willemb@google.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c