net/bnxt: fix packet type index calculation
authorLance Richardson <lance.richardson@broadcom.com>
Mon, 18 Jan 2021 21:57:09 +0000 (16:57 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:07 +0000 (18:16 +0100)
commit5b4279b50f7feca8b43a4f3360a7c42eeee8f17a
treea53be376ff70564da2fcae5293d1d8d40e3a2138
parent51a7d362721e2fe60425d4c045306ac85f87cd2c
net/bnxt: fix packet type index calculation

Fix mask to include all four bits of hardware packet type
field.

Fixes: 97b1db288dd0 ("net/bnxt: use table based packet type translation")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c