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 <james.r.harris@intel.com>
Change-Id: I790fd909a4aa92adead5d711cce093e18e9f9595

Reviewed-on: https://review.gerrithub.io/424725
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Jim Harris 2018-09-05 13:32:10 -07:00
parent 71abba4eaf
commit c59205543c

View File

@ -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;
}