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

net: vxge calls skb_set_hash

Drivers should call skb_set_hash to set the hash and its type
in an skbuff.
Signed-off-by: default avatarTom Herbert <therbert@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 69174416
...@@ -507,7 +507,8 @@ vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr, ...@@ -507,7 +507,8 @@ vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr,
* if rss is disabled/enabled, so key off of that. * if rss is disabled/enabled, so key off of that.
*/ */
if (ext_info.rth_value) if (ext_info.rth_value)
skb->rxhash = ext_info.rth_value; skb_set_hash(skb, ext_info.rth_value,
PKT_HASH_TYPE_L3);
vxge_rx_complete(ring, skb, ext_info.vlan, vxge_rx_complete(ring, skb, ext_info.vlan,
pkt_length, &ext_info); pkt_length, &ext_info);
......
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