net/dpaa: check multi-segment external buffers
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 19 Jul 2019 10:06:08 +0000 (15:36 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:36 +0000 (14:31 +0200)
commit829904201f0a3a43c740d64e216167265bc34ffa
tree73c80bc54e5df40eb63462d72623d3e0c9faa9d3
parentff45f462b87debf8f8034e5df0e4c2b7fe162559
net/dpaa: check multi-segment external buffers

This patch add check to return error as the handling
for external buffer packets with SG is currently missing.

Fixes: 37f9b54bd3cf ("net/dpaa: support Tx and Rx queue setup")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa/dpaa_rxtx.c