Dariusz Sosnowski f2d43ff54d net/mlx5: allow hairpin Rx queue in locked memory
This patch adds a capability to place hairpin Rx queue in locked device
memory. This capability is equivalent to storing hairpin RQ's data
buffers in locked internal device memory.

Hairpin Rx queue creation is extended with requesting that RQ is
allocated in locked internal device memory. If allocation fails and
force_memory hairpin configuration is set, then hairpin queue creation
(and, as a result, device start) fails. If force_memory is unset, then
PMD will fallback to allocating memory for hairpin RQ in unlocked
internal device memory.

To allow such allocation, the user must set HAIRPIN_DATA_BUFFER_LOCK
flag in FW using mlxconfig tool.

Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2022-10-08 18:30:50 +02:00
..
2022-10-03 16:01:56 +02:00
2022-10-03 16:01:56 +02:00
2022-06-01 08:58:27 +02:00
2020-11-27 17:25:24 +01:00
2022-10-03 16:01:56 +02:00
2022-01-12 15:36:32 +01:00
2022-10-03 16:01:56 +02:00
2022-10-03 16:01:56 +02:00