]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 5 Oct 2021 01:10:53 +0000 (18:10 -0700)
commit4eb6267276a03e04ee04f0e494b1c565ca48e27d
treed2ca1371e36472f37deb282a3ec77345033499ee
parent573966864c559ff7798e7008eac3c580c03e279b
net/mlx5e: Split actions_match_supported() into a sub function

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>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c