net/sfc: fix outer L4 checksum Rx
authorThierry Herbelot <thierry.herbelot@6wind.com>
Mon, 24 May 2021 11:22:38 +0000 (13:22 +0200)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commit13fe18b3483775c2b052f4d2af330d2ef91a0835
tree96ddb2748fd748bd880fff7f0912473f0392438a
parent01bfb518a39b91da7896abe579bcf72d06935bf5
net/sfc: fix outer L4 checksum Rx

Do not return "GOOD" flag if the status was bad.

Fixes: 9e6e7f479ae9b ("net/sfc: support Rx checksum offload for EF100")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/net/sfc/sfc_ef100_rx.c