net/bnxt: use table based mbuf flags handling
authorLance Richardson <lance.richardson@broadcom.com>
Wed, 9 Sep 2020 15:53:02 +0000 (11:53 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:09 +0000 (18:55 +0200)
commitc1b33d40315fcb705e4232d26f975f273028a440
treef9c56bb398bd97b633abdbfc75d864f580b4ba50
parent97b1db288dd0f3485144f5d842c88dc4a0b2321d
net/bnxt: use table based mbuf flags handling

Use table to translate receive descriptor status flags to
rte_mbuf ol_flags 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