]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Add support for TLP emulation
authorLeon Romanovsky <leon@kernel.org>
Thu, 5 Mar 2026 10:41:16 +0000 (05:41 -0500)
committerLeon Romanovsky <leon@kernel.org>
Thu, 5 Mar 2026 10:41:16 +0000 (05:41 -0500)
commitf63f1d74e952d85ada5af95a52ca61c7dc72d5e4
tree7c2aaea088317cbd6c7bcf1881ae22d25a29c950
parentf30bc6f9b9cc492634a333be9c6aa9755ca1bf17
parent385a06f74ff7a03e3fb0b15fb87cfeb052d75073
Add support for TLP emulation

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.

Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/device.c
drivers/infiniband/hw/efa/efa_verbs.c
drivers/infiniband/hw/mthca/mthca_provider.c
drivers/net/ethernet/mellanox/mlx5/core/main.c