numam-dpdk/lib/gpudev
Elena Agostini 9b8cae4d99 gpudev: use CPU mapping in communication list
rte_gpu_mem_cpu_map() exposes a GPU memory area to the CPU.
In gpudev communication list this is useful to store the
status flag.

A communication list status flag allocated on GPU memory
and mapped for CPU visibility can be updated by CPU and polled
by a GPU workload.

The polling operation is more frequent than the CPU update operation.
Having the status flag in GPU memory reduces the GPU workload polling
latency.

If CPU mapping feature is not enabled, status flag resides in
CPU memory registered so it's visible from the GPU.

To facilitate the interaction with the status flag, this patch
provides also the set/get functions for it.

Signed-off-by: Elena Agostini <eagostini@nvidia.com>
2022-02-22 20:08:52 +01:00
..
gpudev_driver.h gpudev: expose GPU memory to CPU 2022-02-10 10:06:56 +01:00
gpudev.c gpudev: use CPU mapping in communication list 2022-02-22 20:08:52 +01:00
meson.build gpudev: add communication list 2021-11-08 17:20:53 +01:00
rte_gpudev.h gpudev: use CPU mapping in communication list 2022-02-22 20:08:52 +01:00
version.map gpudev: use CPU mapping in communication list 2022-02-22 20:08:52 +01:00