net/mlx5: use meter color register for connection tracking
authorBing Zhao <bingz@nvidia.com>
Wed, 5 May 2021 12:23:14 +0000 (15:23 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 5 May 2021 12:30:11 +0000 (14:30 +0200)
commit8ebbc01f4275af5555a0a81702768596a4ca8089
tree4fc600590a9980f2ec59b42d6b55d4de4792839f
parent0c6285b727012b84299e4370abe8ec68d7d5c843
net/mlx5: use meter color register for connection tracking

Based on the capacity, 3 registers could be used. Due to the register
allocation, only the one REG_C_3 for meter color could be reused
right now.

Then in the same flow, no more than one ASO action can be supported.

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.c
drivers/net/mlx5/mlx5_flow.h