forked from Minki/linux
net: e1000e calls skb_set_hash
Drivers should call skb_set_hash to set the hash and its type in an skbuff. Signed-off-by: Tom Herbert <therbert@google.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
8a83d9396a
commit
e25909bcdf
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user