projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2861a18
)
bnx2x: Fix check to get RX hash
author
Tom Herbert
<therbert@google.com>
Wed, 5 May 2010 17:57:16 +0000
(17:57 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 6 May 2010 04:09:27 +0000
(21:09 -0700)
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>
drivers/net/bnx2x_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bnx2x_main.c
b/drivers/net/bnx2x_main.c
index f706ed191f19d367356cbeed4743659526dc6961..2bc35c794aecfb64e65d4c0f48f49fd4a396f8a6 100644
(file)
--- 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(