net/octeontx2: fix packet type translation
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Wed, 4 Sep 2019 08:04:31 +0000 (13:34 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commit6283eb682f57c156dcd6a6c10eef691cd25e3332
tree56d73f6aeee6300175f8343aef69d7a134398983
parentd373fa9f2cda8bf78bba9bf559845aca4507d911
net/octeontx2: fix packet type translation

Extract and use layer type LB..LE for non-tunnel ptype and
LF..LH as tunnel ptype translation.

Fixes: 6e892eabce11 ("net/octeontx2: support packet type")
Cc: stable@dpdk.org
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_lookup.c
drivers/net/octeontx2/otx2_rx.h