diff options
| author | Rongwei Liu <[email protected]> | 2022-01-28 04:10:54 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2022-03-17 18:51:56 +0000 |
| commit | 003f4f9acb057e405375492e94732183e638be29 (patch) | |
| tree | 70465862bdc3d567938d418e7842fbc58f029e89 /net/unix/af_unix.c | |
| parent | net/mlx5: DR, Adjust structure member to reduce memory hole (diff) | |
| download | kernel-003f4f9acb057e405375492e94732183e638be29.tar.gz kernel-003f4f9acb057e405375492e94732183e638be29.zip | |
net/mlx5: DR, Remove mr_addr rkey from struct mlx5dr_icm_chunk
Reduce memory footprint by removing mr_addr and rkey from
mlx5_dr_icm_chunk.
1. mr_addr is calculated by mlx5dr_icm_pool_get_chunk_mr_addr()
2. rkey is calculated by mlx5dr_icm_pool_get_chunk_rkey()
The two new functions are very lightweight and straightforward.
Reduce 8 bytes from struct mlx5_dr_icm_chunk, its current size is
72 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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
