> -----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 4/7] net/mlx5: allow hairpin Tx queue in RTE memory > > This patch adds a capability to place hairpin Tx queue in host memory > managed by DPDK. This capability is equivalent to storing hairpin SQ's WQ > buffer in host memory. > > Hairpin Tx queue creation is extended with allocating a memory buffer of > proper size (calculated from required number of packets and WQE BB size > advertised in HCA capabilities). > > force_memory flag of hairpin queue configuration is also supported. > If it is set and: > > - allocation of memory buffer fails, > - or hairpin SQ creation fails, > > then device start will fail. If it is unset, PMD will fallback to creating > the hairpin SQ with WQ buffer located in unlocked device memory. > > 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