summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-04-23 00:10:52 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-23 00:10:52 -0700
commitc68ed255265968c3948fa2678bf59d15c471b055 (patch)
treea5f325dd8380b461ea41fcc72be19ca8bd370041 /drivers/net/bnx2x.h
parentefe91932e79cfe59a562b70d8eb18049b36debc6 (diff)
downloadlinux-3.10-c68ed255265968c3948fa2678bf59d15c471b055.tar.gz
linux-3.10-c68ed255265968c3948fa2678bf59d15c471b055.tar.bz2
linux-3.10-c68ed255265968c3948fa2678bf59d15c471b055.zip
bnx2x: add support for receive hashing
Add support to bnx2x to extract Toeplitz hash out of the receive descriptor for use in skb->rxhash. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 081953005b8..8bd23687c53 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -1330,7 +1330,7 @@ static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY | \
AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY)
-#define MULTI_FLAGS(bp) \
+#define RSS_FLAGS(bp) \
(TSTORM_ETH_FUNCTION_COMMON_CONFIG_RSS_IPV4_CAPABILITY | \
TSTORM_ETH_FUNCTION_COMMON_CONFIG_RSS_IPV4_TCP_CAPABILITY | \
TSTORM_ETH_FUNCTION_COMMON_CONFIG_RSS_IPV6_CAPABILITY | \