net/mlx5: support connection tracking between two ports
authorBing Zhao <bingz@nvidia.com>
Wed, 5 May 2021 12:23:27 +0000 (15:23 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 5 May 2021 12:30:18 +0000 (14:30 +0200)
commit4f74cb68b96496acce845e75b5533f019f248b1e
tree1c9ae80f0f1131862790a187b10ae424a059bc30
parentaca19061e4b961c1d31dedb690a8171c6e150dad
net/mlx5: support connection tracking between two ports

After creating a connection tracking context, it can be used between
two ports. For each port, the flow for one direction traffic will
be created.

The context can only be shared between the owner port and the peer
port that was specified when being created. Only the owner port
could update the context or query it in current implementation.

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