Lines Matching refs:extack
28 struct netlink_ext_ack *extack) in mlxsw_sp_mall_port_mirror_add() argument
37 NL_SET_ERR_MSG(extack, "Could not find requested device"); in mlxsw_sp_mall_port_mirror_add()
45 NL_SET_ERR_MSG(extack, "Failed to get SPAN agent"); in mlxsw_sp_mall_port_mirror_add()
52 NL_SET_ERR_MSG(extack, "Failed to get analyzed port"); in mlxsw_sp_mall_port_mirror_add()
63 NL_SET_ERR_MSG(extack, "Failed to bind SPAN agent"); in mlxsw_sp_mall_port_mirror_add()
105 struct netlink_ext_ack *extack) in mlxsw_sp_mall_port_sample_add() argument
118 extack); in mlxsw_sp_mall_port_sample_add()
123 mall_entry, extack); in mlxsw_sp_mall_port_sample_add()
153 struct netlink_ext_ack *extack) in mlxsw_sp_mall_port_rule_add() argument
158 extack); in mlxsw_sp_mall_port_rule_add()
161 extack); in mlxsw_sp_mall_port_rule_add()
214 NL_SET_ERR_MSG(f->common.extack, "Only singular actions are supported"); in mlxsw_sp_mall_replace()
219 NL_SET_ERR_MSG(f->common.extack, "Only chain 0 is supported"); in mlxsw_sp_mall_replace()
224 NL_SET_ERR_MSG(f->common.extack, "Only not mixed bound blocks are supported"); in mlxsw_sp_mall_replace()
232 NL_SET_ERR_MSG(f->common.extack, "Failed to get flower priorities"); in mlxsw_sp_mall_replace()
242 NL_SET_ERR_MSG(f->common.extack, "matchall rules only supported with 'all' protocol"); in mlxsw_sp_mall_replace()
255 NL_SET_ERR_MSG(f->common.extack, "Failed to add behind existing flower rules"); in mlxsw_sp_mall_replace()
261 NL_SET_ERR_MSG(f->common.extack, "Failed to add in front of existing flower rules"); in mlxsw_sp_mall_replace()
287 mall_entry, f->common.extack); in mlxsw_sp_mall_replace()
318 NL_SET_ERR_MSG(f->common.extack, "Entry not found"); in mlxsw_sp_mall_destroy()
336 struct netlink_ext_ack *extack) in mlxsw_sp_mall_port_bind() argument
343 extack); in mlxsw_sp_mall_port_bind()
382 struct netlink_ext_ack *extack) in mlxsw_sp1_mall_sample_add() argument
387 NL_SET_ERR_MSG(extack, "Sampling is not supported on egress"); in mlxsw_sp1_mall_sample_add()
392 NL_SET_ERR_MSG(extack, "Unsupported sampling rate"); in mlxsw_sp1_mall_sample_add()
414 struct netlink_ext_ack *extack) in mlxsw_sp2_mall_sample_add() argument
428 NL_SET_ERR_MSG(extack, "Failed to get SPAN agent"); in mlxsw_sp2_mall_sample_add()
435 NL_SET_ERR_MSG(extack, "Failed to get analyzed port"); in mlxsw_sp2_mall_sample_add()
446 NL_SET_ERR_MSG(extack, "Failed to bind SPAN agent"); in mlxsw_sp2_mall_sample_add()