Home
last modified time | relevance | path

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

123

/Linux-v5.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.c417 NL_SET_ERR_MSG(extack, "Invalid rate table parameters for searching"); in qdisc_get_rtab()
439 NL_SET_ERR_MSG(extack, "Failed to allocate new qdisc rate table"); in qdisc_get_rtab()
486 NL_SET_ERR_MSG(extack, "Size table base attribute is missing"); in qdisc_get_stab()
494 NL_SET_ERR_MSG(extack, "Size table data attribute is missing"); in qdisc_get_stab()
502 NL_SET_ERR_MSG(extack, "Invalid size of size table"); in qdisc_get_stab()
858 NL_SET_ERR_MSG(extack, "Offloading graft operation failed."); in qdisc_offload_graft_helper()
1048 NL_SET_ERR_MSG(extack, "Device does not have an ingress queue"); in qdisc_graft()
1105 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_graft()
1126 NL_SET_ERR_MSG(extack, "Ingress block index cannot be 0"); in qdisc_block_indexes_set()
1130 NL_SET_ERR_MSG(extack, "Ingress block sharing is not supported"); 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()
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()
348 NL_SET_ERR_MSG(extack, "tcf_generic_walker: unknown command"); in tcf_generic_walker()
935 NL_SET_ERR_MSG(extack, "TC action kind must be specified"); in tcf_action_init_1()
939 NL_SET_ERR_MSG(extack, "TC action name too long"); in tcf_action_init_1()
945 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie"); in tcf_action_init_1()
955 NL_SET_ERR_MSG(extack, "TC action name too long"); in tcf_action_init_1()
983 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tcf_action_init_1()
1180 NL_SET_ERR_MSG(extack, "Failed to fill netlink attributes while adding TC action"); in tcf_get_notify()
[all …]
Dcls_api.c154 NL_SET_ERR_MSG(extack, "TC classifier not found"); in tcf_proto_lookup_ops()
687 NL_SET_ERR_MSG(extack, "Driver ndo_setup_tc failed"); in tcf_block_offload_cmd()
716 NL_SET_ERR_MSG(extack, "Bind to offloaded block failed as dev has offload disabled"); in tcf_block_offload_bind()
769 NL_SET_ERR_MSG(extack, "Memory allocation for head change callback item failed"); in tcf_chain0_head_change_cb_add()
867 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 …]
Dsch_taprio.c803 NL_SET_ERR_MSG(extack, "Invalid interval for schedule entry"); in fill_sched_entry()
822 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_sched_entry()
846 NL_SET_ERR_MSG(extack, "Attribute is not of type 'entry'"); in parse_sched_list()
852 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_sched_list()
878 NL_SET_ERR_MSG(extack, "Adding a single entry is not supported"); in parse_taprio_schedule()
917 NL_SET_ERR_MSG(extack, "'mqprio' configuration is necessary"); in taprio_parse_mqprio_opt()
929 NL_SET_ERR_MSG(extack, "Number of traffic classes is outside valid range"); in taprio_parse_mqprio_opt()
935 NL_SET_ERR_MSG(extack, "Number of traffic classes is greater than number of HW queues"); in taprio_parse_mqprio_opt()
942 NL_SET_ERR_MSG(extack, "Invalid traffic class in priority to traffic class mapping"); in taprio_parse_mqprio_opt()
956 NL_SET_ERR_MSG(extack, "Invalid queue in traffic class to queue mapping"); in taprio_parse_mqprio_opt()
[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.c812 NL_SET_ERR_MSG(extack, "Missing MPLS option \"depth\""); in fl_set_key_mpls_lse()
906 NL_SET_ERR_MSG(extack, in fl_set_key_mpls_opts()
1032 NL_SET_ERR_MSG(extack, "Missing flags mask"); in fl_set_key_flags()
1088 NL_SET_ERR_MSG(extack, "Non-geneve option type for mask"); in fl_set_geneve_opt()
1105 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in fl_set_geneve_opt()
1118 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in fl_set_geneve_opt()
1122 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in fl_set_geneve_opt()
1129 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in fl_set_geneve_opt()
1164 NL_SET_ERR_MSG(extack, "Non-vxlan option type for mask"); in fl_set_vxlan_opt()
1174 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.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()
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()
/Linux-v5.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.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.c589 NL_SET_ERR_MSG(extack, "LWT encap type not specified"); in fib_nh_common_init()
658 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
682 NL_SET_ERR_MSG(extack, in fib_get_nhs()
688 NL_SET_ERR_MSG(extack, in fib_get_nhs()
703 NL_SET_ERR_MSG(extack, in fib_get_nhs()
738 NL_SET_ERR_MSG(extack, in fib_get_nhs()
748 NL_SET_ERR_MSG(extack, in fib_get_nhs()
755 NL_SET_ERR_MSG(extack, in fib_get_nhs()
810 NL_SET_ERR_MSG(extack, "Multipath support not enabled in kernel"); in fib_get_nhs()
910 NL_SET_ERR_MSG(extack, in fib_nh_match()
[all …]
Dfib_frontend.c682 NL_SET_ERR_MSG(extack, "Invalid attribute length for RTA_VIA"); in fib_gw_from_via()
692 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_VIA"); in fib_gw_from_via()
701 NL_SET_ERR_MSG(extack, "Invalid IPv6 address in RTA_VIA"); in fib_gw_from_via()
707 NL_SET_ERR_MSG(extack, "IPv6 support not enabled in kernel"); in fib_gw_from_via()
712 NL_SET_ERR_MSG(extack, "Unsupported address family in RTA_VIA"); in fib_gw_from_via()
750 NL_SET_ERR_MSG(extack, "Invalid route type"); in rtm_to_fib_config()
819 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
826 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
849 NL_SET_ERR_MSG(extack, "Nexthop id does not exist"); in inet_rtm_delroute()
856 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.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()
/Linux-v5.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.c2020 NL_SET_ERR_MSG(extack, "Invalid header for link dump"); in rtnl_valid_dump_ifinfo_req()
2027 NL_SET_ERR_MSG(extack, "Invalid values in header for link dump request"); in rtnl_valid_dump_ifinfo_req()
2031 NL_SET_ERR_MSG(extack, "Filter by device index not supported for link dumps"); in rtnl_valid_dump_ifinfo_req()
2093 NL_SET_ERR_MSG(extack, "Invalid target network namespace id"); in rtnl_dump_ifinfo()
2108 NL_SET_ERR_MSG(extack, "Unsupported attribute in link dump request"); in rtnl_dump_ifinfo()
2235 NL_SET_ERR_MSG(extack, "specified netns attribute not supported"); in rtnl_ensure_unique_netns()
2251 NL_SET_ERR_MSG(extack, "multiple netns identifying attributes specified"); in rtnl_ensure_unique_netns()
2545 NL_SET_ERR_MSG(extack, "Protodown not supported by device"); in do_set_proto_down()
2559 NL_SET_ERR_MSG(extack, "Invalid protodown reason value"); in do_set_proto_down()
2576 NL_SET_ERR_MSG(extack, "Cannot clear protodown, active reasons"); in do_set_proto_down()
[all …]
Dnet_namespace.c743 NL_SET_ERR_MSG(extack, "nsid is missing"); in rtnl_net_newid()
755 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_newid()
760 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_newid()
769 NL_SET_ERR_MSG(extack, in rtnl_net_newid()
783 NL_SET_ERR_MSG(extack, "The specified nsid is already used"); in rtnl_net_newid()
865 NL_SET_ERR_MSG(extack, "Unsupported attribute in peer netns getid request"); in rtnl_net_valid_getid_req()
903 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_getid()
909 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_getid()
919 NL_SET_ERR_MSG(extack, in rtnl_net_getid()
1005 NL_SET_ERR_MSG(extack, in rtnl_valid_dump_net_req()
[all …]
Dneighbour.c1252 NL_SET_ERR_MSG(extack, "Neighbor entry is now dead"); in __neigh_update()
1292 NL_SET_ERR_MSG(extack, "No link layer address given"); in __neigh_update()
1808 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_delete()
1826 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_delete()
1879 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_add()
1892 NL_SET_ERR_MSG(extack, "Invalid link address"); in neigh_add()
1902 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_add()
1927 NL_SET_ERR_MSG(extack, "Device not specified"); in neigh_add()
2350 NL_SET_ERR_MSG(extack, "Invalid header for neighbor table dump request"); in neightbl_valid_dump_info()
2356 NL_SET_ERR_MSG(extack, "Invalid values in header for neighbor table dump request"); in neightbl_valid_dump_info()
[all …]
/Linux-v5.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)
/Linux-v5.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()
1710 NL_SET_ERR_MSG(extack, "Too many labels"); in nla_get_labels()
1742 NL_SET_ERR_MSG(extack, in nla_get_labels()
1745 NL_SET_ERR_MSG(extack, in nla_get_labels()
1789 NL_SET_ERR_MSG(extack, "Invalid address family in rtmsg"); in rtm_to_route_config()
1793 NL_SET_ERR_MSG(extack, "rtm_dst_len must be 20 for MPLS"); in rtm_to_route_config()
1797 NL_SET_ERR_MSG(extack, "rtm_src_len must be 0 for MPLS"); in rtm_to_route_config()
[all …]
/Linux-v5.10/net/xfrm/
Dxfrm_compat.c410 NL_SET_ERR_MSG(extack, "Bad attribute"); in xfrm_xlate32_attr()
414 NL_SET_ERR_MSG(extack, "Attribute bad length"); in xfrm_xlate32_attr()
424 NL_SET_ERR_MSG(extack, "Attribute bad length"); in xfrm_xlate32_attr()
512 NL_SET_ERR_MSG(extack, "Unsupported message type"); in xfrm_xlate32()

123