aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2021-02-19 12:06:54 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-04-02 16:13:06 -0700
commit6b30b6d4d36c978e0ab0f22e85bf3c646732e98b (patch)
tree218be75a0b8e2807f1e45cb6cf487743333cf4b8 /tools/perf/scripts/python
parentnet/mlx5: Use helper to increment, decrement rate entry refcount (diff)
downloadlinux-6b30b6d4d36c978e0ab0f22e85bf3c646732e98b.tar.gz
linux-6b30b6d4d36c978e0ab0f22e85bf3c646732e98b.zip
net/mlx5: Allocate rate limit table when rate is configured
A device supports 128 rate limiters. A static table allocation consumes 8KB of memory even when rate is not configured. Instead, allocate the table when at least one rate is configured. Signed-off-by: Parav Pandit <parav@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions