net/octeontx2: drop Rx and L2 error packets
authorJerin Jacob <jerinj@marvell.com>
Tue, 30 Jul 2019 14:27:19 +0000 (19:57 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 5 Aug 2019 15:52:39 +0000 (17:52 +0200)
commitf55974c4011fc085bf2f7650e26d548bee59f916
tree4a3dad5f77f0476514edbc1d71076d54dcff437e
parenta91ca789edebcd922a0002271c8fabd3ac0e4219
net/octeontx2: drop Rx and L2 error packets

From B0 HW revision onwards, HW can drop the Rx and L2 error packets.
Enable this by default if the feature is available.
Since this bit field is used as reserved in old HW revisions,
No need to have additional HW version check.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
drivers/net/octeontx2/otx2_ethdev.c