diff options
author | Rongwei Liu <rongweil@nvidia.com> | 2022-01-28 07:10:54 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-03-17 21:51:56 +0300 |
commit | 003f4f9acb057e405375492e94732183e638be29 (patch) | |
tree | 70465862bdc3d567938d418e7842fbc58f029e89 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8f85336503259b9d3be139cd44abb1a5ccbd1191 (diff) | |
download | linux-003f4f9acb057e405375492e94732183e638be29.tar.xz |
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 <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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions