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

Alexander Duyck alexander.duyck at gmail.com
Tue Jan 19 22:24:09 UTC 2021


On Fri, Jan 15, 2021 at 10:14 PM Xin Long <lucien.xin at gmail.com> 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 at gmail.com>

Reviewed-by: Alexander Duyck <alexanderduyck at fb.com>


More information about the Intel-wired-lan mailing list