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->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()
166 fid_index, extack); in mlxsw_sp_flower_parse_actions()
172 out_dev, extack); in mlxsw_sp_flower_parse_actions()
181 NL_SET_ERR_MSG_MOD(extack, "Multiple mirror actions per rule are not supported"); in mlxsw_sp_flower_parse_actions()
187 extack); in mlxsw_sp_flower_parse_actions()
199 proto, prio, extack); in mlxsw_sp_flower_parse_actions()
207 extack); in mlxsw_sp_flower_parse_actions()
221 mask, val, extack); in mlxsw_sp_flower_parse_actions()
230 NL_SET_ERR_MSG_MOD(extack, "Multiple police actions per rule are not supported"); in mlxsw_sp_flower_parse_actions()
234 err = mlxsw_sp_policer_validate(flow_action, act, extack); in mlxsw_sp_flower_parse_actions()
247 burst, extack); in mlxsw_sp_flower_parse_actions()
254 NL_SET_ERR_MSG_MOD(extack, "Multiple sample actions per rule are not supported"); in mlxsw_sp_flower_parse_actions()
264 extack); in mlxsw_sp_flower_parse_actions()
270 NL_SET_ERR_MSG_MOD(extack, "Unsupported action"); in mlxsw_sp_flower_parse_actions()
277 NL_SET_ERR_MSG_MOD(extack, "Unsupported mangle field"); in mlxsw_sp_flower_parse_actions()
298 NL_SET_ERR_MSG_MOD(f->common.extack, "Unsupported ingress ifindex mask"); in mlxsw_sp_flower_parse_meta()
305 NL_SET_ERR_MSG_MOD(f->common.extack, "Can't find specified ingress port to match on"); in mlxsw_sp_flower_parse_meta()
310 NL_SET_ERR_MSG_MOD(f->common.extack, "Can't match on non-mlxsw ingress port"); in mlxsw_sp_flower_parse_meta()
316 NL_SET_ERR_MSG_MOD(f->common.extack, "Can't match on a port from different device"); in mlxsw_sp_flower_parse_meta()
387 NL_SET_ERR_MSG_MOD(f->common.extack, "Only UDP and TCP keys are supported"); in mlxsw_sp_flower_parse_ports()
414 NL_SET_ERR_MSG_MOD(f->common.extack, "TCP keys supported only for TCP"); in mlxsw_sp_flower_parse_tcp()
422 NL_SET_ERR_MSG_MOD(f->common.extack, "TCP flags match not supported on reserved bits"); in mlxsw_sp_flower_parse_tcp()
445 NL_SET_ERR_MSG_MOD(f->common.extack, "IP keys supported only for IPv4/6"); in mlxsw_sp_flower_parse_ip()
491 NL_SET_ERR_MSG_MOD(f->common.extack, "Unsupported key"); in mlxsw_sp_flower_parse()
558 NL_SET_ERR_MSG_MOD(f->common.extack, "vlan_id key is not supported on egress"); in mlxsw_sp_flower_parse()
598 f->common.extack); in mlxsw_sp_flower_parse()
615 NL_SET_ERR_MSG(f->common.extack, "Failed to get matchall priorities"); in mlxsw_sp_flower_mall_prio_check()
619 NL_SET_ERR_MSG(f->common.extack, "Failed to add in front of existing matchall rules"); in mlxsw_sp_flower_mall_prio_check()
623 NL_SET_ERR_MSG(f->common.extack, "Failed to add behind of existing matchall rules"); in mlxsw_sp_flower_mall_prio_check()
649 f->common.extack); in mlxsw_sp_flower_replace()