OSDN Git Service

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)
commit35bb5242148fa16fd5b2f28b508e0c031e90c672
treea39bb61f08bf665a2b72e8505dd78a3175dc3651
parentc22080352ecfb1bbc024f36934457a4ac0c2f19c
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