net/mlx5e: TC, Move common flow_action checks into function
authorRoi Dayan <roid@nvidia.com>
Thu, 28 Oct 2021 12:50:49 +0000 (15:50 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 3 Dec 2021 00:53:15 +0000 (16:53 -0800)
commitdf990477242f96b48ae1eee5ea8a5f1d2879f67a
treee19eb0de20e4d9a784d14759e4432baecca388ae
parent70a140ea6f79b04810b66e80170b02879f03ef65
net/mlx5e: TC, Move common flow_action checks into function

Remove duplicate checks on flow_action by using common function.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c