Lines Matching refs:extack

87 			   struct netlink_ext_ack *extack)  in tunnel_key_copy_geneve_opt()  argument
95 nla, geneve_opt_policy, extack); in tunnel_key_copy_geneve_opt()
102 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in tunnel_key_copy_geneve_opt()
109 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in tunnel_key_copy_geneve_opt()
113 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in tunnel_key_copy_geneve_opt()
139 struct netlink_ext_ack *extack) in tunnel_key_copy_vxlan_opt() argument
145 vxlan_opt_policy, extack); in tunnel_key_copy_vxlan_opt()
150 NL_SET_ERR_MSG(extack, "Missing tunnel key vxlan option gbp"); in tunnel_key_copy_vxlan_opt()
166 struct netlink_ext_ack *extack) in tunnel_key_copy_erspan_opt() argument
173 erspan_opt_policy, extack); in tunnel_key_copy_erspan_opt()
178 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option ver"); in tunnel_key_copy_erspan_opt()
185 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option index"); in tunnel_key_copy_erspan_opt()
191 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option dir or hwid"); in tunnel_key_copy_erspan_opt()
195 NL_SET_ERR_MSG(extack, "Tunnel key erspan option ver is incorrect"); in tunnel_key_copy_erspan_opt()
218 int dst_len, struct netlink_ext_ack *extack) in tunnel_key_copy_opts() argument
224 enc_opts_policy, extack); in tunnel_key_copy_opts()
232 NL_SET_ERR_MSG(extack, "Duplicate type for geneve options"); in tunnel_key_copy_opts()
236 dst_len, extack); in tunnel_key_copy_opts()
241 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in tunnel_key_copy_opts()
252 NL_SET_ERR_MSG(extack, "Duplicate type for vxlan options"); in tunnel_key_copy_opts()
256 dst_len, extack); in tunnel_key_copy_opts()
264 NL_SET_ERR_MSG(extack, "Duplicate type for erspan options"); in tunnel_key_copy_opts()
268 dst_len, extack); in tunnel_key_copy_opts()
278 NL_SET_ERR_MSG(extack, "Empty list of tunnel options"); in tunnel_key_copy_opts()
283 NL_SET_ERR_MSG(extack, "Trailing data after parsing tunnel key options attributes"); in tunnel_key_copy_opts()
291 struct netlink_ext_ack *extack) in tunnel_key_get_opts_len() argument
293 return tunnel_key_copy_opts(nla, NULL, 0, extack); in tunnel_key_get_opts_len()
297 int opts_len, struct netlink_ext_ack *extack) in tunnel_key_opts_set() argument
305 opts_len, extack); in tunnel_key_opts_set()
313 opts_len, extack); in tunnel_key_opts_set()
321 opts_len, extack); in tunnel_key_opts_set()
326 NL_SET_ERR_MSG(extack, "Cannot set tunnel options for unknown tunnel type"); in tunnel_key_opts_set()
358 struct netlink_ext_ack *extack) in tunnel_key_init() argument
379 NL_SET_ERR_MSG(extack, "Tunnel requires attributes to be passed"); in tunnel_key_init()
384 tunnel_key_policy, extack); in tunnel_key_init()
386 NL_SET_ERR_MSG(extack, "Failed to parse nested tunnel key attributes"); in tunnel_key_init()
391 NL_SET_ERR_MSG(extack, "Missing tunnel key parameters"); in tunnel_key_init()
426 extack); in tunnel_key_init()
463 NL_SET_ERR_MSG(extack, "Missing either ipv4 or ipv6 src and dst"); in tunnel_key_init()
469 NL_SET_ERR_MSG(extack, "Cannot allocate tunnel metadata dst"); in tunnel_key_init()
483 opts_len, extack); in tunnel_key_init()
491 NL_SET_ERR_MSG(extack, "Unknown tunnel key action"); in tunnel_key_init()
501 NL_SET_ERR_MSG(extack, "Cannot create TC IDR"); in tunnel_key_init()
507 NL_SET_ERR_MSG(extack, "TC IDR already exists"); in tunnel_key_init()
512 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tunnel_key_init()
522 NL_SET_ERR_MSG(extack, "Cannot allocate tunnel key parameters"); in tunnel_key_init()
794 struct netlink_ext_ack *extack) in tcf_tunnel_key_offload_act_setup() argument
809 NL_SET_ERR_MSG_MOD(extack, "Unsupported tunnel key mode offload"); in tcf_tunnel_key_offload_act_setup()