Skip to content

Commit d34c291

Browse files
conorwalsh-inteltmonjalo
authored andcommitted
dma/ioat: replace printf with log
rte_log should be used instead of printf within the drivers. This patch changes a printf within the ioat dma driver's start function to an rte log. The printfs within ioat's dump function will be retained Signed-off-by: Conor Walsh <conor.walsh@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
1 parent e08c164 commit d34c291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/ioat/ioat_dmadev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ ioat_dev_start(struct rte_dma_dev *dev)
156156
ioat->offset = 0;
157157
ioat->failure = 0;
158158

159-
printf("IOAT.status: %s [0x%"PRIx64"]\n",
159+
IOAT_PMD_DEBUG("channel status - %s [0x%"PRIx64"]\n",
160160
chansts_readable[ioat->status & IOAT_CHANSTS_STATUS],
161161
ioat->status);
162162

0 commit comments

Comments
 (0)