Re: [PATCH net-next 3/6] net: igbvf: 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 yet it also makes igbvf support SCTP > CRC checksum offload for UDP and GRE encapped packets, just as it > does in igb driver. > > Signed-off-by: X

[PATCH net-next 3/6] net: igbvf: 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 yet it also makes igbvf support SCTP CRC checksum offload for UDP and GRE encapped packets, just as it does in igb driver. Signed-off-by: Xin Long --- drivers/net/ethernet/intel/igbvf/netdev.c | 14 +-