projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a83d93
)
net: e1000e calls skb_set_hash
author
Tom Herbert
<
[email protected]
>
Wed, 18 Dec 2013 16:46:48 +0000
(16:46 +0000)
committer
Jeff Kirsher
<
[email protected]
>
Thu, 13 Mar 2014 01:58:26 +0000
(18:58 -0700)
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.
Signed-off-by: Tom Herbert <
[email protected]
>
Tested-by: Aaron Brown <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/e1000e/netdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/e1000e/netdev.c
b/drivers/net/ethernet/intel/e1000e/netdev.c
index 5129c4cd14bc600512cc23213410b272f331da1f..3f044e736de8d6b7b809a0d4cf8be1780540388f 100644
(file)
--- a/
drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/
drivers/net/ethernet/intel/e1000e/netdev.c
@@
-878,7
+878,7
@@
static inline void e1000_rx_hash(struct net_device *netdev, __le32 rss,
struct sk_buff *skb)
{
if (netdev->features & NETIF_F_RXHASH)
- skb
->rxhash = le32_to_cpu(rss
);
+ skb
_set_hash(skb, le32_to_cpu(rss), PKT_HASH_TYPE_L3
);
}
/**