From c59205543c94fa805240cb723a9022e8f0e0c4a5 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Wed, 5 Sep 2018 13:32:10 -0700 Subject: [PATCH] examples/ioat/verify: improve get_next_chan() error message It used to be enough for ioatdma to be unloaded - but now we require the channels to be bound to uio_pci_generic or vfio-pci. Signed-off-by: Jim Harris Change-Id: I790fd909a4aa92adead5d711cce093e18e9f9595 Reviewed-on: https://review.gerrithub.io/424725 Chandler-Test-Pool: SPDK Automated Test System Tested-by: SPDK CI Jenkins Reviewed-by: Changpeng Liu Reviewed-by: Ben Walker --- examples/ioat/verify/verify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/ioat/verify/verify.c b/examples/ioat/verify/verify.c index ba462323c..c344ba82c 100644 --- a/examples/ioat/verify/verify.c +++ b/examples/ioat/verify/verify.c @@ -439,7 +439,8 @@ get_next_chan(void) struct spdk_ioat_chan *chan; if (g_next_device == NULL) { - fprintf(stderr, "Not enough ioat channels found. Check that ioatdma driver is unloaded.\n"); + fprintf(stderr, "Not enough ioat channels found. Check that ioat channels are bound\n"); + fprintf(stderr, "to uio_pci_generic or vfio-pci. scripts/setup.sh can help with this.\n"); return NULL; }