From: Akhil Goyal Date: Mon, 9 Apr 2018 10:22:49 +0000 (+0530) Subject: net/dpaa: update checksum for external pool obj X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4b4fc5df8efbeeba281be37b6dd56e237cff6aab;p=dpdk.git net/dpaa: update checksum for external pool obj Signed-off-by: Akhil Goyal --- diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index bdb7f66021..1316d2ad6c 100644 --- a/drivers/net/dpaa/dpaa_rxtx.c +++ b/drivers/net/dpaa/dpaa_rxtx.c @@ -825,6 +825,8 @@ tx_on_external_pool(struct qman_fq *txq, struct rte_mbuf *mbuf, } DPAA_MBUF_TO_CONTIG_FD(dmable_mbuf, fd_arr, dpaa_intf->bp_info->bpid); + if (mbuf->ol_flags & DPAA_TX_CKSUM_OFFLOAD_MASK) + dpaa_unsegmented_checksum(mbuf, fd_arr); return 0; }