* [PATCH] bnx2x: Fix check to get RX hash
@ 2010-05-06 3:57 Tom Herbert
2010-05-06 7:14 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Tom Herbert @ 2010-05-06 3:57 UTC (permalink / raw)
To: davem, netdev
Flag used in check to get rxhash out of the descriptor is incorrect one.
Fix to use the proper features flag.
Signed-off-by: Tom Herbert <therbert@google.com>
---
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index f706ed1..2bc35c7 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -1726,7 +1726,7 @@ reuse_rx:
skb->protocol = eth_type_trans(skb, bp->dev);
- if ((bp->dev->features & ETH_FLAG_RXHASH) &&
+ if ((bp->dev->features & NETIF_F_RXHASH) &&
(cqe_fp_status_flags &
ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG))
skb->rxhash = le32_to_cpu(
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-06 7:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 3:57 [PATCH] bnx2x: Fix check to get RX hash Tom Herbert
2010-05-06 7:14 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).