Spdk/include/spdk_internal
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_module.h accel: allow modules to report memory domain support 2023-01-17 23:34:43 +00:00
assert.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
event.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
idxd.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
init.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
lvolstore.h lvol: remove unused lvs->destruct 2022-12-08 12:55:07 +00:00
mock.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvme_tcp.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
rdma.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
sgl.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
thread.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
trace_defs.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
uring.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
usdt.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
utf.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
vhost_user.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
virtio.h misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00