]> git.droids-corp.org - dpdk.git/commit
common/mlx5: add minimum WQE size for striding RQ
authorMichael Baum <michaelba@nvidia.com>
Tue, 23 Nov 2021 18:38:03 +0000 (20:38 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Sun, 5 Dec 2021 11:22:05 +0000 (12:22 +0100)
commit10599cf83ebe768fe5ebe3e430c2a3c4250aafca
tree70a7fc6704023f864283fe064c70f0c4dabdc496
parent252b5ae03685e3d4a0a184b7c6a603ea8837419b
common/mlx5: add minimum WQE size for striding RQ

Some devices have a WQE size limit for striding RQ. On some newer
devices, this limitation is smaller and information on its size is
provided by the firmware.

This patch adds the attribute query from firmware: the minimum required
size of WQE buffer for striding RQ in granularity of Bytes.

Cc: stable@dpdk.org
Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/common/mlx5/mlx5_prm.h