net/mlx5: add actions for connection tracking creation
authorBing Zhao <bingz@nvidia.com>
Wed, 5 May 2021 12:23:18 +0000 (15:23 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 5 May 2021 12:30:13 +0000 (14:30 +0200)
commit2db75e8b1d7b38024722b5fa3446090214850687
tree520b65f45dc56dbaacefef3dc3d0a895376665e1
parentebaf1b318cda35f2726ae2fcc5ca2a4cf66a885c
net/mlx5: add actions for connection tracking creation

Allocating a CT from the management pools and creating the DR actions
for both directions by default.

If there is no available connection tracking action, a new pool will
be created with a fixed size bulk allocation. Right now, all the
resources are controlled by the linked list.

The ASO connection tracking context associated with these actions
need to be updated via WQE before using for steering.

Signed-off-by: Bing Zhao <bingz@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c