Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/net/sched/
Dact_tunnel_key.c103 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in tunnel_key_copy_geneve_opt()
110 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in tunnel_key_copy_geneve_opt()
114 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in tunnel_key_copy_geneve_opt()
151 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()
186 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option index"); in tunnel_key_copy_erspan_opt()
192 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option dir or hwid"); in tunnel_key_copy_erspan_opt()
196 NL_SET_ERR_MSG(extack, "Tunnel key erspan option ver is incorrect"); 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()
[all …]
Dsch_api.c418 NL_SET_ERR_MSG(extack, "Invalid rate table parameters for searching"); in qdisc_get_rtab()
440 NL_SET_ERR_MSG(extack, "Failed to allocate new qdisc rate table"); in qdisc_get_rtab()
487 NL_SET_ERR_MSG(extack, "Size table base attribute is missing"); in qdisc_get_stab()
495 NL_SET_ERR_MSG(extack, "Size table data attribute is missing"); in qdisc_get_stab()
503 NL_SET_ERR_MSG(extack, "Invalid size of size table"); in qdisc_get_stab()
518 NL_SET_ERR_MSG(extack, "Invalid logarithmic size of size table"); in qdisc_get_stab()
865 NL_SET_ERR_MSG(extack, "Offloading graft operation failed."); in qdisc_offload_graft_helper()
1055 NL_SET_ERR_MSG(extack, "Device does not have an ingress queue"); in qdisc_graft()
1113 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_graft()
1118 NL_SET_ERR_MSG(extack, "Cannot assign noqueue to a class"); in qdisc_graft()
[all …]
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()
Dsch_taprio.c809 NL_SET_ERR_MSG(extack, "Invalid interval for schedule entry"); in fill_sched_entry()
828 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_sched_entry()
852 NL_SET_ERR_MSG(extack, "Attribute is not of type 'entry'"); in parse_sched_list()
858 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_sched_list()
884 NL_SET_ERR_MSG(extack, "Adding a single entry is not supported"); in parse_taprio_schedule()
911 NL_SET_ERR_MSG(extack, "'cycle_time' can never be 0"); in parse_taprio_schedule()
929 NL_SET_ERR_MSG(extack, "'mqprio' configuration is necessary"); in taprio_parse_mqprio_opt()
941 NL_SET_ERR_MSG(extack, "Number of traffic classes is outside valid range"); in taprio_parse_mqprio_opt()
947 NL_SET_ERR_MSG(extack, "Number of traffic classes is greater than number of HW queues"); in taprio_parse_mqprio_opt()
954 NL_SET_ERR_MSG(extack, "Invalid traffic class in priority to traffic class mapping"); in taprio_parse_mqprio_opt()
[all …]
Dcls_api.c152 NL_SET_ERR_MSG(extack, "TC classifier not found"); in tcf_proto_lookup_ops()
686 NL_SET_ERR_MSG(extack, "Driver ndo_setup_tc failed"); in tcf_block_offload_cmd()
715 NL_SET_ERR_MSG(extack, "Bind to offloaded block failed as dev has offload disabled"); in tcf_block_offload_bind()
768 NL_SET_ERR_MSG(extack, "Memory allocation for head change callback item failed"); in tcf_chain0_head_change_cb_add()
866 NL_SET_ERR_MSG(extack, "Memory allocation for block failed"); in tcf_block_create()
1051 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1059 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1067 NL_SET_ERR_MSG(extack, "Qdisc not classful"); in __tcf_qdisc_find()
1073 NL_SET_ERR_MSG(extack, "Class doesn't support blocks"); in __tcf_qdisc_find()
1111 NL_SET_ERR_MSG(extack, "Specified class doesn't exist"); in __tcf_qdisc_cl_find()
[all …]
Dact_api.c63 NL_SET_ERR_MSG(extack, "invalid control action"); in tcf_action_check_ctrlact()
71 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact()
78 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact()
337 NL_SET_ERR_MSG(extack, "Unable to flush all TC actions"); in tcf_del_walker()
366 NL_SET_ERR_MSG(extack, "tcf_generic_walker: unknown command"); in tcf_generic_walker()
957 NL_SET_ERR_MSG(extack, "TC action kind must be specified"); in tc_action_load_ops()
961 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
966 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
993 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tc_action_load_ops()
1023 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie"); in tcf_action_init_1()
[all …]
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()
92 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
125 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
179 NL_SET_ERR_MSG(extack, "DRR classid must be zero"); in drr_tcf_block()
Dcls_flower.c819 NL_SET_ERR_MSG(extack, "Missing MPLS option \"depth\""); in fl_set_key_mpls_lse()
913 NL_SET_ERR_MSG(extack, in fl_set_key_mpls_opts()
1045 NL_SET_ERR_MSG(extack, "Missing flags mask"); in fl_set_key_flags()
1104 NL_SET_ERR_MSG(extack, "Non-geneve option type for mask"); in fl_set_geneve_opt()
1121 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in fl_set_geneve_opt()
1134 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in fl_set_geneve_opt()
1138 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in fl_set_geneve_opt()
1145 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in fl_set_geneve_opt()
1180 NL_SET_ERR_MSG(extack, "Non-vxlan option type for mask"); in fl_set_vxlan_opt()
1190 NL_SET_ERR_MSG(extack, "Missing tunnel key vxlan option gbp"); in fl_set_vxlan_opt()
[all …]
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()
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()
1492NL_SET_ERR_MSG(extack, "Neither overlimit strategy nor policing attributes can be used for changin… in cbq_change_class()
1501 NL_SET_ERR_MSG(extack, "Invalid parent id"); in cbq_change_class()
1505 NL_SET_ERR_MSG(extack, "Parent must be root"); in cbq_change_class()
1524 NL_SET_ERR_MSG(extack, "Failed to replace specified rate estimator"); in cbq_change_class()
1564NL_SET_ERR_MSG(extack, "One of the following attributes MUST be specified: WRR, rate or link shari… in cbq_change_class()
1577 NL_SET_ERR_MSG(extack, "Specified class not found"); in cbq_change_class()
1592 NL_SET_ERR_MSG(extack, "Unable to generate classid"); in cbq_change_class()
[all …]
Dsch_cbs.c284 NL_SET_ERR_MSG(extack, "Specified device does not support cbs offload"); in cbs_enable_offload()
298 NL_SET_ERR_MSG(extack, "Specified device failed to setup cbs hardware offload"); in cbs_enable_offload()
375 NL_SET_ERR_MSG(extack, "Missing CBS parameter which are mandatory"); in cbs_change()
407 NL_SET_ERR_MSG(extack, "Missing CBS qdisc options which are mandatory"); in cbs_init()
/kernel/linux/linux-5.10/net/ipv4/
Dnexthop.c396 NL_SET_ERR_MSG(extack, in valid_group_nh()
405 NL_SET_ERR_MSG(extack, in valid_group_nh()
423 NL_SET_ERR_MSG(extack, "FDB nexthop group can only have fdb nexthops"); in nh_check_attr_fdb_group()
430 NL_SET_ERR_MSG(extack, "FDB nexthop group cannot have mixed family nexthops"); in nh_check_attr_fdb_group()
447 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
458 NL_SET_ERR_MSG(extack, "Reserved fields in nexthop_grp must be 0"); in nh_check_attr_group()
462 NL_SET_ERR_MSG(extack, "Invalid value for weight"); in nh_check_attr_group()
467 NL_SET_ERR_MSG(extack, "Nexthop id can not be used twice in a group"); in nh_check_attr_group()
482 NL_SET_ERR_MSG(extack, "Invalid nexthop id"); in nh_check_attr_group()
492 NL_SET_ERR_MSG(extack, "Non FDB nexthop group cannot have fdb nexthops"); in nh_check_attr_group()
[all …]
Dmetrics.c28 NL_SET_ERR_MSG(extack, "Invalid metric type"); in ip_metrics_convert()
39 NL_SET_ERR_MSG(extack, "Unknown tcp congestion algorithm"); in ip_metrics_convert()
57 NL_SET_ERR_MSG(extack, "Unknown flag set in feature mask in metrics attribute"); in ip_metrics_convert()
Dfib_semantics.c598 NL_SET_ERR_MSG(extack, "LWT encap type not specified"); in fib_nh_common_init()
667 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
679 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_GATEWAY"); in fib_gw_from_attr()
704 NL_SET_ERR_MSG(extack, in fib_get_nhs()
710 NL_SET_ERR_MSG(extack, in fib_get_nhs()
725 NL_SET_ERR_MSG(extack, in fib_get_nhs()
746 NL_SET_ERR_MSG(extack, "Invalid RTA_FLOW"); in fib_get_nhs()
772 NL_SET_ERR_MSG(extack, in fib_get_nhs()
782 NL_SET_ERR_MSG(extack, in fib_get_nhs()
789 NL_SET_ERR_MSG(extack, in fib_get_nhs()
[all …]
Dfib_frontend.c687 NL_SET_ERR_MSG(extack, "Invalid attribute length for RTA_VIA"); in fib_gw_from_via()
697 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_VIA"); in fib_gw_from_via()
706 NL_SET_ERR_MSG(extack, "Invalid IPv6 address in RTA_VIA"); in fib_gw_from_via()
712 NL_SET_ERR_MSG(extack, "IPv6 support not enabled in kernel"); in fib_gw_from_via()
717 NL_SET_ERR_MSG(extack, "Unsupported address family in RTA_VIA"); in fib_gw_from_via()
755 NL_SET_ERR_MSG(extack, "Invalid route type"); in rtm_to_fib_config()
824 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
831 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
857 NL_SET_ERR_MSG(extack, "Nexthop id does not exist"); in inet_rtm_delroute()
864 NL_SET_ERR_MSG(extack, "FIB table does not exist"); in inet_rtm_delroute()
[all …]
Dnetlink.c30 NL_SET_ERR_MSG(extack, "Unsupported ip proto"); in rtm_getroute_parse_ip_proto()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_matchall.c188 NL_SET_ERR_MSG(f->common.extack, "Only singular actions are supported"); in mlxsw_sp_mall_replace()
193 NL_SET_ERR_MSG(f->common.extack, "Only chain 0 is supported"); in mlxsw_sp_mall_replace()
198 NL_SET_ERR_MSG(f->common.extack, "Only not mixed bound blocks are supported"); in mlxsw_sp_mall_replace()
206 NL_SET_ERR_MSG(f->common.extack, "Failed to get flower priorities"); in mlxsw_sp_mall_replace()
227 NL_SET_ERR_MSG(f->common.extack, "Failed to add behind existing flower rules"); in mlxsw_sp_mall_replace()
233 NL_SET_ERR_MSG(f->common.extack, "Failed to add in front of existing flower rules"); in mlxsw_sp_mall_replace()
242 NL_SET_ERR_MSG(f->common.extack, "Sample is not supported on egress"); in mlxsw_sp_mall_replace()
248 NL_SET_ERR_MSG(f->common.extack, "Failed to add behind existing flower rules"); in mlxsw_sp_mall_replace()
253 NL_SET_ERR_MSG(f->common.extack, "Sample rate not supported"); in mlxsw_sp_mall_replace()
300 NL_SET_ERR_MSG(f->common.extack, "Entry not found"); in mlxsw_sp_mall_destroy()
/kernel/linux/linux-5.10/net/core/
Dfib_rules.c501 NL_SET_ERR_MSG(extack, "Invalid l3mdev attribute"); in fib_nl2rule_l3mdev()
511 NL_SET_ERR_MSG(extack, "l3mdev support is not enabled in kernel"); in fib_nl2rule_l3mdev()
532 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()
624 NL_SET_ERR_MSG(extack, "Backward goto not supported"); in fib_nl2rule()
628 NL_SET_ERR_MSG(extack, "Missing goto target for action goto"); in fib_nl2rule()
633 NL_SET_ERR_MSG(extack, "l3mdev and table are mutually exclusive"); in fib_nl2rule()
640 NL_SET_ERR_MSG(extack, "No permission to set uid"); in fib_nl2rule()
648 NL_SET_ERR_MSG(extack, "Invalid uid range"); in fib_nl2rule()
[all …]
Drtnetlink.c2022 NL_SET_ERR_MSG(extack, "Invalid header for link dump"); in rtnl_valid_dump_ifinfo_req()
2029 NL_SET_ERR_MSG(extack, "Invalid values in header for link dump request"); in rtnl_valid_dump_ifinfo_req()
2033 NL_SET_ERR_MSG(extack, "Filter by device index not supported for link dumps"); in rtnl_valid_dump_ifinfo_req()
2095 NL_SET_ERR_MSG(extack, "Invalid target network namespace id"); in rtnl_dump_ifinfo()
2110 NL_SET_ERR_MSG(extack, "Unsupported attribute in link dump request"); in rtnl_dump_ifinfo()
2237 NL_SET_ERR_MSG(extack, "specified netns attribute not supported"); in rtnl_ensure_unique_netns()
2253 NL_SET_ERR_MSG(extack, "multiple netns identifying attributes specified"); in rtnl_ensure_unique_netns()
2547 NL_SET_ERR_MSG(extack, "Protodown not supported by device"); in do_set_proto_down()
2561 NL_SET_ERR_MSG(extack, "Invalid protodown reason value"); in do_set_proto_down()
2578 NL_SET_ERR_MSG(extack, "Cannot clear protodown, active reasons"); in do_set_proto_down()
[all …]
Dnet_namespace.c768 NL_SET_ERR_MSG(extack, "nsid is missing"); in rtnl_net_newid()
780 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_newid()
785 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_newid()
794 NL_SET_ERR_MSG(extack, in rtnl_net_newid()
808 NL_SET_ERR_MSG(extack, "The specified nsid is already used"); in rtnl_net_newid()
890 NL_SET_ERR_MSG(extack, "Unsupported attribute in peer netns getid request"); in rtnl_net_valid_getid_req()
928 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_getid()
934 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_getid()
944 NL_SET_ERR_MSG(extack, in rtnl_net_getid()
1030 NL_SET_ERR_MSG(extack, in rtnl_valid_dump_net_req()
[all …]
Dlwtunnel.c149 NL_SET_ERR_MSG(extack, "Unknown lwt encapsulation type"); in lwtunnel_valid_encap_type()
173 NL_SET_ERR_MSG(extack, "lwt encapsulation type not supported"); in lwtunnel_valid_encap_type()
196 NL_SET_ERR_MSG(extack, "Invalid RTA_ENCAP_TYPE"); in lwtunnel_valid_encap_type_attr()
Dneighbour.c1282 NL_SET_ERR_MSG(extack, "Neighbor entry is now dead"); in __neigh_update()
1332 NL_SET_ERR_MSG(extack, "No link layer address given"); in __neigh_update()
1853 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_delete()
1871 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_delete()
1924 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_add()
1937 NL_SET_ERR_MSG(extack, "Invalid link address"); in neigh_add()
1947 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_add()
1972 NL_SET_ERR_MSG(extack, "Device not specified"); in neigh_add()
2395 NL_SET_ERR_MSG(extack, "Invalid header for neighbor table dump request"); in neightbl_valid_dump_info()
2401 NL_SET_ERR_MSG(extack, "Invalid values in header for neighbor table dump request"); in neightbl_valid_dump_info()
[all …]
/kernel/linux/linux-5.10/net/tipc/
Dbearer.c252 NL_SET_ERR_MSG(extack, "Illegal name"); in tipc_enable_bearer()
258 NL_SET_ERR_MSG(extack, "Illegal priority"); in tipc_enable_bearer()
265 NL_SET_ERR_MSG(extack, "Media not registered"); in tipc_enable_bearer()
283 NL_SET_ERR_MSG(extack, "Already enabled"); in tipc_enable_bearer()
294 NL_SET_ERR_MSG(extack, "Cannot adjust to lower"); in tipc_enable_bearer()
309 NL_SET_ERR_MSG(extack, "Max 3 bearers permitted"); in tipc_enable_bearer()
323 NL_SET_ERR_MSG(extack, "Failed to enable media"); in tipc_enable_bearer()
340 NL_SET_ERR_MSG(extack, "Failed to create discoverer"); in tipc_enable_bearer()
928 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in tipc_nl_bearer_get()
969 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in __tipc_nl_bearer_disable()
[all …]
/kernel/linux/linux-5.10/scripts/coccinelle/misc/
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)
/kernel/linux/linux-5.10/net/mpls/
Daf_mpls.c944 NL_SET_ERR_MSG(extack, in mpls_label_ok()
951 NL_SET_ERR_MSG(extack, in mpls_label_ok()
986 NL_SET_ERR_MSG(extack, "MPLS does not support route append"); in mpls_route_add()
1016 NL_SET_ERR_MSG(extack, "Route does not contain a nexthop"); in mpls_route_add()
1750 NL_SET_ERR_MSG(extack, "Too many labels"); in nla_get_labels()
1782 NL_SET_ERR_MSG(extack, in nla_get_labels()
1785 NL_SET_ERR_MSG(extack, in nla_get_labels()
1829 NL_SET_ERR_MSG(extack, "Invalid address family in rtmsg"); in rtm_to_route_config()
1833 NL_SET_ERR_MSG(extack, "rtm_dst_len must be 20 for MPLS"); in rtm_to_route_config()
1837 NL_SET_ERR_MSG(extack, "rtm_src_len must be 0 for MPLS"); in rtm_to_route_config()
[all …]

1234