Re: [PATCH net-next 2/6] net: igb: use skb_csum_is_sctp instead of protocol check
From: Alexander Duyck <hidden>
Date: 2021-01-19 22:25:22
Also in:
intel-wired-lan, linux-sctp
From: Alexander Duyck <hidden>
Date: 2021-01-19 22:25:22
Also in:
intel-wired-lan, linux-sctp
On Fri, Jan 15, 2021 at 10:14 PM Xin Long [off-list ref] wrote:
Using skb_csum_is_sctp is a easier way to validate it's a SCTP CRC checksum offload packet, and there is no need to parse the packet to check its proto field, especially when it's a UDP or GRE encapped packet. So this patch also makes igb support SCTP CRC checksum offload for UDP and GRE encapped packets. Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>