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:
banbanhuang@tencent.com 2022-12-19 11:02:31 +08:00 committed by Jianping Liu
parent 3467822a34
commit 39d0341de3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}