net/mlx5: allocate list memory in create function
authorMatan Azrad <matan@nvidia.com>
Tue, 13 Jul 2021 08:44:46 +0000 (11:44 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 15 Jul 2021 13:19:13 +0000 (15:19 +0200)
commit679f46c7751fd5e7ff3b5039d28c06602e634223
tree86db16fc5037bf7a7ee0b0acddb6d61533a14e85
parent84fbba5b9e828702f6253380a931c6745a91785b
net/mlx5: allocate list memory in create function

Currently, the list memory was allocated by the list API caller.

Move it to be allocated by the create API in order to save consistence
with the hlist utility.

Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Suanming Mou <suanmingm@nvidia.com>
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_utils.c
drivers/net/mlx5/mlx5_utils.h
drivers/net/mlx5/windows/mlx5_os.c