diff options
author | 2022-01-28 06:14:16 +0200 | |
---|---|---|
committer | 2022-03-17 11:51:57 -0700 | |
commit | 597534bd56335c9e7bdb6c52d9abcb66e9cb9275 (patch) | |
tree | f28079e2cf15349587f81910a97416c7a3cd19ca /net/unix/af_unix.c | |
parent | net/mlx5: DR, Remove num_of_entries byte_size from struct mlx5_dr_icm_chunk (diff) | |
download | wireguard-linux-597534bd56335c9e7bdb6c52d9abcb66e9cb9275.tar.xz wireguard-linux-597534bd56335c9e7bdb6c52d9abcb66e9cb9275.zip |
net/mlx5: DR, Remove 4 members from mlx5dr_ste_htbl to reduce memory
Remove chunk_size in struct mlx5dr_icm_chunk and use
chunk->size instead.
Remove ste_arr/hw_ste_arr/miss_list since they can be accessed
from htbl->chunk pointer, no need to keep a copy.
This commit reduces 28 bytes from struct mlx5dr_ste_htbl and its
size is 32 bytes now.
Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Reviewed-by: Shun Hao <shunh@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions