Home
last modified time | relevance | path

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

1234

/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
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()
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()
[all …]
/Linux-v5.15/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()
1112 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_graft()
1133 NL_SET_ERR_MSG(extack, "Ingress block index cannot be 0"); in qdisc_block_indexes_set()
[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.c814 NL_SET_ERR_MSG(extack, "Invalid interval for schedule entry"); in fill_sched_entry()
833 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_sched_entry()
857 NL_SET_ERR_MSG(extack, "Attribute is not of type 'entry'"); in parse_sched_list()
863 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_sched_list()
889 NL_SET_ERR_MSG(extack, "Adding a single entry is not supported"); in parse_taprio_schedule()
916 NL_SET_ERR_MSG(extack, "'cycle_time' can never be 0"); in parse_taprio_schedule()
934 NL_SET_ERR_MSG(extack, "'mqprio' configuration is necessary"); in taprio_parse_mqprio_opt()
946 NL_SET_ERR_MSG(extack, "Number of traffic classes is outside valid range"); in taprio_parse_mqprio_opt()
952 NL_SET_ERR_MSG(extack, "Number of traffic classes is greater than number of HW queues"); in taprio_parse_mqprio_opt()
959 NL_SET_ERR_MSG(extack, "Invalid traffic class in priority to traffic class mapping"); in taprio_parse_mqprio_opt()
[all …]
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()
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()
[all …]
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()
408 NL_SET_ERR_MSG(extack, "tcf_generic_walker: unknown command"); in tcf_generic_walker()
962 NL_SET_ERR_MSG(extack, "TC action kind must be specified"); in tc_action_load_ops()
966 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
971 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
998 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tc_action_load_ops()
1027 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie"); in tcf_action_init_1()
1238 NL_SET_ERR_MSG(extack, "Failed to fill netlink attributes while adding TC action"); in tcf_get_notify()
[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()
180 NL_SET_ERR_MSG(extack, "DRR classid must be zero"); in drr_tcf_block()
Dcls_flower.c823 NL_SET_ERR_MSG(extack, "Missing MPLS option \"depth\""); in fl_set_key_mpls_lse()
917 NL_SET_ERR_MSG(extack, in fl_set_key_mpls_opts()
1043 NL_SET_ERR_MSG(extack, "Missing flags mask"); in fl_set_key_flags()
1099 NL_SET_ERR_MSG(extack, "Non-geneve option type for mask"); in fl_set_geneve_opt()
1116 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in fl_set_geneve_opt()
1129 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in fl_set_geneve_opt()
1133 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in fl_set_geneve_opt()
1140 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in fl_set_geneve_opt()
1175 NL_SET_ERR_MSG(extack, "Non-vxlan option type for mask"); in fl_set_vxlan_opt()
1185 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.c1137 NL_SET_ERR_MSG(extack, "CBQ options are required for this operation"); in cbq_opt_parse()
1150 NL_SET_ERR_MSG(extack, "priority is bigger than TC_CBQ_MAXPRIO"); in cbq_opt_parse()
1174 NL_SET_ERR_MSG(extack, "Rate specification missing or incomplete"); in cbq_init()
1493NL_SET_ERR_MSG(extack, "Neither overlimit strategy nor policing attributes can be used for changin… in cbq_change_class()
1502 NL_SET_ERR_MSG(extack, "Invalid parent id"); in cbq_change_class()
1506 NL_SET_ERR_MSG(extack, "Parent must be root"); in cbq_change_class()
1525 NL_SET_ERR_MSG(extack, "Failed to replace specified rate estimator"); in cbq_change_class()
1565NL_SET_ERR_MSG(extack, "One of the following attributes MUST be specified: WRR, rate or link shari… in cbq_change_class()
1578 NL_SET_ERR_MSG(extack, "Specified class not found"); in cbq_change_class()
1593 NL_SET_ERR_MSG(extack, "Unable to generate classid"); in cbq_change_class()
[all …]
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-v5.15/net/ipv4/
Dnexthop.c240 NL_SET_ERR_MSG(extack, "Failed to initialize nexthop notifier info"); in call_nexthop_notifiers()
411 NL_SET_ERR_MSG(extack, "Failed to initialize nexthop notifier info"); in call_nexthop_res_table_notifiers()
996 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()
1028 NL_SET_ERR_MSG(extack, "FDB nexthop group can only have fdb nexthops"); in nh_check_attr_fdb_group()
1035 NL_SET_ERR_MSG(extack, "FDB nexthop group cannot have mixed family nexthops"); in nh_check_attr_fdb_group()
1053 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
1064 NL_SET_ERR_MSG(extack, "Reserved fields in nexthop_grp must be 0"); in nh_check_attr_group()
1068 NL_SET_ERR_MSG(extack, "Invalid value for weight"); in nh_check_attr_group()
[all …]
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()
Dfib_semantics.c588 NL_SET_ERR_MSG(extack, "LWT encap type not specified"); in fib_nh_common_init()
657 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
681 NL_SET_ERR_MSG(extack, in fib_get_nhs()
687 NL_SET_ERR_MSG(extack, in fib_get_nhs()
702 NL_SET_ERR_MSG(extack, in fib_get_nhs()
737 NL_SET_ERR_MSG(extack, in fib_get_nhs()
747 NL_SET_ERR_MSG(extack, in fib_get_nhs()
754 NL_SET_ERR_MSG(extack, in fib_get_nhs()
809 NL_SET_ERR_MSG(extack, "Multipath support not enabled in kernel"); in fib_get_nhs()
909 NL_SET_ERR_MSG(extack, in fib_nh_match()
[all …]
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()
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()
[all …]
Dnetlink.c30 NL_SET_ERR_MSG(extack, "Unsupported ip proto"); in rtm_getroute_parse_ip_proto()
/Linux-v5.15/net/mctp/
Dneigh.c130 NL_SET_ERR_MSG(extack, "lladdr too large?"); in mctp_rtm_newneigh()
135 NL_SET_ERR_MSG(extack, "Neighbour EID must be specified"); in mctp_rtm_newneigh()
140 NL_SET_ERR_MSG(extack, "Neighbour lladdr must be specified"); in mctp_rtm_newneigh()
146 NL_SET_ERR_MSG(extack, "Invalid neighbour EID"); in mctp_rtm_newneigh()
164 NL_SET_ERR_MSG(extack, "Wrong lladdr length"); in mctp_rtm_newneigh()
186 NL_SET_ERR_MSG(extack, "incorrect format"); in mctp_rtm_delneigh()
191 NL_SET_ERR_MSG(extack, "Neighbour EID must be specified"); in mctp_rtm_delneigh()
/Linux-v5.15/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.c2032 NL_SET_ERR_MSG(extack, "Invalid header for link dump"); in rtnl_valid_dump_ifinfo_req()
2039 NL_SET_ERR_MSG(extack, "Invalid values in header for link dump request"); in rtnl_valid_dump_ifinfo_req()
2043 NL_SET_ERR_MSG(extack, "Filter by device index not supported for link dumps"); in rtnl_valid_dump_ifinfo_req()
2105 NL_SET_ERR_MSG(extack, "Invalid target network namespace id"); in rtnl_dump_ifinfo()
2120 NL_SET_ERR_MSG(extack, "Unsupported attribute in link dump request"); in rtnl_dump_ifinfo()
2247 NL_SET_ERR_MSG(extack, "specified netns attribute not supported"); in rtnl_ensure_unique_netns()
2263 NL_SET_ERR_MSG(extack, "multiple netns identifying attributes specified"); in rtnl_ensure_unique_netns()
2549 NL_SET_ERR_MSG(extack, "Protodown not supported by device"); in do_set_proto_down()
2563 NL_SET_ERR_MSG(extack, "Invalid protodown reason value"); in do_set_proto_down()
2580 NL_SET_ERR_MSG(extack, "Cannot clear protodown, active reasons"); in do_set_proto_down()
[all …]
Dnet_namespace.c736 NL_SET_ERR_MSG(extack, "nsid is missing"); in rtnl_net_newid()
748 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_newid()
753 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_newid()
762 NL_SET_ERR_MSG(extack, in rtnl_net_newid()
776 NL_SET_ERR_MSG(extack, "The specified nsid is already used"); in rtnl_net_newid()
858 NL_SET_ERR_MSG(extack, "Unsupported attribute in peer netns getid request"); in rtnl_net_valid_getid_req()
896 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_getid()
902 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_getid()
912 NL_SET_ERR_MSG(extack, in rtnl_net_getid()
998 NL_SET_ERR_MSG(extack, in rtnl_valid_dump_net_req()
[all …]
Dneighbour.c1249 NL_SET_ERR_MSG(extack, "Neighbor entry is now dead"); in __neigh_update()
1293 NL_SET_ERR_MSG(extack, "No link layer address given"); in __neigh_update()
1806 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_delete()
1824 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_delete()
1877 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_add()
1890 NL_SET_ERR_MSG(extack, "Invalid link address"); in neigh_add()
1900 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_add()
1925 NL_SET_ERR_MSG(extack, "Device not specified"); in neigh_add()
2348 NL_SET_ERR_MSG(extack, "Invalid header for neighbor table dump request"); in neightbl_valid_dump_info()
2354 NL_SET_ERR_MSG(extack, "Invalid values in header for neighbor table dump request"); in neightbl_valid_dump_info()
[all …]
/Linux-v5.15/net/tipc/
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()
305 NL_SET_ERR_MSG(extack, "Cannot adjust to lower"); 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()
351 NL_SET_ERR_MSG(extack, "Failed to create discoverer"); in tipc_enable_bearer()
930 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in tipc_nl_bearer_get()
971 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in __tipc_nl_bearer_disable()
[all …]
/Linux-v5.15/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)
/Linux-v5.15/drivers/net/ethernet/marvell/prestera/
Dprestera_span.c173 NL_SET_ERR_MSG(f->common.extack, in prestera_span_replace()
181 NL_SET_ERR_MSG(f->common.extack, in prestera_span_replace()

1234