aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRongwei Liu <rongweil@nvidia.com>2022-01-28 06:14:16 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2022-03-17 11:51:57 -0700
commit597534bd56335c9e7bdb6c52d9abcb66e9cb9275 (patch)
treef28079e2cf15349587f81910a97416c7a3cd19ca /net/unix/af_unix.c
parentnet/mlx5: DR, Remove num_of_entries byte_size from struct mlx5_dr_icm_chunk (diff)
downloadwireguard-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