Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/net/sched/
H A 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 …]
H A 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()
1134 NL_SET_ERR_MSG(extack, "Ingress block index cannot be 0"); in qdisc_block_indexes_set()
[all …]
H A 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 …]
H 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()
717 NL_SET_ERR_MSG(extack, "Bind to offloaded block failed as dev has offload disabled"); in tcf_block_offload_bind()
770 NL_SET_ERR_MSG(extack, "Memory allocation for head change callback item failed"); in tcf_chain0_head_change_cb_add()
868 NL_SET_ERR_MSG(extack, "Memory allocation for block failed"); in tcf_block_create()
1053 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1061 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1069 NL_SET_ERR_MSG(extack, "Qdisc not classful"); in __tcf_qdisc_find()
1075 NL_SET_ERR_MSG(extack, "Class doesn't support blocks"); in __tcf_qdisc_find()
1113 NL_SET_ERR_MSG(extack, "Specified class doesn't exist"); in __tcf_qdisc_cl_find()
[all …]
H 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()
H A 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 …]
H A 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()
1101 NL_SET_ERR_MSG(extack, "Non-geneve option type for mask"); in fl_set_geneve_opt()
1118 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in fl_set_geneve_opt()
1131 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in fl_set_geneve_opt()
1135 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in fl_set_geneve_opt()
1142 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in fl_set_geneve_opt()
1177 NL_SET_ERR_MSG(extack, "Non-vxlan option type for mask"); in fl_set_vxlan_opt()
1187 NL_SET_ERR_MSG(extack, "Missing tunnel key vxlan option gbp"); in fl_set_vxlan_opt()
[all …]
H 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()
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()
H 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()
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 …]
H 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()
H A Dsch_ets.c83 NL_SET_ERR_MSG(extack, "ETS quantum cannot be zero"); in ets_quantum_parse()
212 NL_SET_ERR_MSG(extack, "Fine-grained class addition and removal is not supported"); in ets_class_change()
217 NL_SET_ERR_MSG(extack, "ETS options are required for this operation"); in ets_class_change()
230 NL_SET_ERR_MSG(extack, "Strict bands do not have a configurable quantum"); in ets_class_change()
364 NL_SET_ERR_MSG(extack, "ETS classid must be zero"); in ets_qdisc_tcf_block()
599 NL_SET_ERR_MSG(extack, "ETS options are required for this operation"); in ets_qdisc_change()
H A 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()
/OK3568_Linux_fs/kernel/net/ipv4/
H A 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 …]
H A Dfib_semantics.c597 NL_SET_ERR_MSG(extack, "LWT encap type not specified"); in fib_nh_common_init()
666 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
678 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_GATEWAY"); in fib_gw_from_attr()
703 NL_SET_ERR_MSG(extack, in fib_get_nhs()
709 NL_SET_ERR_MSG(extack, in fib_get_nhs()
724 NL_SET_ERR_MSG(extack, in fib_get_nhs()
745 NL_SET_ERR_MSG(extack, "Invalid RTA_FLOW"); in fib_get_nhs()
771 NL_SET_ERR_MSG(extack, in fib_get_nhs()
781 NL_SET_ERR_MSG(extack, in fib_get_nhs()
788 NL_SET_ERR_MSG(extack, in fib_get_nhs()
[all …]
H 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()
H A Dfib_frontend.c684 NL_SET_ERR_MSG(extack, "Invalid attribute length for RTA_VIA"); in fib_gw_from_via()
694 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()
714 NL_SET_ERR_MSG(extack, "Unsupported address family in RTA_VIA"); 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()
854 NL_SET_ERR_MSG(extack, "Nexthop id does not exist"); in inet_rtm_delroute()
861 NL_SET_ERR_MSG(extack, "FIB table does not exist"); in inet_rtm_delroute()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
/OK3568_Linux_fs/kernel/net/core/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dneighbour.c1268 NL_SET_ERR_MSG(extack, "Neighbor entry is now dead"); in __neigh_update()
1318 NL_SET_ERR_MSG(extack, "No link layer address given"); in __neigh_update()
1834 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_delete()
1852 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_delete()
1905 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_add()
1918 NL_SET_ERR_MSG(extack, "Invalid link address"); in neigh_add()
1928 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_add()
1953 NL_SET_ERR_MSG(extack, "Device not specified"); in neigh_add()
2376 NL_SET_ERR_MSG(extack, "Invalid header for neighbor table dump request"); in neightbl_valid_dump_info()
2382 NL_SET_ERR_MSG(extack, "Invalid values in header for neighbor table dump request"); in neightbl_valid_dump_info()
[all …]
H A 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()
/OK3568_Linux_fs/kernel/net/tipc/
H A 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()
915 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in tipc_nl_bearer_get()
956 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in __tipc_nl_bearer_disable()
[all …]
/OK3568_Linux_fs/kernel/scripts/coccinelle/misc/
H 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)
/OK3568_Linux_fs/kernel/net/mpls/
H A 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()
1746 NL_SET_ERR_MSG(extack, "Too many labels"); in nla_get_labels()
1778 NL_SET_ERR_MSG(extack, in nla_get_labels()
1781 NL_SET_ERR_MSG(extack, in nla_get_labels()
1825 NL_SET_ERR_MSG(extack, "Invalid address family in rtmsg"); in rtm_to_route_config()
1829 NL_SET_ERR_MSG(extack, "rtm_dst_len must be 20 for MPLS"); in rtm_to_route_config()
1833 NL_SET_ERR_MSG(extack, "rtm_src_len must be 0 for MPLS"); in rtm_to_route_config()
[all …]

1234