diff options
author | Eric Dumazet <edumazet@google.com> | 2012-07-09 10:02:24 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-10 01:40:29 +0400 |
commit | a334b5fb19d3f17953f73bb6de516a29317fb7f7 (patch) | |
tree | 39ba66b4bbfc9255b95dd5b5ca7719b3c79e3f1b /drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | |
parent | 5c9df5fed198ad8b967f33a1e11862f2a1d08bf7 (diff) | |
download | linux-a334b5fb19d3f17953f73bb6de516a29317fb7f7.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h index 362d16f1d256..d2dc420df5bd 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h @@ -454,6 +454,7 @@ struct bnx2x_agg_info { u16 vlan_tag; u16 len_on_bd; u32 rxhash; + bool l4_rxhash; u16 gro_size; u16 full_page; }; |