Hi,
On 08/01/2026 10:12 AM, Shani Peretz wrote:
mlx5 PMD is a bifurcated driver, which uses rdma-core APIs to communicate with HW instead of UIO or VFIO directly. It is possible for external libraries built on rdma-core to steer traffic to DPDK-managed Rx queues using mlx5dv flow API. This requires access to TIR object handles. TIR (Transport Interface Receive) is a hardware object that defines how incoming packets are distributed across Rx queues. It encodes the complete RSS configuration including the hash function type, hash key, set of destination queues, and which packet fields (IP addresses, ports, etc.) participate in the hash calculation. When a flow rule uses a TIR as its destination, the hardware applies this RSS configuration to matching packets. Add the following functions to mlx5 PMD private API: - rte_pmd_mlx5_rss_tir_register(): Create a TIR DevX object based on the provided RSS configuration. The returned TIR handle can be used as a destination action in mlx5dv flow steering APIs from rdma-core. - rte_pmd_mlx5_rss_tir_unregister(): Release the TIR object when no longer needed. Signed-off-by: Shani Peretz <[email protected]> Acked-by: Dariusz Sosnowski <[email protected]>
Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh

