net/dpaa2: enable error queues optionally
authorNipun Gupta <nipun.gupta@nxp.com>
Wed, 24 Feb 2021 12:43:02 +0000 (18:13 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 24 Feb 2021 17:03:30 +0000 (18:03 +0100)
commit4690a6114ff6993afc5c005fc340af0b1e4dbe94
tree5a9e7fcf8915ad6509579edb71836e358f10f325
parent8d21c56338115927abe5381557d38e4c85e9e00e
net/dpaa2: enable error queues optionally

In case error packets are received by the Ethernet interface,
this patch enables receiving packets on the error queue,
printing the error and the error packet.

To enable, use the dev_arg as : fslmc:dpni.1,drv_error_queue=1

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
doc/guides/nics/dpaa2.rst
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/dpaa2/dpaa2_ethdev.h
drivers/net/dpaa2/dpaa2_rxtx.c