net/dpaa: fix the mbuf packet type if zero
authorAshish Jain <ashish.jain@nxp.com>
Wed, 10 Jan 2018 10:46:24 +0000 (16:16 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitd565c887384e6850e663dcb97815fe3c840d7c38
tree613f96c5161553299a0eb7103ac69b4c8a9c8893
parent8d804cf1a2f75b935a70de40cc1d0b286d50bf60
net/dpaa: fix the mbuf packet type if zero

Populate the mbuf field packet_type which is required
for calculating checksum while transmitting frames

Fixes: 8cffdcbe85aa ("net/dpaa: support scattered Rx")
Cc: stable@dpdk.org
Signed-off-by: Ashish Jain <ashish.jain@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa/dpaa_rxtx.c