net/sfc: fix typo
PATCH 1/1 net/sfc: fix typo
Do not return "GOOD" flag if the status was bad.
Fixes 9e6e7f479ae9b ("net/sfc: support Rx checksum offload for EF100")
Cc Andrew Rybchenko <[email protected]>
Signed-off-by Thierry Herbelot <[email protected]>
--- drivers/net/sfc/sfc_ef100_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/sfc/sfc_ef100_rx.c +1 -1
@@ -211,7 +211,7 @@ sfc_ef100_rx_tun_outer_l4_csum(const efx_word_t class)return EFX_WORD_FIELD (class,ESF_GZ_RX_PREFIX_HCLASS_TUN_OUTER_L4_CSUM ) ==ESE_GZ_RH_HCLASS_L4_CSUM_GOOD ? -PKT_RX_OUTER_L4_CKSUM_GOOD :PKT_RX_OUTER_L4_CKSUM_GOOD ; +PKT_RX_OUTER_L4_CKSUM_GOOD :PKT_RX_OUTER_L4_CKSUM_BAD ; } static uint32_t
Signature · 1 line
2.29.2
Quoted 7 lines · Thierry Herbelot
Do not return "GOOD" flag if the status was bad.
Fixes 9e6e7f479ae9b ("net/sfc: support Rx checksum offload for EF100")Cc Andrew Rybchenko <[email protected]>Signed-off-by Thierry Herbelot <[email protected]>
Reviewed-by Andrew Rybchenko <[email protected]>
Applied, thanks.