net/octeontx2: fix checksum flag translation
authorSunil Kumar Kori <skori@marvell.com>
Thu, 3 Oct 2019 06:32:29 +0000 (12:02 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:31 +0000 (12:14 +0200)
commitdba99cd6f8899a5679a1f718d45ac4cc980d169c
treeb1d50cbac158a614ab819b52be0cc097d0df2829
parent7dde68cf0e1329fe4b9cee20e820cf41aefc54e6
net/octeontx2: fix checksum flag translation

NPC errors were incorrectly translated to ol_flag as
error code enum was not in sync with NPC profile.

Fixes: 371d3212cbed ("common/octeontx2: add build infrastructure and HW definition")
Cc: stable@dpdk.org
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/octeontx2/hw/otx2_npc.h
drivers/net/octeontx2/otx2_lookup.c