On Thu, Aug 3, 2017 at 11:54 PM, Davide Caratti <dcara...@redhat.com> wrote: > if the NIC fails to validate the checksum on TCP/UDP, and validation of IP > checksum is successful, the driver subtracts the pseudo-header checksum > from the value obtained by the hardware and sets CHECKSUM_COMPLETE. Don't > do that if protocol is IPPROTO_SCTP, otherwise CRC32c validation fails. > > V2: don't test MLX4_CQE_STATUS_IPV6 if MLX4_CQE_STATUS_IPV4 is set > > Reported-by: Shuang Li <shu...@redhat.com> > Fixes: f8c6455bb04b ("net/mlx4_en: Extend checksum offloading by CHECKSUM > COMPLETE") > Signed-off-by: Davide Caratti <dcara...@redhat.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>