net/mlx5e: Split actions_match_supported() into a sub function
authorRoi Dayan <roid@nvidia.com>
Sun, 15 Aug 2021 09:53:13 +0000 (12:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jul 2022 14:34:54 +0000 (16:34 +0200)
commitaa944fefb39647a4118d890e7f18cce525f68fc4
treed60439ca3e0ea75e753a1aa4bebe9d413c9fb53a
parentf1c36a47a3b409faadb3db1ef6a472dd456efa81
net/mlx5e: Split actions_match_supported() into a sub function

[ Upstream commit 9c1d3511a2c2fd30c991a20c670991ece4ef27c1 ]

There will probably be more checks, some for nic flows, some for fdb
flows and some are shared checks. Split it for fdb and nic to avoid
the function getting too big.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c