net/dpaa: update checksum for external pool obj
authorAkhil Goyal <akhil.goyal@nxp.com>
Mon, 9 Apr 2018 10:22:49 +0000 (15:52 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Apr 2018 22:20:50 +0000 (00:20 +0200)
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/net/dpaa/dpaa_rxtx.c

index bdb7f66..1316d2a 100644 (file)
@@ -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;
 }