]> 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)
commitfeeec9da8f226ca4e57ea8544cada195aa2393e1
treed2ca1371e36472f37deb282a3ec77345033499ee
parent1c381020b689f1322b4361fcf460381177dd6746
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