[PATCH rdma-next 0/6] Add support for TLP emulation

From: Leon Romanovsky

Date: Wed Feb 25 2026 - 09:20:00 EST


This series adds support for Transaction Layer Packet (TLP) emulation
response gateway regions, enabling userspace device emulation software
to write TLP responses directly to lower layers without kernel driver
involvement.

Currently, the mlx5 driver exposes VirtIO emulation access regions via
the MLX5_IB_METHOD_VAR_OBJ_ALLOC ioctl. This series extends that
ioctl to also support allocating TLP response gateway channels for
PCI device emulation use cases.

Thanks

Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
---
Maher Sanalla (6):
net/mlx5: Add TLP emulation device capabilities
net/mlx5: Expose TLP emulation capabilities
RDMA/mlx5: Refactor VAR table to use region abstraction
RDMA/mlx5: Add TLP VAR region support and infrastructure
RDMA/mlx5: Add support for TLP VAR allocation
RDMA/mlx5: Add VAR object query method for cross-process sharing

drivers/infiniband/hw/mlx5/main.c | 196 ++++++++++++++++++++-----
drivers/infiniband/hw/mlx5/mlx5_ib.h | 8 +-
drivers/net/ethernet/mellanox/mlx5/core/fw.c | 6 +
drivers/net/ethernet/mellanox/mlx5/core/main.c | 1 +
include/linux/mlx5/device.h | 9 ++
include/linux/mlx5/mlx5_ifc.h | 23 ++-
include/uapi/rdma/mlx5_user_ioctl_cmds.h | 9 ++
include/uapi/rdma/mlx5_user_ioctl_verbs.h | 4 +
8 files changed, 218 insertions(+), 38 deletions(-)
---
base-commit: 58409f0d4dd3f9e987214064e49b088823934304
change-id: 20260225-var-tlp-93de10adedb8

Best regards,
--
Leon Romanovsky <leonro@xxxxxxxxxx>