lib/idxd: make errmsg of "cannot set implementation" more clear.
Add more information to users which implementation cannot be set for idxd. Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: Ib26f117dc19fa1f28cc1d548549caba0b696a915 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9399 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
dfafab22af
commit
43299f394d
@ -321,7 +321,8 @@ spdk_idxd_set_config(uint32_t config_num, bool kernel_mode)
|
||||
}
|
||||
|
||||
if (g_idxd_impl == NULL) {
|
||||
SPDK_ERRLOG("Cannot set the idxd implementation");
|
||||
SPDK_ERRLOG("Cannot set the idxd implementation with %s mode\n",
|
||||
kernel_mode ? KERNEL_DRIVER_NAME : USERSPACE_DRIVER_NAME);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user