linux/drivers/infiniband/hw/ionic
Maher Sanalla c2cd90ab88 RDMA/ionic: Validate rate limit attribute in modify QP
Rate limit transition validation for RC QPs currently relies on
the IB core qp_state_table. Add a driver-level helper to validate
the rate limit attribute directly during QP modify, ensuring it
is only accepted for RC QPs in INIT->RTR, RTR->RTS and RTS->RTS
transitions.

This makes the driver responsible for rate limit validation
and prepares for a follow-up IB core change that delegates
IB_QP_RATE_LIMIT and all future non-standard modify attributes
handling to individual vendor drivers.

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-7-3d79439f8d08@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2026-06-11 07:02:05 -04:00
..
ionic_admin.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
ionic_controlpath.c RDMA/ionic: Validate rate limit attribute in modify QP 2026-06-11 07:02:05 -04:00
ionic_datapath.c RDMA/ionic: Register device ops for datapath 2025-09-11 02:18:36 -04:00
ionic_fw.h RDMA/ionic: Implement device stats ops 2025-09-11 02:18:36 -04:00
ionic_hw_stats.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
ionic_ibdev.c RDMA: Update the query_device() op 2026-06-03 15:12:43 -03:00
ionic_ibdev.h RDMA: Move DMA block iterator logic into dedicated files 2026-02-25 08:15:30 -05:00
ionic_lif_cfg.c RDMA/ionic: Register device ops for miscellaneous functionality 2025-09-11 02:18:36 -04:00
ionic_lif_cfg.h RDMA/ionic: Register device ops for miscellaneous functionality 2025-09-11 02:18:36 -04:00
ionic_pgtbl.c RDMA/ionic: Register device ops for datapath 2025-09-11 02:18:36 -04:00
ionic_queue.c RDMA/ionic: Create device queues to support admin operations 2025-09-11 02:18:36 -04:00
ionic_queue.h RDMA/ionic: Create device queues to support admin operations 2025-09-11 02:18:36 -04:00
ionic_res.h RDMA/ionic: Create device queues to support admin operations 2025-09-11 02:18:36 -04:00
Kconfig RDMA/ionic: Add Makefile/Kconfig to kernel build environment 2025-09-11 02:18:36 -04:00
Makefile RDMA/ionic: Add Makefile/Kconfig to kernel build environment 2025-09-11 02:18:36 -04:00