Commit be0ea421 authored by Jacek Kalwas's avatar Jacek Kalwas Committed by Tomasz Zawadzki
Browse files

accel: add debug log about initialzation on generic layer



With that notice logs are removed from specific modules.

Signed-off-by: default avatarJacek Kalwas <jacek.kalwas@intel.com>
Change-Id: Ibd565f503a6cbb5fd99f163b42ce2ef4f68289a9
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18256


Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 7ac8e6c9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2472,6 +2472,8 @@ accel_module_initialize(void)
				rc = module_rc;
			}
		}

		SPDK_DEBUGLOG(accel, "Module %s initialized.\n", accel_module->name);
	}

	return rc;
+0 −1
Original line number Diff line number Diff line
@@ -599,7 +599,6 @@ sw_accel_module_get_ctx_size(void)
static int
sw_accel_module_init(void)
{
	SPDK_NOTICELOG("Accel framework software module initialized.\n");
	spdk_io_device_register(&g_sw_module, sw_accel_create_cb, sw_accel_destroy_cb,
				sizeof(struct sw_accel_io_channel), "sw_accel_module");

+0 −2
Original line number Diff line number Diff line
@@ -711,11 +711,9 @@ accel_compress_init(void)
	}

	g_compressdev_initialized = true;
	SPDK_NOTICELOG("Accel framework compressdev module initialized.\n");
	spdk_io_device_register(&g_compress_module, compress_create_cb, compress_destroy_cb,
				sizeof(struct compress_io_channel), "compressdev_accel_module");
	return 0;

}

static int
+0 −1
Original line number Diff line number Diff line
@@ -402,7 +402,6 @@ accel_dsa_init(void)
	}

	g_dsa_initialized = true;
	SPDK_NOTICELOG("Accel framework DSA module initialized.\n");
	spdk_io_device_register(&g_dsa_module, dsa_create_cb, dsa_destroy_cb,
				sizeof(struct idxd_io_channel), "dsa_accel_module");
	return 0;
+0 −1
Original line number Diff line number Diff line
@@ -368,7 +368,6 @@ accel_iaa_init(void)
	}

	g_iaa_initialized = true;
	SPDK_NOTICELOG("Accel framework IAA module initialized.\n");
	spdk_io_device_register(&g_iaa_module, idxd_create_cb, idxd_destroy_cb,
				sizeof(struct idxd_io_channel), "iaa_accel_module");
	return 0;
Loading