net/mvpp2: support forwarding bad packets
authorDana Vardi <danat@marvell.com>
Wed, 27 Jan 2021 16:09:46 +0000 (18:09 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:11 +0000 (18:16 +0100)
commitef08031fc1dd5fd9293b5c069583d4955a4a3a6b
treefac98af95465502e7522ec9e5ac4d6aae2ad26d7
parent21aa25e0337c47f40da9b8ecc43bc0045e25c1ce
net/mvpp2: support forwarding bad packets

Extend the config file with option to forward packets
that were marked as "l2 bad pkts".
By default the driver drop those packets

Signed-off-by: Dana Vardi <danat@marvell.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
doc/guides/nics/mvpp2.rst
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/mvpp2/mrvl_ethdev.h
drivers/net/mvpp2/mrvl_qos.c
drivers/net/mvpp2/mrvl_qos.h