net/dpaa2: fix multi-segment Tx
authorNipun Gupta <nipun.gupta@nxp.com>
Fri, 19 Jul 2019 10:06:09 +0000 (15:36 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:36 +0000 (14:31 +0200)
commit1f4d77d20b2d23bfa2d0203411546d241e4bb644
tree2b85e15bd74be5c90bbc647f1d5e84232880bb93
parent829904201f0a3a43c740d64e216167265bc34ffa
net/dpaa2: fix multi-segment Tx

This patch resets frc and ctrl in sg tx fd to avoid corruption.

Fixes: 774e9ea91992 ("net/dpaa2: add support for multi seg buffers")
Cc: stable@dpdk.org
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
drivers/net/dpaa2/dpaa2_rxtx.c