diff options
author | Tom Herbert <therbert@google.com> | 2010-05-05 17:57:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-05 21:09:27 -0700 |
commit | 4447957a825031b3faf3b5bc2013afe35eff492b (patch) | |
tree | a386ff8232b4412956e09e8be9e7b2341735b569 /drivers/net/bnx2x_main.c | |
parent | 2861a185e3ac2ebe5958a2039b66062445bf4f7d (diff) | |
download | kernel_samsung_smdk4412-4447957a825031b3faf3b5bc2013afe35eff492b.zip kernel_samsung_smdk4412-4447957a825031b3faf3b5bc2013afe35eff492b.tar.gz kernel_samsung_smdk4412-4447957a825031b3faf3b5bc2013afe35eff492b.tar.bz2 |
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/net/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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( |