Yevgeny Kliteynik a00cd87880 net/mlx5: DR, Handle ICM memory via buddy allocation instead of buckets
Till now in order to manage the ICM memory we used bucket
mechanism, which kept a bucket per specified size (sizes were
between 1 block to 2^21 blocks).

Now changing that with buddy-system mechanism, which gives us much
more flexible way to manage the ICM memory.
Its biggest advantage over the bucket is by using the same ICM memory
area for all the sizes of blocks, which reduces the memory consumption.

Signed-off-by: Erez Shitrit <erezsh@nvidia.com>
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2020-11-05 12:09:29 -08:00
..
2020-10-31 16:17:02 -07:00
2020-10-20 10:28:21 -07:00
2020-10-20 10:28:21 -07:00
2020-10-29 11:33:03 -07:00
2020-10-20 10:28:21 -07:00
2020-10-23 18:37:23 -07:00
2020-10-17 11:18:18 -07:00
2020-10-30 17:42:53 -07:00