Home
last modified time | relevance | path

Searched refs:NL_SET_ERR_MSG (Results 1 – 25 of 86) sorted by relevance

1234

/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_matchall.c37 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()
219 NL_SET_ERR_MSG(f->common.extack, "Only chain 0 is supported"); in mlxsw_sp_mall_replace()
318 NL_SET_ERR_MSG(f->common.extack, "Entry not found"); in mlxsw_sp_mall_destroy()
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()
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()
[all …]
/linux/net/sched/
A Dact_tunnel_key.c151 NL_SET_ERR_MSG(extack, "Missing tunnel key vxlan option gbp"); in tunnel_key_copy_vxlan_opt()
179 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option ver"); in tunnel_key_copy_erspan_opt()
233 NL_SET_ERR_MSG(extack, "Duplicate type for geneve options"); in tunnel_key_copy_opts()
242 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in tunnel_key_copy_opts()
253 NL_SET_ERR_MSG(extack, "Duplicate type for vxlan options"); in tunnel_key_copy_opts()
265 NL_SET_ERR_MSG(extack, "Duplicate type for erspan options"); in tunnel_key_copy_opts()
279 NL_SET_ERR_MSG(extack, "Empty list of tunnel options"); in tunnel_key_copy_opts()
392 NL_SET_ERR_MSG(extack, "Missing tunnel key parameters"); in tunnel_key_init()
492 NL_SET_ERR_MSG(extack, "Unknown tunnel key action"); in tunnel_key_init()
502 NL_SET_ERR_MSG(extack, "Cannot create TC IDR"); in tunnel_key_init()
[all …]
A Dsch_api.c503 NL_SET_ERR_MSG(extack, "Invalid size of size table"); in qdisc_get_stab()
1112 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_graft()
1207 NL_SET_ERR_MSG(extack, "Specified qdisc not found"); in qdisc_create()
1462 NL_SET_ERR_MSG(extack, "Invalid handle"); in tc_get_qdisc()
1474 NL_SET_ERR_MSG(extack, "Invalid qdisc name"); in tc_get_qdisc()
1480 NL_SET_ERR_MSG(extack, "Classid cannot be zero"); in tc_get_qdisc()
1557 NL_SET_ERR_MSG(extack, "Invalid minor handle"); in tc_modify_qdisc()
1569 NL_SET_ERR_MSG(extack, "Invalid qdisc name"); in tc_modify_qdisc()
1612 NL_SET_ERR_MSG(extack, "Handle cannot be zero"); in tc_modify_qdisc()
1620 NL_SET_ERR_MSG(extack, "Specified qdisc not found"); in tc_modify_qdisc()
[all …]
A Dsch_taprio.c837 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_sched_entry()
867 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_sched_list()
1259 NL_SET_ERR_MSG(extack, in taprio_enable_offload()
1266 NL_SET_ERR_MSG(extack, in taprio_enable_offload()
1275 NL_SET_ERR_MSG(extack, in taprio_enable_offload()
1302 NL_SET_ERR_MSG(extack, in taprio_disable_offload()
1310 NL_SET_ERR_MSG(extack, in taprio_disable_offload()
1343 NL_SET_ERR_MSG(extack, in taprio_parse_clockid()
1352 NL_SET_ERR_MSG(extack, in taprio_parse_clockid()
1366 NL_SET_ERR_MSG(extack, in taprio_parse_clockid()
[all …]
A Dcls_api.c154 NL_SET_ERR_MSG(extack, "TC classifier not found"); in tcf_proto_lookup_ops()
688 NL_SET_ERR_MSG(extack, "Driver ndo_setup_tc failed"); in tcf_block_offload_cmd()
1052 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1060 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1068 NL_SET_ERR_MSG(extack, "Qdisc not classful"); in __tcf_qdisc_find()
1074 NL_SET_ERR_MSG(extack, "Class doesn't support blocks"); in __tcf_qdisc_find()
1112 NL_SET_ERR_MSG(extack, "Specified class doesn't exist"); in __tcf_qdisc_cl_find()
2110 NL_SET_ERR_MSG(extack, "Filter already exists"); in tc_new_tfilter()
2841 NL_SET_ERR_MSG(extack, "Filter chain already exists"); in tc_ctl_chain()
2907 NL_SET_ERR_MSG(extack, "Unsupported message type"); in tc_ctl_chain()
[all …]
A Dsch_etf.c58 NL_SET_ERR_MSG(extack, "Dynamic clockids are not supported"); in validate_input_params()
63 NL_SET_ERR_MSG(extack, "Invalid clockid. CLOCK_TAI must be used"); in validate_input_params()
68 NL_SET_ERR_MSG(extack, "Delta must be positive"); in validate_input_params()
330 NL_SET_ERR_MSG(extack, "Specified device does not support ETF offload"); in etf_enable_offload()
339 NL_SET_ERR_MSG(extack, "Specified device failed to setup ETF hardware offload"); in etf_enable_offload()
356 NL_SET_ERR_MSG(extack, in etf_init()
367 NL_SET_ERR_MSG(extack, "Missing mandatory ETF parameters"); in etf_init()
411 NL_SET_ERR_MSG(extack, "Clockid is not supported"); in etf_init()
A Dact_api.c79 NL_SET_ERR_MSG(extack, "invalid control action"); in tcf_action_check_ctrlact()
87 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact()
94 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact()
964 NL_SET_ERR_MSG(extack, "TC action kind must be specified"); in tc_action_load_ops()
968 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
973 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
1000 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tc_action_load_ops()
1029 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie"); in tcf_action_init_1()
1267 NL_SET_ERR_MSG(extack, "Invalid TC action index value"); in tcf_action_get_1()
1323 NL_SET_ERR_MSG(extack, "Cannot flush unknown TC action"); in tca_action_flush()
[all …]
A Dsch_drr.c66 NL_SET_ERR_MSG(extack, "DRR options are required for this operation"); in drr_change_class()
78 NL_SET_ERR_MSG(extack, "Specified DRR quantum cannot be zero"); in drr_change_class()
91 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
123 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
178 NL_SET_ERR_MSG(extack, "DRR classid must be zero"); in drr_tcf_block()
A Dcls_flower.c826 NL_SET_ERR_MSG(extack, "Missing MPLS option \"depth\""); in fl_set_key_mpls_lse()
920 NL_SET_ERR_MSG(extack, in fl_set_key_mpls_opts()
1046 NL_SET_ERR_MSG(extack, "Missing flags mask"); in fl_set_key_flags()
1178 NL_SET_ERR_MSG(extack, "Non-vxlan option type for mask"); in fl_set_vxlan_opt()
1325 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt()
1355 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt()
1385 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt()
1390 NL_SET_ERR_MSG(extack, "Unknown tunnel option type"); in fl_set_enc_opt()
1398 NL_SET_ERR_MSG(extack, "A mask attribute is invalid"); in fl_set_enc_opt()
1450 NL_SET_ERR_MSG(extack, "Conntrack isn't enabled"); in fl_set_key_ct()
[all …]
A Dsch_cbq.c1136 NL_SET_ERR_MSG(extack, "CBQ options are required for this operation"); in cbq_opt_parse()
1149 NL_SET_ERR_MSG(extack, "priority is bigger than TC_CBQ_MAXPRIO"); in cbq_opt_parse()
1173 NL_SET_ERR_MSG(extack, "Rate specification missing or incomplete"); in cbq_init()
1500 NL_SET_ERR_MSG(extack, "Invalid parent id"); in cbq_change_class()
1504 NL_SET_ERR_MSG(extack, "Parent must be root"); in cbq_change_class()
1523 NL_SET_ERR_MSG(extack, "Failed to replace specified rate estimator"); in cbq_change_class()
1563NL_SET_ERR_MSG(extack, "One of the following attributes MUST be specified: WRR, rate or link shari… in cbq_change_class()
1576 NL_SET_ERR_MSG(extack, "Specified class not found"); in cbq_change_class()
1591 NL_SET_ERR_MSG(extack, "Unable to generate classid"); in cbq_change_class()
1602 NL_SET_ERR_MSG(extack, "Failed to find parentid"); in cbq_change_class()
[all …]
A Dact_gate.c184 NL_SET_ERR_MSG(extack, "Invalid interval for schedule entry"); in fill_gate_entry()
211 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_gate_entry()
244 NL_SET_ERR_MSG(extack, "Attribute isn't type 'entry'"); in parse_gate_list()
250 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_gate_list()
343 NL_SET_ERR_MSG(extack, "Invalid 'clockid'"); in tcf_gate_init()
A Dsch_cbs.c285 NL_SET_ERR_MSG(extack, "Specified device does not support cbs offload"); in cbs_enable_offload()
299 NL_SET_ERR_MSG(extack, "Specified device failed to setup cbs hardware offload"); in cbs_enable_offload()
376 NL_SET_ERR_MSG(extack, "Missing CBS parameter which are mandatory"); in cbs_change()
408 NL_SET_ERR_MSG(extack, "Missing CBS qdisc options which are mandatory"); in cbs_init()
/linux/net/ipv4/
A Dnexthop.c996 NL_SET_ERR_MSG(extack, in valid_group_nh()
1001 NL_SET_ERR_MSG(extack, in valid_group_nh()
1010 NL_SET_ERR_MSG(extack, in valid_group_nh()
1053 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
1113 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
1330 NL_SET_ERR_MSG(extack, in nexthop_check_scope()
2651 NL_SET_ERR_MSG(extack, "No unused id"); in nexthop_add()
2877 NL_SET_ERR_MSG(extack, "Invalid gateway"); in rtm_to_nh_config()
2884 NL_SET_ERR_MSG(extack, "Invalid gateway"); in rtm_to_nh_config()
2890 NL_SET_ERR_MSG(extack, in rtm_to_nh_config()
[all …]
A Dfib_semantics.c657 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
694 NL_SET_ERR_MSG(extack, in fib_get_nhs()
700 NL_SET_ERR_MSG(extack, in fib_get_nhs()
715 NL_SET_ERR_MSG(extack, in fib_get_nhs()
762 NL_SET_ERR_MSG(extack, in fib_get_nhs()
772 NL_SET_ERR_MSG(extack, in fib_get_nhs()
779 NL_SET_ERR_MSG(extack, in fib_get_nhs()
1180 NL_SET_ERR_MSG(extack, in fib_check_nh_v4_gw()
1200 NL_SET_ERR_MSG(extack, in fib_check_nh_nongw()
1402 NL_SET_ERR_MSG(extack, in fib_create_info()
[all …]
A Dmetrics.c27 NL_SET_ERR_MSG(extack, "Invalid metric type"); in ip_metrics_convert()
37 NL_SET_ERR_MSG(extack, "Unknown tcp congestion algorithm"); in ip_metrics_convert()
55 NL_SET_ERR_MSG(extack, "Unknown flag set in feature mask in metrics attribute"); in ip_metrics_convert()
A Dfib_frontend.c694 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_VIA"); in fib_gw_from_via()
703 NL_SET_ERR_MSG(extack, "Invalid IPv6 address in RTA_VIA"); in fib_gw_from_via()
709 NL_SET_ERR_MSG(extack, "IPv6 support not enabled in kernel"); in fib_gw_from_via()
752 NL_SET_ERR_MSG(extack, "Invalid route type"); in rtm_to_fib_config()
821 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
828 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
851 NL_SET_ERR_MSG(extack, "Nexthop id does not exist"); in inet_rtm_delroute()
858 NL_SET_ERR_MSG(extack, "FIB table does not exist"); in inet_rtm_delroute()
905 NL_SET_ERR_MSG(extack, "Invalid header for FIB dump request"); in ip_valid_fib_dump_req()
917 NL_SET_ERR_MSG(extack, "Invalid flags for FIB dump request"); in ip_valid_fib_dump_req()
[all …]
/linux/net/core/
A Dfib_rules.c532 NL_SET_ERR_MSG(extack, "Invalid source address"); in fib_nl2rule()
540 NL_SET_ERR_MSG(extack, "Invalid dst address"); in fib_nl2rule()
617 NL_SET_ERR_MSG(extack, "Unexpected goto"); in fib_nl2rule()
648 NL_SET_ERR_MSG(extack, "Invalid uid range"); in fib_nl2rule()
662 NL_SET_ERR_MSG(extack, "Invalid sport range"); in fib_nl2rule()
671 NL_SET_ERR_MSG(extack, "Invalid dport range"); in fib_nl2rule()
765 NL_SET_ERR_MSG(extack, "Invalid msg length"); in fib_nl_newrule()
779 NL_SET_ERR_MSG(extack, "Error parsing msg"); in fib_nl_newrule()
873 NL_SET_ERR_MSG(extack, "Invalid msg length"); in fib_nl_delrule()
887 NL_SET_ERR_MSG(extack, "Error parsing msg"); in fib_nl_delrule()
[all …]
A Drtnetlink.c3416 NL_SET_ERR_MSG(extack, "Unknown device type"); in __rtnl_newlink()
3983 NL_SET_ERR_MSG(extack, "invalid vlan id"); in fdb_vid_parse()
4009 NL_SET_ERR_MSG(extack, "invalid ifindex"); in rtnl_fdb_add()
4015 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_fdb_add()
4020 NL_SET_ERR_MSG(extack, "invalid address"); in rtnl_fdb_add()
4120 NL_SET_ERR_MSG(extack, "invalid ifindex"); in rtnl_fdb_del()
4126 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_fdb_del()
4131 NL_SET_ERR_MSG(extack, "invalid address"); in rtnl_fdb_del()
4556 NL_SET_ERR_MSG(extack, "Missing NTF_SELF"); in rtnl_fdb_get()
4887 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_bridge_setlink()
[all …]
A Dnet_namespace.c740 NL_SET_ERR_MSG(extack, "nsid is missing"); in rtnl_net_newid()
752 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_newid()
757 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_newid()
766 NL_SET_ERR_MSG(extack, in rtnl_net_newid()
780 NL_SET_ERR_MSG(extack, "The specified nsid is already used"); in rtnl_net_newid()
862 NL_SET_ERR_MSG(extack, "Unsupported attribute in peer netns getid request"); in rtnl_net_valid_getid_req()
900 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_getid()
906 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_getid()
916 NL_SET_ERR_MSG(extack, in rtnl_net_getid()
1002 NL_SET_ERR_MSG(extack, in rtnl_valid_dump_net_req()
[all …]
A Dneighbour.c1275 NL_SET_ERR_MSG(extack, "Neighbor entry is now dead"); in __neigh_update()
1325 NL_SET_ERR_MSG(extack, "No link layer address given"); in __neigh_update()
1858 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_delete()
1876 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_delete()
1930 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_add()
1952 NL_SET_ERR_MSG(extack, "Invalid link address"); in neigh_add()
1962 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_add()
1991 NL_SET_ERR_MSG(extack, "Device not specified"); in neigh_add()
2983 NL_SET_ERR_MSG(extack, "Unknown device ifindex"); in neigh_get()
3006 NL_SET_ERR_MSG(extack, "No device specified"); in neigh_get()
[all …]
A Dlwtunnel.c154 NL_SET_ERR_MSG(extack, "Unknown lwt encapsulation type"); in lwtunnel_valid_encap_type()
178 NL_SET_ERR_MSG(extack, "lwt encapsulation type not supported"); in lwtunnel_valid_encap_type()
201 NL_SET_ERR_MSG(extack, "Invalid RTA_ENCAP_TYPE"); in lwtunnel_valid_encap_type_attr()
/linux/net/mctp/
A Dneigh.c131 NL_SET_ERR_MSG(extack, "lladdr too large?"); in mctp_rtm_newneigh()
136 NL_SET_ERR_MSG(extack, "Neighbour EID must be specified"); in mctp_rtm_newneigh()
141 NL_SET_ERR_MSG(extack, "Neighbour lladdr must be specified"); in mctp_rtm_newneigh()
147 NL_SET_ERR_MSG(extack, "Invalid neighbour EID"); in mctp_rtm_newneigh()
165 NL_SET_ERR_MSG(extack, "Wrong lladdr length"); in mctp_rtm_newneigh()
187 NL_SET_ERR_MSG(extack, "incorrect format"); in mctp_rtm_delneigh()
192 NL_SET_ERR_MSG(extack, "Neighbour EID must be specified"); in mctp_rtm_delneigh()
/linux/net/tipc/
A Dbearer.c263 NL_SET_ERR_MSG(extack, "Illegal name"); in tipc_enable_bearer()
269 NL_SET_ERR_MSG(extack, "Illegal priority"); in tipc_enable_bearer()
276 NL_SET_ERR_MSG(extack, "Media not registered"); in tipc_enable_bearer()
294 NL_SET_ERR_MSG(extack, "Already enabled"); in tipc_enable_bearer()
320 NL_SET_ERR_MSG(extack, "Max 3 bearers permitted"); in tipc_enable_bearer()
334 NL_SET_ERR_MSG(extack, "Failed to enable media"); in tipc_enable_bearer()
1135 NL_SET_ERR_MSG(info->extack, in __tipc_nl_bearer_set()
1142 NL_SET_ERR_MSG(info->extack, in __tipc_nl_bearer_set()
1273 NL_SET_ERR_MSG(info->extack, "Media not found"); in tipc_nl_media_get()
1330 NL_SET_ERR_MSG(info->extack, in __tipc_nl_media_set()
[all …]
/linux/scripts/coccinelle/misc/
A Dnewline_in_nl_msg.cocci3 /// Catch strings ending in newline with GENL_SET_ERR_MSG, NL_SET_ERR_MSG,
20 \(GENL_SET_ERR_MSG\|NL_SET_ERR_MSG\|NL_SET_ERR_MSG_MOD\)(e,m@p)
/linux/net/mpls/
A Daf_mpls.c946 NL_SET_ERR_MSG(extack, in mpls_label_ok()
953 NL_SET_ERR_MSG(extack, in mpls_label_ok()
1742 NL_SET_ERR_MSG(extack, "Too many labels"); in nla_get_labels()
1774 NL_SET_ERR_MSG(extack, in nla_get_labels()
1777 NL_SET_ERR_MSG(extack, in nla_get_labels()
1829 NL_SET_ERR_MSG(extack, "rtm_src_len must be 0 for MPLS"); in rtm_to_route_config()
1833 NL_SET_ERR_MSG(extack, "rtm_tos must be 0 for MPLS"); in rtm_to_route_config()
1837 NL_SET_ERR_MSG(extack, in rtm_to_route_config()
1848 NL_SET_ERR_MSG(extack, in rtm_to_route_config()
1853 NL_SET_ERR_MSG(extack, in rtm_to_route_config()
[all …]

Completed in 84 milliseconds

1234