summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMaher Sanalla <msanalla@nvidia.com>2026-05-24 18:38:07 +0300
committerLeon Romanovsky <leon@kernel.org>2026-06-11 14:02:05 +0300
commit8cca27313636c3e2cfc5f8071abfbbfdcf3138f8 (patch)
tree9234b28554589b9814929c88a167f1a9d26de7cb /include/linux
parent1f307090e9575005ae3fc5cbb9d9520dcaf5086d (diff)
downloadlinux-8cca27313636c3e2cfc5f8071abfbbfdcf3138f8.tar.xz
RDMA/bnxt_re: 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-6-3d79439f8d08@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions