[PATCH mlx5-next 0/2] Add support for direct steering tag mode for RDMA mlx5_ib driver
From: Leon Romanovsky
Date: Mon Oct 27 2025 - 05:34:24 EST
>From Yishai:
Add support for direct steering mode where ST table location equals
PCI_TPH_LOC_NONE.
In that case, no steering table exists, the steering tag itself will be
used directly by the SW, FW, HW from the mkey.
In that mode of work, the driver is not limited any more to the 64 max
entries of the capability config space table.
The first patch in the series exposes the pcie_tph_get_st_table_loc()
API to let drivers detect the ST table location.
The second patch uses the direct mode in case the location equals
PCI_TPH_LOC_NONE.
This enables RDMA users working in that direct mode.
Thanks
---
Yishai Hadas (2):
PCI/TPH: Expose pcie_tph_get_st_table_loc()
net/mlx5: Add direct ST mode support for RDMA
drivers/net/ethernet/mellanox/mlx5/core/lib/st.c | 29 ++++++++++++++++++++----
drivers/pci/tph.c | 7 +++---
include/linux/pci-tph.h | 1 +
3 files changed, 30 insertions(+), 7 deletions(-)
---
base-commit: eea31f21dce10814e34dc7ef7ed5136269c7bb59
change-id: 20251027-st-direct-mode-8d7d874a7d36
Best regards,
--
Leon Romanovsky <leonro@xxxxxxxxxx>