net/mlx5: support connection tracking modify
authorBing Zhao <bingz@nvidia.com>
Wed, 5 May 2021 12:23:17 +0000 (15:23 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 5 May 2021 12:30:12 +0000 (14:30 +0200)
commitebaf1b318cda35f2726ae2fcc5ca2a4cf66a885c
tree661437c9e33118055b29331130a6908c9ada49f8
parent8207e84b21de6dca0f2b27a3f2bdd4cc2c420588
net/mlx5: support connection tracking modify

After the connection tracking object bulk is allocated, all the
objects' contents are filled with zero by default. Every
new-allocated object must be modified via WQE operation before it is
used.

In order to reduce the latency for the flow creation, an asynchronous
way is used instead of busy waiting for the CQE to be generated.

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