diff options
| author | Maher Sanalla <msanalla@nvidia.com> | 2026-05-24 18:38:08 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-06-11 14:02:05 +0300 |
| commit | c2cd90ab881c69ac0df3dbd0228656216d0e7aa8 (patch) | |
| tree | 995b01ebd8dcba391f085899b938b4dabe06fab1 /include/linux | |
| parent | 8cca27313636c3e2cfc5f8071abfbbfdcf3138f8 (diff) | |
| download | linux-c2cd90ab881c69ac0df3dbd0228656216d0e7aa8.tar.xz | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
