diff options
| author | Maher Sanalla <msanalla@nvidia.com> | 2026-05-24 18:38:09 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-06-11 14:02:05 +0300 |
| commit | 8b0c66fa058b34015fcc7cafc9dea86dd91d8db9 (patch) | |
| tree | 15d9b87e83dc1b7c25a780a41fdc019e0bf7a673 /include/linux/debugobjects.h | |
| parent | c2cd90ab881c69ac0df3dbd0228656216d0e7aa8 (diff) | |
| download | linux-8b0c66fa058b34015fcc7cafc9dea86dd91d8db9.tar.xz | |
IB/core: Delegate IB_QP_RATE_LIMIT validation to drivers
Remove IB_QP_RATE_LIMIT from the qp_state_table and instead
pass it through ib_modify_qp_is_ok() unconditionally. This
delegates rate limit attribute validation to the individual
drivers that support it.
As rate limit support expands to additional QP types and transitions
across different vendors, centralizing this policy in the core becomes
impractical. Each driver is better positioned to enforce its own
supported QP types and transitions over non-standard attributes.
Future support for non-standard attributes will be handled per vendor
driver instead of in generic IB core qp_state_table.
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-8-3d79439f8d08@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
