net/mlx5: allocate flow API from indexed pool
authorSuanming Mou <suanmingm@mellanox.com>
Thu, 16 Apr 2020 08:34:30 +0000 (16:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:09 +0000 (13:57 +0200)
commitab612adc1ea7465fbefa4041bc608bc9e8646a8e
tree9220bcf780ca0adca236e8c08bfc88d1f6968f0f
parente745f900072e7d5fa286ce2a0577748502bf6d5a
net/mlx5: allocate flow API from indexed pool

This commit allocates rte flow from indexed memory pool.

Allocate rte flow memory from indexed memory pool helps save more than
MALLOC_ELEM_OVERHEAD bytes memory from rte_malloc().

Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow.h