]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Move goto action checks into tc_action goto post parse op
authorRoi Dayan <roid@nvidia.com>
Sun, 15 Aug 2021 10:23:14 +0000 (13:23 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 15 Dec 2021 05:29:46 +0000 (21:29 -0800)
commit9de7834b7e9e19e4a21283ecfaeeecf89efb0e64
treea39bb61f08bf665a2b72e8505dd78a3175dc3651
parentfb260acd5de1e96fc4b0053c0d5aae9fe63316df
net/mlx5e: Move goto action checks into tc_action goto post parse op

Move goto action checks from parse nic/fdb funcs into the tc action
infra goto post parse op.
While moving this part also use NL_SET_ERR_MSG_MOD() instead of
NL_SET_ERR_MSG().

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