net/bnxt: fix IP checksum error indication
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Fri, 15 Nov 2019 04:50:28 +0000 (10:20 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commit1bcec6ee08b4a2b7276da86323eb40da002ab421
tree21867878ce2bc7a3a98ad97d87ebf53ee641ed58
parent7988d0322954da29ff13f528f7c92ddc58f0bc5a
net/bnxt: fix IP checksum error indication

Update "mbuf->ol_flags" correctly for 'Checksum Unknown' errors
for both tunneled and non-tunneled IP packets.

Fixes: b875339622a3 ("net/bnxt: fix L4 checksum indication in non-vector Rx")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c