bnx2: Add support for skb->rxhash.
Add skb->rxhash support for TCP packets only because the bnx2 RSS hash does not hash UDP ports. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3d5f3a7bbd
commit
fdc8541d69
@@ -295,6 +295,9 @@ struct l2_fhdr {
|
||||
#define L2_FHDR_ERRORS_TCP_XSUM (1<<28)
|
||||
#define L2_FHDR_ERRORS_UDP_XSUM (1<<31)
|
||||
|
||||
#define L2_FHDR_STATUS_USE_RXHASH \
|
||||
(L2_FHDR_STATUS_TCP_SEGMENT | L2_FHDR_STATUS_RSS_HASH)
|
||||
|
||||
u32 l2_fhdr_hash;
|
||||
#if defined(__BIG_ENDIAN)
|
||||
u16 l2_fhdr_pkt_len;
|
||||
|
Reference in New Issue
Block a user