net/octeontx2: fix getting supported packet types
authorHarman Kalra <hkalra@marvell.com>
Thu, 12 Dec 2019 17:58:56 +0000 (17:58 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:02 +0000 (19:46 +0100)
commit348123a3df8c679b2fcf56ec767c2bc319ec8bf9
tree083881549e640cbfeb61e1862a71f4b00bd51ce7
parentd0ef40a1b21790ff77970f389ef30f6f8674668a
net/octeontx2: fix getting supported packet types

Setting up supported ptypes using testpmd command is failing
because supported_ptypes_get callback will never return ptypes
supported, as NIX_RX_OFFLOAD_PTYPE_F bit in rx_offload_flags
is zero by default in testpmd.

Fixes: d2706e15e6fb ("net/octeontx2: support reduced set of packet types")
Cc: stable@dpdk.org
Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_lookup.c