net/bnxt: use table based packet type translation
authorLance Richardson <lance.richardson@broadcom.com>
Wed, 9 Sep 2020 15:53:01 +0000 (11:53 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:09 +0000 (18:55 +0200)
commit97b1db288dd0f3485144f5d842c88dc4a0b2321d
treee30101d9f049995eeea2d27fbf41d50ec9749ec5
parentaade665a1e25005c996cb5083d9143ec986246ac
net/bnxt: use table based packet type translation

Use table-based method for translating receive packet descriptor
flags into rte_mbuf packet type values.

Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c
drivers/net/bnxt/bnxt_rxr.h
drivers/net/bnxt/bnxt_rxtx_vec_neon.c
drivers/net/bnxt/bnxt_rxtx_vec_sse.c