Lines Matching refs:extack

20 				     struct netlink_ext_ack *extack)  in mlxsw_sp_policer_validate()  argument
23 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate()
30 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate()
37 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate()
44 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate()
50 NL_SET_ERR_MSG_MOD(extack, in mlxsw_sp_policer_validate()
62 struct netlink_ext_ack *extack) in mlxsw_sp_flower_parse_actions() argument
72 if (!flow_action_mixed_hw_stats_check(flow_action, extack)) in mlxsw_sp_flower_parse_actions()
80 err = mlxsw_sp_acl_rulei_act_count(mlxsw_sp, rulei, extack); in mlxsw_sp_flower_parse_actions()
84 NL_SET_ERR_MSG_MOD(extack, "Unsupported action HW stats type"); in mlxsw_sp_flower_parse_actions()
93 NL_SET_ERR_MSG_MOD(extack, "Cannot append terminate action"); in mlxsw_sp_flower_parse_actions()
101 …NL_SET_ERR_MSG_MOD(extack, "Drop action is not supported when block is bound to ingress and egress… in mlxsw_sp_flower_parse_actions()
106 act->user_cookie, extack); in mlxsw_sp_flower_parse_actions()
108 NL_SET_ERR_MSG_MOD(extack, "Cannot append drop action"); in mlxsw_sp_flower_parse_actions()
125 NL_SET_ERR_MSG_MOD(extack, "Cannot append trap action"); in mlxsw_sp_flower_parse_actions()
143 NL_SET_ERR_MSG_MOD(extack, "Cannot append jump action"); in mlxsw_sp_flower_parse_actions()
154 NL_SET_ERR_MSG_MOD(extack, "Redirect action is not supported on egress"); in mlxsw_sp_flower_parse_actions()
169 NL_SET_ERR_MSG_MOD(extack, "Cannot append ignore action"); in mlxsw_sp_flower_parse_actions()
176 fid_index, extack); in mlxsw_sp_flower_parse_actions()
182 out_dev, extack); in mlxsw_sp_flower_parse_actions()
191 NL_SET_ERR_MSG_MOD(extack, "Multiple mirror actions per rule are not supported"); in mlxsw_sp_flower_parse_actions()
197 extack); in mlxsw_sp_flower_parse_actions()
209 proto, prio, extack); in mlxsw_sp_flower_parse_actions()
217 extack); in mlxsw_sp_flower_parse_actions()
231 mask, val, extack); in mlxsw_sp_flower_parse_actions()
240 NL_SET_ERR_MSG_MOD(extack, "Multiple police actions per rule are not supported"); in mlxsw_sp_flower_parse_actions()
244 err = mlxsw_sp_policer_validate(flow_action, act, extack); in mlxsw_sp_flower_parse_actions()
257 burst, extack); in mlxsw_sp_flower_parse_actions()
264 NL_SET_ERR_MSG_MOD(extack, "Multiple sample actions per rule are not supported"); in mlxsw_sp_flower_parse_actions()
274 extack); in mlxsw_sp_flower_parse_actions()
280 NL_SET_ERR_MSG_MOD(extack, "Unsupported action"); in mlxsw_sp_flower_parse_actions()
287 NL_SET_ERR_MSG_MOD(extack, "Unsupported mangle field"); in mlxsw_sp_flower_parse_actions()
298 struct netlink_ext_ack *extack) in mlxsw_sp_flower_parse_meta_iif() argument
307 NL_SET_ERR_MSG_MOD(extack, "Unsupported ingress ifindex mask"); in mlxsw_sp_flower_parse_meta_iif()
314 NL_SET_ERR_MSG_MOD(extack, "Can't find specified ingress port to match on"); in mlxsw_sp_flower_parse_meta_iif()
319 NL_SET_ERR_MSG_MOD(extack, "Can't match on non-mlxsw ingress port"); in mlxsw_sp_flower_parse_meta_iif()
325 NL_SET_ERR_MSG_MOD(extack, "Can't match on a port from different device"); in mlxsw_sp_flower_parse_meta_iif()
353 f->common.extack); in mlxsw_sp_flower_parse_meta()
416 NL_SET_ERR_MSG_MOD(f->common.extack, "Only UDP and TCP keys are supported"); in mlxsw_sp_flower_parse_ports()
444 NL_SET_ERR_MSG_MOD(f->common.extack, "Only UDP and TCP keys are supported"); in mlxsw_sp_flower_parse_ports_range()
460 f->common.extack, &prr_index); in mlxsw_sp_flower_parse_ports_range()
478 f->common.extack, &prr_index); in mlxsw_sp_flower_parse_ports_range()
505 NL_SET_ERR_MSG_MOD(f->common.extack, "TCP keys supported only for TCP"); in mlxsw_sp_flower_parse_tcp()
513 NL_SET_ERR_MSG_MOD(f->common.extack, "TCP flags match not supported on reserved bits"); in mlxsw_sp_flower_parse_tcp()
536 NL_SET_ERR_MSG_MOD(f->common.extack, "IP keys supported only for IPv4/6"); in mlxsw_sp_flower_parse_ip()
583 NL_SET_ERR_MSG_MOD(f->common.extack, "Unsupported key"); in mlxsw_sp_flower_parse()
650 NL_SET_ERR_MSG_MOD(f->common.extack, "vlan_id key is not supported on egress"); in mlxsw_sp_flower_parse()
695 f->common.extack); in mlxsw_sp_flower_parse()
712 NL_SET_ERR_MSG(f->common.extack, "Failed to get matchall priorities"); in mlxsw_sp_flower_mall_prio_check()
716 NL_SET_ERR_MSG(f->common.extack, "Failed to add in front of existing matchall rules"); in mlxsw_sp_flower_mall_prio_check()
720 NL_SET_ERR_MSG(f->common.extack, "Failed to add behind of existing matchall rules"); in mlxsw_sp_flower_mall_prio_check()
746 f->common.extack); in mlxsw_sp_flower_replace()