From: Tom Herbert Date: Wed, 5 May 2010 17:57:16 +0000 (+0000) Subject: bnx2x: Fix check to get RX hash X-Git-Tag: v2.6.35-rc1~473^2~280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4447957a825031b3faf3b5bc2013afe35eff492b;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: David S. Miller --- 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(