This patchset will move all the mlx5 Tx queues memory to a consecutive memory area. All the WQEBBs will be allocated based on the offset of this memory area.
--- v2: 1. add a new fix for legacy code of WQE calculation 2. fix the style --- Bing Zhao (3): net/mlx5: fix the WQE size calculation for Tx queue net/mlx5: add new devarg for Tx queue consecutive memory net/mlx5: use consecutive memory for all Tx queues drivers/common/mlx5/mlx5_common.h | 2 + drivers/common/mlx5/mlx5_common_devx.c | 77 +++++++++++++++++--------- drivers/common/mlx5/mlx5_common_devx.h | 2 +- drivers/common/mlx5/mlx5_devx_cmds.h | 5 ++ drivers/net/mlx5/hws/mlx5dr_internal.h | 1 - drivers/net/mlx5/mlx5.c | 14 +++++ drivers/net/mlx5/mlx5.h | 7 +++ drivers/net/mlx5/mlx5_devx.c | 34 ++++++++++-- drivers/net/mlx5/mlx5_flow_aso.c | 2 +- drivers/net/mlx5/mlx5_trigger.c | 56 +++++++++++++++++++ drivers/net/mlx5/mlx5_tx.h | 2 + drivers/net/mlx5/mlx5_txpp.c | 2 +- drivers/net/mlx5/mlx5_txq.c | 30 ++++++++-- 13 files changed, 194 insertions(+), 40 deletions(-) -- 2.34.1