net/bnxt: fix L4 checksum error indication in Rx
authorRahul Gupta <rahul.gupta@broadcom.com>
Wed, 17 Jul 2019 10:41:30 +0000 (16:11 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commit04a681426d4999f9ff5278a3cc2c8127d25b6f76
tree30d1eab11f4d402cf76d67d33e2eb28b691be406
parent3672b93dc4901f7459bf0f449d9697f1736d34a5
net/bnxt: fix L4 checksum error indication in Rx

Update ol_flags correctly for checksum errors in case of tunnel and
non-tunnel packet.

Fixes: 65ee636872eb ("net/bnxt: fix Rx checksum flags")
Cc: stable@dpdk.org
Signed-off-by: Rahul Gupta <rahul.gupta@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c
drivers/net/bnxt/bnxt_rxr.h