bus/dpaa: enable Rx/Tx error queues
authorSachin Saxena <sachin.saxena@oss.nxp.com>
Thu, 24 Sep 2020 04:02:07 +0000 (09:32 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Oct 2020 12:43:40 +0000 (14:43 +0200)
commit77393f561030c86c2b80dbe720aa81a981900aa9
tree1c7017afcca320bd290d0c6ad5902304adf100a3
parent056ec485861d3e0c9e9ad612e2dca70f66f83af9
bus/dpaa: enable Rx/Tx error queues

Enables a debugging queue to fetch error (Rx/Tx) packets
to user space. Earlier all packets with L3/L4 checksum
errors were getting dropped by the hardware.

Setting CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=y is required
which enables following enhancements.
1) Enable TX/RX error queues to check the errors packet.
2) Display error frame information(payload, status, paresr result).
3) Send error packets to application

Signed-off-by: Jun Yang <jun.yang@nxp.com>
Signed-off-by: Rohit Raj <rohit.raj@nxp.com>
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Signed-off-by: Sachin Saxena <sachin.saxena@oss.nxp.com>
drivers/bus/dpaa/base/fman/fman_hw.c
drivers/bus/dpaa/include/fman.h
drivers/bus/dpaa/include/fsl_fman.h
drivers/bus/dpaa/rte_bus_dpaa_version.map
drivers/net/dpaa/dpaa_ethdev.c
drivers/net/dpaa/dpaa_rxtx.c