]> git.dujemihanovic.xyz Git - linux.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)
commit9c1d3511a2c2fd30c991a20c670991ece4ef27c1
treed2ca1371e36472f37deb282a3ec77345033499ee
parentd9581e2fa73fadba187b2e62e05306e24e8a1ded
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