diff options
| author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2026-08-06 10:30:37 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-11 18:06:30 -0700 |
| commit | 38c35fdd801eaa67b83ea3b4d317f3fd2b87de63 (patch) | |
| tree | 13f7cbcf6f9a7c04e6781f1358e72f7ab686ce75 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 26ba30221c03364d6ed9910be8da4c1fd871b07b (diff) | |
net/mlx5: implement max_sfs parameter
Implement max_sfs generic parameter to allow users to control the total
light-weight NIC subfunctions that can be created using devlink instead
of external vendor tools. A value of 0 will effectively disable creation
of new subfunction devices. A warning is sent to user-space via extack
(returning extack without error code is interpreted as a warning by
user-space tools). The maximum value is capped at U16_MAX.
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260806073037.3001886-3-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
