summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlex Vesker <valex@mellanox.com>2019-08-19 13:46:40 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-09-03 12:54:20 -0700
commit29cf8febd1857d07de3bc62858e6311de2fb116d (patch)
treee758a8c3d624487bafbdd7ba4972806ad960192c /tools/perf/scripts/python/export-to-postgresql.py
parent1d9186476e12c85dc81a0f01f5c614a9683af7f2 (diff)
net/mlx5: DR, ICM pool memory allocator
ICM device memory is used for writing steering rules (STEs) to the NIC. An ICM memory pool allocator was implemented to manage the required memory. The pool consists of buckets, a bucket per chunk size. Once a bucket is empty we will cut a row of memory from the latest allocated MR, if the MR size is not sufficient we will allocate a new MR. HW design requires that chunks memory address should be aligned to the chunk size, this is the reason for managing the MR with row size that insures memory alignment. Current design is greedy in memory but provides quick allocation times in steady state. Signed-off-by: Alex Vesker <valex@mellanox.com> Reviewed-by: Erez Shitrit <erezsh@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions