summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMaher Sanalla <msanalla@nvidia.com>2026-05-24 18:38:03 +0300
committerLeon Romanovsky <leon@kernel.org>2026-06-11 14:02:05 +0300
commite1008f19fa977d5b7c3912420e3b46b0a33e5316 (patch)
tree615020e4eabd759604f98a8964608484bb5e6795 /include/linux/debugobjects.h
parenta7b8dac8881dc6853afc46964e014a39d5cecad3 (diff)
downloadlinux-e1008f19fa977d5b7c3912420e3b46b0a33e5316.tar.xz
RDMA/mlx5: Refactor raw packet QP rate limit handling
Refactor the raw packet QP modify path to extract rate limit configuration into a qp_rl_parse() helper that parses user attributes, and a qp_rl_prepare() helper that handles FW rate limit table adjustments before the SQ modify itself. Use qp_rl_commit() to commit changes to QP once FW call succeeds, and qp_rl_rollback() to rollback changes done to the FW rate limit table in the prepare stage, in case the modify operation fails. These helpers will be reused for extending rate limit support to additional QP types in the following patch. 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-2-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