net/mlx5: add translation of connection tracking item
authorBing Zhao <bingz@nvidia.com>
Wed, 5 May 2021 12:23:23 +0000 (15:23 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 5 May 2021 12:30:16 +0000 (14:30 +0200)
commit5cac1a5c8d6d3500503d16170b40ec35b88177c7
treee3b12ea1b22592f97a21da0efb520b2455211195
parent2d084f69aa268634fa7ccefa52c980c1e17e17d0
net/mlx5: add translation of connection tracking item

The return register of the DR action will be used for matching.
After the ASO CT checking of a TCP packet, the syndrome is filled in
the register. Only the 8 LSB should be used. A converting from
RTE_FLOW_CONNTRACK_FLAG* to the syndrome should be done after
checking the spec and mask fields.

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