> -----Original Message----- > From: Dariusz Sosnowski <dsosnow...@nvidia.com> > Sent: Monday, September 19, 2022 19:37 > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko <viachesl...@nvidia.com> > Cc: dev@dpdk.org > 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 <dsosnow...@nvidia.com> Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
- [PATCH 0/7] ethdev: introduce hairpin memory capabilitie... Dariusz Sosnowski
- [PATCH 1/7] ethdev: introduce hairpin memory capabi... Dariusz Sosnowski
- Re: [PATCH 1/7] ethdev: introduce hairpin memor... Thomas Monjalon
- [PATCH 2/7] common/mlx5: add hairpin SQ buffer type... Dariusz Sosnowski
- RE: [PATCH 2/7] common/mlx5: add hairpin SQ buf... Slava Ovsiienko
- [PATCH 3/7] common/mlx5: add hairpin RQ buffer type... Dariusz Sosnowski
- RE: [PATCH 3/7] common/mlx5: add hairpin RQ buf... Slava Ovsiienko
- [PATCH 4/7] net/mlx5: allow hairpin Tx queue in RTE... Dariusz Sosnowski
- RE: [PATCH 4/7] net/mlx5: allow hairpin Tx queu... Slava Ovsiienko
- [PATCH 5/7] net/mlx5: allow hairpin Rx queue in loc... Dariusz Sosnowski
- RE: [PATCH 5/7] net/mlx5: allow hairpin Rx queu... Slava Ovsiienko
- [PATCH 6/7] app/testpmd: add hairpin queues memory ... Dariusz Sosnowski
- [PATCH 7/7] app/flow-perf: add hairpin queue memory... Dariusz Sosnowski
- RE: [PATCH 7/7] app/flow-perf: add hairpin queu... Wisam Monther
- RE: [PATCH 7/7] app/flow-perf: add hairpin ... Dariusz Sosnowski
- Re: [PATCH 0/7] ethdev: introduce hairpin memory ca... Thomas Monjalon
- RE: [PATCH 0/7] ethdev: introduce hairpin memor... Dariusz Sosnowski
- [PATCH v2 0/8] ethdev: introduce hairpin memory cap... Dariusz Sosnowski
- [PATCH v2 1/8] ethdev: introduce hairpin memory... Dariusz Sosnowski
- [PATCH v2 2/8] common/mlx5: add hairpin SQ buff... Dariusz Sosnowski
- [PATCH v2 3/8] common/mlx5: add hairpin RQ buff... Dariusz Sosnowski