numam-dpdk/drivers/common
Dariusz Sosnowski e58c372d76 common/mlx5: add hairpin SQ buffer type capabilities
This patch extends HCA_CAP and SQ Context structs available in PRM. This
fields allow checking if NIC supports storing hairpin SQ's WQ buffer in
host memory and configuring such memory placement.

HCA capabilities are extended with the following fields:

- hairpin_sq_wq_in_host_mem - If set, then NIC supports using host
memory as a backing storage for hairpin SQ's WQ buffer.
- hairpin_sq_wqe_bb_size - Indicates the required size of SQ WQE basic
block.

SQ Context is extended with hairpin_wq_buffer_type which informs
NIC where SQ's WQ buffer will be stored. This field can take the
following values:

- MLX5_SQC_HAIRPIN_WQ_BUFFER_TYPE_INTERNAL_BUFFER - WQ buffer will be
  stored in unlocked device memory.
- MLX5_SQC_HAIRPIN_WQ_BUFFER_TYPE_HOST_MEMORY - WQ buffer will be stored
  in host memory. Buffer is provided by PMD.

Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2022-10-08 18:22:08 +02:00
..
cnxk dma/cnxk: support CN10K DMA engine 2022-10-03 19:22:30 +02:00
cpt common/cpt: fix build with GCC 12 2022-06-21 20:04:49 +02:00
dpaax replace zero-length arrays with flexible ones 2022-06-07 16:44:21 +02:00
iavf common/iavf: support flow subscription 2022-09-07 20:33:26 +02:00
mlx5 common/mlx5: add hairpin SQ buffer type capabilities 2022-10-08 18:22:08 +02:00
mvep drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
octeontx eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
qat crypto/qat: support SM3 hash algorithm 2022-10-02 20:33:24 +02:00
sfc_efx common/sfc_efx/base: use avail and used terms for indexes 2022-10-04 17:22:56 +02:00
meson.build drivers: remove octeontx2 drivers 2022-01-12 15:36:32 +01:00