Hawei TM280 ethernet card can't resolve ipip internal packet, this
cause to packet hash to the same cpu. Mask the call of hns3_set_rx_skb_rss_type function, let protocal stack calculate hash value, this will scatter packet to different cpu.
This commit is contained in:
parent
3467822a34
commit
39d0341de3
|
@ -2865,7 +2865,7 @@ static int hns3_handle_bdinfo(struct hns3_enet_ring *ring, struct sk_buff *skb)
|
|||
|
||||
ring->tqp_vector->rx_group.total_bytes += len;
|
||||
|
||||
hns3_set_rx_skb_rss_type(ring, skb, le32_to_cpu(desc->rx.rss_hash));
|
||||
//hns3_set_rx_skb_rss_type(ring, skb, le32_to_cpu(desc->rx.rss_hash));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue