common/mlx5: convert control path memory to unified malloc
authorSuanming Mou <suanmingm@mellanox.com>
Sun, 28 Jun 2020 08:18:15 +0000 (16:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 13:46:21 +0000 (15:46 +0200)
commit66914d19d1353f2a4c610c411aa6442b166eea57
treeebcaee187b1727ce15942540c73e6d18ded5102f
parent83c2047c5fe82fb25674c3053d4871838e7455cb
common/mlx5: convert control path memory to unified malloc

This commit allocates the control path objects memory from the unified
malloc function.

These objects are all used during the instances initialize, it will not
affect the data path.

Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/common/mlx5/linux/mlx5_glue.c
drivers/common/mlx5/linux/mlx5_nl.c
drivers/common/mlx5/mlx5_common_mp.c
drivers/common/mlx5/mlx5_devx_cmds.c