net/bnxt: fix L4 checksum indication in non-vector Rx
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Mon, 4 Nov 2019 10:02:36 +0000 (15:32 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commitb875339622a3765a27b73065ac783bc463cd5bce
tree69c92a5ab61674df672ec37bc1d9f410e8e29b07
parente0b7e8205cfc3f53210e68bd47feb4da9cec0628
net/bnxt: fix L4 checksum indication in non-vector Rx

Update "mbuf->ol_flags" correctly for inner and ourter ip checksum
errors in case of tunnel and non-tunnel packets.

Fixes: 65ee636872eb ("net/bnxt: fix Rx checksum flags")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c