Commit 4447957a authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller

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: default avatarTom Herbert <therbert@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2861a185
...@@ -1726,7 +1726,7 @@ static int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) ...@@ -1726,7 +1726,7 @@ static int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget)
skb->protocol = eth_type_trans(skb, bp->dev); 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 & (cqe_fp_status_flags &
ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG)) ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG))
skb->rxhash = le32_to_cpu( skb->rxhash = le32_to_cpu(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment