Page MenuHomeFreeBSD

libmlx5: External memory binding for HW resources
Needs ReviewPublic

Authored by vag.singh_oneconvergence.com on Sep 28 2021, 1:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 3:48 PM
Unknown Object (File)
Oct 30 2023, 10:47 PM
Unknown Object (File)
Sep 29 2023, 12:14 AM
Unknown Object (File)
Aug 10 2023, 12:17 PM
Unknown Object (File)
Jun 12 2023, 1:59 PM
Unknown Object (File)
May 21 2023, 8:41 PM
Unknown Object (File)
May 20 2023, 1:07 AM
Unknown Object (File)
May 4 2023, 11:17 PM

Details

Reviewers
kib
hselasky
Summary

[PATCH 19/31] FreeBSD OFED support for DPDK MLX5 PMD

Add a new DV API mlx5dv_set_context_attr() to enable setting an external
memory allocator. This API will allow the application to use specific
decisions about the memory allocation of HW resources (e.g. DV objects).
Some examples are managing numa pinning per object, managing a
hugepages resource pool, shared memory regions.

Also extend mlx5dv_get_qp() to return UAR mapping info. This can allow a
process to share its doorbell access with secondary process by re-mmap
the UAR address on the device and make it accessible as a user space
address.

Test Plan

Tested on KVM, ESXi, and HyperV/Azure Hypervisors with FreeBSD 14.0-CURRENT and FreeBSD12.1-STABLE.

iperf
DPDK MLX5 PMD/testpmd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline