Skip to content

Commit

Permalink
dma/ioat: replace printf with log
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Bruce Richardson <[email protected]>
  • Loading branch information
conorwalsh-intel authored and tmonjalo committed Feb 20, 2023
1 parent e08c164 commit d34c291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/ioat/ioat_dmadev.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ ioat_dev_start(struct rte_dma_dev *dev)
ioat->offset = 0;
ioat->failure = 0;

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

Expand Down

0 comments on commit d34c291

Please sign in to comment.