net/mlx5: fix age action in transfer root group
authorJiawei Wang <jiaweiw@nvidia.com>
Wed, 12 May 2021 12:09:50 +0000 (15:09 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 12 May 2021 12:16:05 +0000 (14:16 +0200)
commit178f76cdf3e181118a3ca409391b3c25dcfae2fe
tree8d1a521ceff4545b3047ebba6e489f743f1ed602
parentc3e6adf037bfd89cdbe3deb383b9186c154be9e6
net/mlx5: fix age action in transfer root group

Current the ASO age action was supported in the non-root table,
and the counter based age action was be used in the root table.

The FDB table skips group 0 on MLX5 PMD by adding implicit rule
that jump to non-root table, but PMD code use the original group
value for checking.

This patch adds the transfer checking for ASO age action.

Fixes: f9bc5274a6f9 ("net/mlx5: allow age modes combination")
Cc: stable@dpdk.org
Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5_flow_dv.c