From e345594f3ccf1885cb76ac5d8bcae541645ac41c Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Thu, 12 May 2022 16:11:22 +0100 Subject: [PATCH] dmadev: clarify visibility of completed jobs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Clarify that once an operation has completed, the output of that operation is visible to all cores. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- lib/dmadev/rte_dmadev.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/dmadev/rte_dmadev.h b/lib/dmadev/rte_dmadev.h index ad9e7a0975..a7081e633c 100644 --- a/lib/dmadev/rte_dmadev.h +++ b/lib/dmadev/rte_dmadev.h @@ -1001,6 +1001,8 @@ rte_dma_submit(int16_t dev_id, uint16_t vchan) * @b EXPERIMENTAL: this API may change without prior notice. * * Return the number of operations that have been successfully completed. + * Once an operation has been reported as completed, the results of that + * operation will be visible to all cores on the system. * * @param dev_id * The identifier of the device. @@ -1058,6 +1060,8 @@ rte_dma_completed(int16_t dev_id, uint16_t vchan, const uint16_t nb_cpls, * * Return the number of operations that have been completed, and the operations * result may succeed or fail. + * Once an operation has been reported as completed successfully, the results of that + * operation will be visible to all cores on the system. * * @param dev_id * The identifier of the device. -- 2.39.5