aboutsummaryrefslogtreecommitdiff
path: root/include/linux/trace_recursion.h
diff options
context:
space:
mode:
authorRongwei Liu <[email protected]>2022-01-28 06:13:07 +0200
committerSaeed Mahameed <[email protected]>2022-03-17 11:51:57 -0700
commitf51bb51793008d559d45a5fb0d856b2deb87890a (patch)
tree6f7291eff4a9b315e06a4476fa18fb93d36d5d8e /include/linux/trace_recursion.h
parent5c4f9b6e91e8b3957abe95b18040cc519ce6edc0 (diff)
net/mlx5: DR, Remove num_of_entries byte_size from struct mlx5_dr_icm_chunk
Target to reduce the memory consumption in large scale of flow rules. They can be calculated quickly from buddy memory pool. 1. num_of_entries calls dr_icm_pool_get_chunk_num_of_entries(). 2. byte_size calls dr_icm_pool_get_chunk_byte_size(). Use chunk size in dr_icm_chunk to speed up and the one in dr_ste_htbl will be removed in the upcoming commit. This commit reduce 8 bytes from struct mlx5_dr_icm_chunk and its current size is 56 bytes. Signed-off-by: Rongwei Liu <[email protected]> Reviewed-by: Shun Hao <[email protected]> Reviewed-by: Yevgeny Kliteynik <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include/linux/trace_recursion.h')
0 files changed, 0 insertions, 0 deletions