Re: [PATCH net-next 2/6] net: igb: use skb_csum_is_sctp instead of protocol check

2021-01-19 Thread Alexander Duyck
On Fri, Jan 15, 2021 at 10:14 PM Xin Long 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

[PATCH net-next 2/6] net: igb: use skb_csum_is_sctp instead of protocol check

2021-01-15 Thread Xin Long
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