Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 92) sorted by relevance

1234

/spdk/lib/keyring/
H A Dkeyring.c17 struct spdk_keyring_module *module; member
93 struct spdk_keyring_module *module = opts->module; in spdk_keyring_add_key() local
112 key = calloc(1, sizeof(*key) + module->get_ctx_size()); in spdk_keyring_add_key()
124 rc = module->add_key(key, opts->ctx); in spdk_keyring_add_key()
130 key->module = module; in spdk_keyring_add_key()
147 key->module->remove_key(key); in keyring_remove_key()
154 spdk_keyring_remove_key(const char *name, struct spdk_keyring_module *module) in spdk_keyring_remove_key()
167 if (key->module ! in spdk_keyring_remove_key()
173 struct spdk_keyring_module *module; keyring_probe_key() local
262 struct spdk_keyring_module *module = key->module; spdk_key_get_key() local
287 struct spdk_keyring_module *module; spdk_keyring_write_config() local
317 spdk_keyring_register_module(struct spdk_keyring_module * module) spdk_keyring_register_module() argument
325 struct spdk_keyring_module *module = key->module; keyring_dump_key_info() local
341 struct spdk_keyring_module *module, *tmp; spdk_keyring_init() local
403 struct spdk_keyring_module *module; spdk_keyring_cleanup() local
[all...]
/spdk/scripts/perf/pm/
H A Dcollect-cpu-temp163 local module
168 for module in "${@:-"${!modules_supported[@]}"}"; do
169 if [[ -z ${modules_supported["$module"]} ]]; then
170 printf 'Module (%s) not supported\n' "$module" >&2
173 modules_to_run+=("${modules_supported["$module"]}")
174 modules_out_refs["${modules_supported["$module"]}"]="_${modules_supported["$module"]}"
179 local _count=$count module data
184 for module in "${modules_to_run[@]}"; do
185 local -n ref=${modules_out_refs["$module"]}
[all...]
/spdk/lib/thread/
H A Diobuf.c247 struct iobuf_module *module; in spdk_iobuf_set_opts()
252 module = TAILQ_FIRST(&g_iobuf.modules); in spdk_iobuf_set_opts()
253 TAILQ_REMOVE(&g_iobuf.modules, module, tailq); in spdk_iobuf_set_opts()
254 free(module->name); in spdk_iobuf_set_opts()
255 free(module); in spdk_iobuf_set_opts()
447 struct iobuf_module *module; in spdk_iobuf_register_module()
452 TAILQ_FOREACH(module, &g_iobuf.modules, tailq) { in spdk_iobuf_register_module()
453 if (strcmp(name, module->name) == 0) { in spdk_iobuf_register_module()
458 if (module == NULL) { in spdk_iobuf_register_module()
459 SPDK_ERRLOG("Couldn't find iobuf module in spdk_iobuf_register_module()
166 struct iobuf_module *module; iobuf_unregister_cb() local
307 struct iobuf_module *module; spdk_iobuf_channel_init() local
438 struct iobuf_module *module; spdk_iobuf_register_module() local
465 struct iobuf_module *module; spdk_iobuf_unregister_module() local
638 struct iobuf_module *module; iobuf_get_channel_stats() local
669 struct iobuf_module *module; spdk_iobuf_get_stats() local
[all...]
/spdk/test/external_code/accel/
H A DMakefile13 $(CC) $(COMMON_CFLAGS) -c -fPIC module.c -o module.o
14 $(CC) $(COMMON_CFLAGS) -shared module.o -o libaccel_external_module.so
15 $(CC) $(COMMON_CFLAGS) -o module app_module.c -g -L. -laccel_external_module \
19 $(CC) $(COMMON_CFLAGS) -c -fPIC module.c -o module.o
21 $(CC) $(COMMON_CFLAGS) -shared module.o driver.o -o libaccel_external_driver.so
26 $(CC) $(COMMON_CFLAGS) -o module module.c app_module.c -pthread \
31 $(CC) $(COMMON_CFLAGS) -o driver module.c driver.c app_driver.c \
/spdk/test/common/
H A Dskipped_build_files.txt41 test/external_code/accel/module
58 module/bdev/daos/bdev_daos
59 module/bdev/daos/bdev_daos_rpc
61 # Not configured to test mlx5 accel module & crypto lib
62 module/accel/mlx5/accel_mlx5
63 module/accel/mlx5/accel_mlx5_rpc
73 module/keyring/linux/keyring
74 module/keyring/linux/keyring_rpc
77 module/fsdev/aio/aio_mgr
/spdk/doc/
H A Dbdev_module.md11 A block device module is SPDK's equivalent of a device driver in a traditional
12 operating system. The module provides a set of function pointers that are
17 how to write a module.
21 Block device modules are located in subdirectories under module/bdev today. It is not
22 currently possible to place the code for a bdev module elsewhere, but updates
24 module, add a new directory with a single C file and a Makefile. A great
25 starting point is to copy the existing 'null' bdev module.
29 a new bdev module - SPDK_BDEV_MODULE_REGISTER. This macro take as argument a
30 pointer spdk_bdev_module structure that is used to register new bdev module.
32 The spdk_bdev_module structure describes the module properties like
[all …]
H A Daccel_fw.md7 Streaming Accelerator (DSA) engine. Additionally, a software plug-in module
10 the software module.
24 If the acceleration framework is started without initializing a hardware module,
30 a module based on the order in which it was initialized. So, for example if two modules are
31 enabled, IOAT and software, the software module will be used for every operation except those
42 framework/module. Note that when using the low level libraries directly, the
67 the complete implementation of the acceleration component. A module must be
69 RPC is provided, the framework is available and will use the software plug-in module.
73 To use the IOAT module, use the RPC [`ioat_scan_accel_module`](https://spdk.io/doc/jsonrpc.html) be…
77 The DSA module supports the DSA hardware and relies on the low level IDXD library.
[all …]
H A Dtemplate_pg.md49 for this module think about the things that you needed to go learn about to properly interact with …
51 interactions or module behaviors that might save them some time and effort by thinking about before…
56 List all of the relevant examples we have in the repo that use this module and describe a little ab…
67 This is where we can provide some design level detail if it makes sense for this module. We don't w…
71 can use this section, per module, to test out a way to build out some internal design info as well.…
72 this as including an overview of key structures, concepts, etc., of the module itself. So, interest…
73 not required to write an application using the module but maybe just enough to provide the next lev…
78 If sequence diagrams makes sense for this module, use mscgen to create simple UML-style (they don't…
H A Dlibraries.md7 (`lib` and `module`) inside of the SPDK repository in a deliberate way to prevent
16 modules and are located in the `module` directory. For example, the `spdk_sock` library is containe…
18 are contained in the `module` directory.
49 module and the underlying `dpdk` environment can be found in the [environment](#env_replacement) se…
51 ### module {#module}
53 The component libraries in the `module` directory represent specific implementations of the base li…
55 `spdk_event` framework except for those libraries which directly implement the `spdk_event` module
57 There are seven sub-directories in the `module` directory which each hold a different class of libr…
62 …the `lib` directory then manages the module directly. These types of libraries each implement a fu…
67 | module directory | parent library | dependent on event library |
[all …]
H A Dnvme_multipath.md5 The NVMe bdev module supports two modes: failover and multipath. In failover mode, only one
23 the NVMe bdev module attempts to match it with an existing NVMe bdev. If it finds a match, it adds
30 For each SPDK thread, the NVMe bdev module creates an I/O channel for an NVMe bdev and provides it …
40 the NVMe bdev module. Then the NVMe bdev module starts resetting the corresponding NVMe-oF controll…
77 The NVMe bdev module has a global option, `bdev_retry_count`, to control the number of retries when
88 If an I/O is returned with error, the I/O completion handler in the NVMe bdev module executes the
110 may be changed. In this case, the NVMe bdev module reads the ANA log page to check the ANA state
117 change state, the NVMe bdev module queues I/Os to wait until the namespace becomes accessible again.
124 The NVMe driver supports I/O timeout for submitted I/Os. The NVMe bdev module provides three
129 For ABORT, the NVMe bdev module tries aborting the timed out I/O, and if failed, it starts the
[all …]
/spdk/test/unit/lib/thread/iobuf.c/
H A Diobuf_ut.c21 const char *module;
63 { .thread_id = 0, .module = "ut_module0", }, in iobuf()
64 { .thread_id = 0, .module = "ut_module0", }, in iobuf()
65 { .thread_id = 0, .module = "ut_module0", }, in iobuf()
66 { .thread_id = 0, .module = "ut_module0", }, in iobuf()
67 { .thread_id = 1, .module = "ut_module0", }, in iobuf()
68 { .thread_id = 1, .module = "ut_module0", }, in iobuf()
69 { .thread_id = 1, .module = "ut_module0", }, in iobuf()
70 { .thread_id = 1, .module = "ut_module0", }, in iobuf()
73 { .thread_id = 0, .module in iobuf()
20 const char *module; global() member
[all...]
/spdk/test/unit/lib/bdev/raid/
H A Dcommon.c44 struct raid_bdev_module *module);
102 raid_test_create_raid_bdev(struct raid_params *params, struct raid_bdev_module *module) in raid_test_create_raid_bdev() argument
112 raid_bdev->module = module; in raid_test_create_raid_bdev()
113 raid_bdev->level = module->level; in raid_test_create_raid_bdev()
116 switch (raid_bdev->module->base_bdevs_constraint.type) { in raid_test_create_raid_bdev()
119 raid_bdev->module->base_bdevs_constraint.value; in raid_test_create_raid_bdev()
122 raid_bdev->min_base_bdevs_operational = raid_bdev->module->base_bdevs_constraint.value; in raid_test_create_raid_bdev()
217 if (raid_bdev->module->get_io_channel) { in raid_test_create_io_channel()
218 raid_ch->_module_channel = raid_bdev->module->get_io_channel(raid_bdev); in raid_test_create_io_channel()
/spdk/scripts/
H A Drxe_cfg_small.sh10 declare -r rdma_rxe=/sys/module/rdma_rxe
66 local modules module
75 for module in "${modules[@]}"; do
76 [[ -e /sys/module/$module ]] && continue
77 if [[ ! -e $(modinfo -F filename "$module") ]]; then
H A Dqat_setup.sh21 [[ -e /sys/module/intel_qat/taint ]] || return 0
24 t=$(< /sys/module/intel_qat/taint)
25 v=$(< /sys/module/intel_qat/version)
H A Dsma.py93 module = importlib.import_module(plugin)
94 for device in getattr(module, 'devices', []):
97 for engine_class in getattr(module, 'crypto_engines', []):
H A Dgen_sma_goapi.sh74 --go_opt=module="${sma_goapi_mod}/${sma_goapi_ver}" \
76 --go-grpc_opt=module="${sma_goapi_mod}/${sma_goapi_ver}" \
/spdk/test/external_code/
H A Dtest_make.sh43 run_test "external_run_accel_module_shared" $_sudo $test_root/accel/module \
44 --json $test_root/accel/module.json
95 run_test "external_run_accel_module_static" $_sudo $test_root/accel/module \
96 --json $test_root/accel/module.json
H A DREADME.md2 module to the SPDK libraries. The makefiles contain six examples of linking against spdk
15 The application `hello_bdev` is a symlink and bdev module `passthru_external` have been copied from…
/spdk/test/unit/lib/keyring/keyring.c/
H A Dkeyring_ut.c95 opts.module = &g_module; in test_keyring_add_remove()
141 opts.module = &g_module; in test_keyring_add_remove()
153 /* Try to remove a key owned by a different module */ in test_keyring_add_remove()
169 /* Check that an error from module's add_key() results in failure */ in test_keyring_add_remove()
173 opts.module = &g_module; in test_keyring_add_remove()
192 opts.module = &g_module; in test_keyring_get_put()
/spdk/test/setup/
H A Ddriver.sh24 [[ -e /sys/module/vfio/parameters/enable_unsafe_noiommu_mode ]] \
25 && unsafe_vfio=$(< /sys/module/vfio/parameters/enable_unsafe_noiommu_mode)
/spdk/module/bdev/raid/
H A Dbdev_raid.c39 /* Private raid module IO channel */
132 SPDK_ERRLOG("module for raid level '%s' already registered.\n",
296 if (raid_bdev->module->get_io_channel) { in raid_bdev_create_cb()
297 raid_ch->module_channel = raid_bdev->module->get_io_channel(raid_bdev); in raid_bdev_create_cb()
299 SPDK_ERRLOG("Unable to create io channel for raid module\n"); in raid_bdev_create_cb()
510 if (raid_bdev->module->stop != NULL) { in raid_bdev_remap_dix_reftag()
511 if (raid_bdev->module->stop(raid_bdev) == false) { in raid_bdev_remap_dix_reftag()
639 raid_io->raid_bdev->module->submit_rw_request(raid_io); in raid_bdev_io_complete()
869 raid_io->raid_bdev->module->submit_rw_request(raid_io); in raid_bdev_get_buf_cb()
971 raid_io->raid_bdev->module in _raid_bdev_io_type_supported()
1455 struct raid_bdev_module *module; _raid_bdev_create() local
[all...]
/spdk/python/spdk/rpc/
H A Daccel.py22 def accel_assign_opc(client, opname, module): argument
31 'module': module,
/spdk/test/blobfs/rocksdb/
H A Dpostprocess.py45 print("{:8.4f} {:20s}".format(float(value) * 100 / total_samples, key.module))
54 …print(("{:8.4f} {:20s} {:s}".format(float(value) * 100 / total_samples, key.module, key.funct…
/spdk/module/keyring/linux/
H A Dkeyring.c63 opts.size = SPDK_SIZEOF(&opts, module); in linux_probe_key()
65 opts.module = &g_keyring_linux; in linux_probe_key()
/spdk/test/accel/
H A Daccel.sh72 IFS="=" read -r opc module <<< $opc_opt
73 expected_opcs["$opc"]=$module

1234