net/dpaa2: enable Tx congestion state check
authorHemant Agrawal <hemant.agrawal@nxp.com>
Mon, 24 Jul 2017 07:31:46 +0000 (13:01 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 30 Jul 2017 18:24:55 +0000 (20:24 +0200)
commita084096398e6340f0cfe82cee09c76ebc5cadc67
treef1ba01ee2600c962901f8f7fad8f4205549efd18
parenta2c0df750388cd5fbb6c4f62589d83c2a4f3de9b
net/dpaa2: enable Tx congestion state check

For larger packet size congestion is observed on Tx Queues.
This patch enables Tx Queue congestion state check support.
If congested, try to resend the packet few times.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/dpaa2/dpaa2_ethdev.h
drivers/net/dpaa2/dpaa2_rxtx.c