]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/mlx5: Add support for rate limit in UD and UC QPs
authorMaher Sanalla <msanalla@nvidia.com>
Sun, 24 May 2026 15:38:04 +0000 (18:38 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 11 Jun 2026 11:02:05 +0000 (07:02 -0400)
commit29e0a014ddfbdbd6b02684304dddbcf9161034ae
tree4f31c8a6f7a1435bd27bfb640f52bf714c8a3d7c
parente1008f19fa977d5b7c3912420e3b46b0a33e5316
RDMA/mlx5: Add support for rate limit in UD and UC QPs

Rate limiting is currently supported only for raw packet QPs, where
the packet pacing index is programmed into the SQC during SQ modify.

Extend rate limit support to UD and UC QPs by setting the pacing
index in the QPC during RTR2RTS and RTS2RTS transitions.

Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Link: https://patch.msgid.link/20260524-packet-pacing-v1-3-3d79439f8d08@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/qp.c
include/linux/mlx5/qp.h