a9af048aba
The device data shared between processes are moved in a struct allocated in a shared memory (a new memzone for all GPUs). The main struct rte_gpu references the shared memory via the pointer mpshared. The API function rte_gpu_attach() is added to attach a device from the secondary process. The function rte_gpu_allocate() can be used only by primary process. Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
26 lines
376 B
Plaintext
26 lines
376 B
Plaintext
EXPERIMENTAL {
|
|
global:
|
|
|
|
# added in 21.11
|
|
rte_gpu_add_child;
|
|
rte_gpu_callback_register;
|
|
rte_gpu_callback_unregister;
|
|
rte_gpu_close;
|
|
rte_gpu_count_avail;
|
|
rte_gpu_find_next;
|
|
rte_gpu_info_get;
|
|
rte_gpu_init;
|
|
rte_gpu_is_valid;
|
|
};
|
|
|
|
INTERNAL {
|
|
global:
|
|
|
|
rte_gpu_allocate;
|
|
rte_gpu_attach;
|
|
rte_gpu_complete_new;
|
|
rte_gpu_get_by_name;
|
|
rte_gpu_notify;
|
|
rte_gpu_release;
|
|
};
|