diff options
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 0fde69d5cb6a..f67586a766d2 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c | |||
@@ -1581,7 +1581,7 @@ static void be_rx_compl_process(struct be_rx_obj *rxo, struct napi_struct *napi, | |||
1581 | skb->protocol = eth_type_trans(skb, netdev); | 1581 | skb->protocol = eth_type_trans(skb, netdev); |
1582 | skb_record_rx_queue(skb, rxo - &adapter->rx_obj[0]); | 1582 | skb_record_rx_queue(skb, rxo - &adapter->rx_obj[0]); |
1583 | if (netdev->features & NETIF_F_RXHASH) | 1583 | if (netdev->features & NETIF_F_RXHASH) |
1584 | skb->rxhash = rxcp->rss_hash; | 1584 | skb_set_hash(skb, rxcp->rss_hash, PKT_HASH_TYPE_L3); |
1585 | skb_mark_napi_id(skb, napi); | 1585 | skb_mark_napi_id(skb, napi); |
1586 | 1586 | ||
1587 | if (rxcp->vlanf) | 1587 | if (rxcp->vlanf) |
@@ -1639,7 +1639,7 @@ static void be_rx_compl_process_gro(struct be_rx_obj *rxo, | |||
1639 | skb->ip_summed = CHECKSUM_UNNECESSARY; | 1639 | skb->ip_summed = CHECKSUM_UNNECESSARY; |
1640 | skb_record_rx_queue(skb, rxo - &adapter->rx_obj[0]); | 1640 | skb_record_rx_queue(skb, rxo - &adapter->rx_obj[0]); |
1641 | if (adapter->netdev->features & NETIF_F_RXHASH) | 1641 | if (adapter->netdev->features & NETIF_F_RXHASH) |
1642 | skb->rxhash = rxcp->rss_hash; | 1642 | skb_set_hash(skb, rxcp->rss_hash, PKT_HASH_TYPE_L3); |
1643 | skb_mark_napi_id(skb, napi); | 1643 | skb_mark_napi_id(skb, napi); |
1644 | 1644 | ||
1645 | if (rxcp->vlanf) | 1645 | if (rxcp->vlanf) |