Spdk/lib/accel
Konrad Sztyber 3de19b0b55 accel: allow modules to report memory domain support
Accel modules can now implement the get_memory_domains() callback to
indicate the types of memory domains they support.  If unimplemented, a
module is assumed not to support memory domains and accel will take care
of pulling/pushing data to local buffers prior to passing a task to be
executed by a module.

For now, similarly to the bdev layer, we only check if a module supports
memory domains, but we don't verify the types of the domains.  That
could be easily added in the future, if necessary.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: Ia513f4f31124672b705b6dd33a2624f0ae94d3ce
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16027
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2023-01-17 23:34:43 +00:00
..
accel_internal.h accel: Add crypto operation support 2023-01-11 09:16:59 +00:00
accel_rpc.c accel: Add crypto operation support 2023-01-11 09:16:59 +00:00
accel_sw.c accel: remove nbytes from spdk_accel_task 2023-01-17 23:34:43 +00:00
accel.c accel: allow modules to report memory domain support 2023-01-17 23:34:43 +00:00
Makefile accel: Add crypto operation support 2023-01-11 09:16:59 +00:00
spdk_accel.map accel: Add crypto operation support 2023-01-11 09:16:59 +00:00