bdev/crypto: remove some prints to clean up output

Change-Id: I8583bf9448e44e112dee5083899bd47f7e4e8523
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/435774
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Paul Luse 2018-12-02 06:03:59 -07:00 committed by Jim Harris
parent 81c7ed6d07
commit f00791e804

View File

@ -215,9 +215,7 @@ vbdev_crypto_init_crypto_drivers(void)
/* We always init AESNI_MB */
rc = rte_vdev_init(AESNI_MB, NULL);
if (rc == 0) {
SPDK_NOTICELOG("created virtual PMD %s\n", AESNI_MB);
} else {
if (rc) {
SPDK_ERRLOG("error creating virtual PMD %s\n", AESNI_MB);
return -EINVAL;
}
@ -1069,8 +1067,6 @@ crypto_bdev_ch_create_cb(void *io_device, void *ctx_buf)
(device_qp->in_use == false)) {
crypto_ch->device_qp = device_qp;
device_qp->in_use = true;
SPDK_NOTICELOG("Device queue pair assignment: ch %p device %p qpid %u %s\n",
crypto_ch, device_qp->device, crypto_ch->device_qp->qp, crypto_bdev->drv_name);
break;
}
}
@ -1396,8 +1392,8 @@ vbdev_crypto_claim(struct spdk_bdev *bdev)
if (strcmp(name->bdev_name, bdev->name) != 0) {
continue;
}
SPDK_DEBUGLOG(SPDK_LOG_VBDEV_crypto, "Match on %s\n", bdev->name);
SPDK_NOTICELOG("Match on %s\n", bdev->name);
vbdev = calloc(1, sizeof(struct vbdev_crypto));
if (!vbdev) {
SPDK_ERRLOG("could not allocate crypto_bdev\n");
@ -1531,7 +1527,8 @@ vbdev_crypto_claim(struct spdk_bdev *bdev)
rc = -EINVAL;
goto error_vbdev_register;
}
SPDK_NOTICELOG("registered io_device and virtual bdev for: %s\n", name->vbdev_name);
SPDK_DEBUGLOG(SPDK_LOG_VBDEV_crypto, "registered io_device and virtual bdev for: %s\n",
name->vbdev_name);
break;
}