> -----Original Message-----
> From: Dariusz Sosnowski <[email protected]>
> Sent: Monday, September 19, 2022 19:37
> To: Matan Azrad <[email protected]>; Slava Ovsiienko <[email protected]>
> Cc: [email protected]
> Subject: [PATCH 5/7] 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 <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>

Reply via email to