summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorChiara Meiohas <cmeiohas@nvidia.com>2025-02-26 16:01:07 +0300
committerLeon Romanovsky <leon@kernel.org>2025-03-08 21:22:42 +0300
commitf9deed0980fe29c57488f395528fe3d923c91b1f (patch)
tree6d533b06cce02aa7b04a6e23964cce5239676d6a /net/lapb/lapb_subr.c
parent0a34fad1bed45ff2245ab8c315bc3d4c6471af46 (diff)
downloadlinux-f9deed0980fe29c57488f395528fe3d923c91b1f.tar.xz
net/mlx5: Limit non-privileged commands
Limit non-privileged UID commands to half of the available command slots when privileged UIDs are present. Privileged throttle commands will not be limited. Use an xarray to store privileged UIDs. Add insert and remove functions for privileged UIDs management. Non-user commands (with uid 0) are not limited. Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/d2f3dd9a0dbad3c9f2b4bb0723837995e4e06de2.1740574103.git.leon@kernel.org Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions