aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/neterion/vxge
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2013-12-18 02:31:36 -0500
committerDavid S. Miller <davem@davemloft.net>2013-12-18 15:00:53 -0500
commitc4be416baed60e72ab0353c35b35e4e9ca5d1cb2 (patch)
tree89caee60b90611c4302be13bbae8a12d16c59090 /drivers/net/ethernet/neterion/vxge
parent6917441603bbd2a8a5cb47affbe980b2a9119b2d (diff)
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: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/neterion/vxge')
-rw-r--r--drivers/net/ethernet/neterion/vxge/vxge-main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c b/drivers/net/ethernet/neterion/vxge/vxge-main.c
index 5d4ad589ebf3..11b1c70df2b8 100644
--- a/drivers/net/ethernet/neterion/vxge/vxge-main.c
+++ b/drivers/net/ethernet/neterion/vxge/vxge-main.c
@@ -507,7 +507,8 @@ vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr,
507 * if rss is disabled/enabled, so key off of that. 507 * if rss is disabled/enabled, so key off of that.
508 */ 508 */
509 if (ext_info.rth_value) 509 if (ext_info.rth_value)
510 skb->rxhash = ext_info.rth_value; 510 skb_set_hash(skb, ext_info.rth_value,
511 PKT_HASH_TYPE_L3);
511 512
512 vxge_rx_complete(ring, skb, ext_info.vlan, 513 vxge_rx_complete(ring, skb, ext_info.vlan,
513 pkt_length, &ext_info); 514 pkt_length, &ext_info);