net/mlx5: add connection tracking context update
authorBing Zhao <bingz@nvidia.com>
Wed, 5 May 2021 12:23:24 +0000 (15:23 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 5 May 2021 12:30:16 +0000 (14:30 +0200)
commit8c0c5c816ad5a8dc9e3d052d65b06d5832cbb55d
treee3371c5ab01982b76b9b5b957f254cef8864ab82
parent5cac1a5c8d6d3500503d16170b40ec35b88177c7
net/mlx5: add connection tracking context update

When updating a connection tracking context, two separate parts
could be updated.
First, the direction. This will only update the traffic direction
recorded in the software for flow creation.
Second, the TCP parameters. The hardware context will be updated
via the WQE. This update will be blocked until the hardware status
is updated and ready for the next flow creation.

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