net/mlx5: Add support EXECUTE_ASO action for flow entry
authorJianbo Liu <jianbol@nvidia.com>
Wed, 8 Jun 2022 20:04:49 +0000 (13:04 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 13 Jun 2022 21:59:06 +0000 (14:59 -0700)
commit91707779a481aab9c7f1d7a5ea3033ce87dc4fd6
tree5ea5457dc9bd2c15509ceac41aa0727c8f609673
parent3e94e61bd44d90070dcda53b647fdc826097ef26
net/mlx5: Add support EXECUTE_ASO action for flow entry

Attach flow meter to FTE with object id and index.
Use metadata register C5 to store the packet color meter result.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
include/linux/mlx5/fs.h