aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2021-02-19 10:06:54 +0000
committerSaeed Mahameed <[email protected]>2021-04-02 23:13:06 +0000
commit6b30b6d4d36c978e0ab0f22e85bf3c646732e98b (patch)
tree218be75a0b8e2807f1e45cb6cf487743333cf4b8 /drivers/net/wan/lapbether.c
parentnet/mlx5: Use helper to increment, decrement rate entry refcount (diff)
downloadkernel-6b30b6d4d36c978e0ab0f22e85bf3c646732e98b.tar.gz
kernel-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 <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions