net/mlx5: allow age modes combination
authorMatan Azrad <matan@nvidia.com>
Sun, 1 Nov 2020 17:57:52 +0000 (17:57 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:07 +0000 (23:35 +0100)
commitf9bc5274a6f9c0010c486e0cbd0f69df7c7e1305
tree19a062291364cb60f16cb4be830175d59a6d183b
parent81073e1f8ce1250c54e20ea0e6adc06433d022eb
net/mlx5: allow age modes combination

ASO age action mode is not supported in group 0 while counter base age
action mode supports group 0.

Allow using the 2 modes of age action in parallel, so group 0 flows will
use counter base age actions and group > 0 flows will use ASO age
actions.

Currently, counter base age action doesn't support shared action API so
group 0 flows cannot share age actions.

Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Dekel Peled <dekelp@nvidia.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow_dv.c