[PATCH mlx5-next 0/2] Add support for direct steering tag mode for RDMA mlx5_ib driver

Leon Romanovsky posted 2 patches 3 months, 1 week ago
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(-)
[PATCH mlx5-next 0/2] Add support for direct steering tag mode for RDMA mlx5_ib driver
Posted by Leon Romanovsky 3 months, 1 week ago
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@nvidia.com>
Re: [PATCH mlx5-next 0/2] Add support for direct steering tag mode for RDMA mlx5_ib driver
Posted by Leon Romanovsky 2 months, 4 weeks ago
On Mon, Oct 27, 2025 at 11:34:00AM +0200, Leon Romanovsky wrote:
> >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

Thanks, applied to mlx5-next.