aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-05-05 13:57:16 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-06 00:09:27 -0400
commit4447957a825031b3faf3b5bc2013afe35eff492b (patch)
treea386ff8232b4412956e09e8be9e7b2341735b569 /drivers
parent2861a185e3ac2ebe5958a2039b66062445bf4f7d (diff)
bnx2x: Fix check to get RX hash
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bnx2x_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index f706ed191f19..2bc35c794aec 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -1726,7 +1726,7 @@ reuse_rx:
1726 1726
1727 skb->protocol = eth_type_trans(skb, bp->dev); 1727 skb->protocol = eth_type_trans(skb, bp->dev);
1728 1728
1729 if ((bp->dev->features & ETH_FLAG_RXHASH) && 1729 if ((bp->dev->features & NETIF_F_RXHASH) &&
1730 (cqe_fp_status_flags & 1730 (cqe_fp_status_flags &
1731 ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG)) 1731 ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG))
1732 skb->rxhash = le32_to_cpu( 1732 skb->rxhash = le32_to_cpu(