Home
last modified time | relevance | path

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

123

/Linux-v5.4/net/ipv4/
Dnexthop.c372 NL_SET_ERR_MSG(extack, in valid_group_nh()
380 NL_SET_ERR_MSG(extack, in valid_group_nh()
397 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
408 NL_SET_ERR_MSG(extack, "Reserved fields in nexthop_grp must be 0"); in nh_check_attr_group()
412 NL_SET_ERR_MSG(extack, "Invalid value for weight"); in nh_check_attr_group()
417 NL_SET_ERR_MSG(extack, "Nexthop id can not be used twice in a group"); in nh_check_attr_group()
429 NL_SET_ERR_MSG(extack, "Invalid nexthop id"); in nh_check_attr_group()
439 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
555 NL_SET_ERR_MSG(extack, "IPv6 routes using source address can not use nexthop objects"); in check_src_addr()
589 NL_SET_ERR_MSG(extack, "IPv6 routes can not use an IPv4 nexthop"); in fib6_check_nexthop()
[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.c581 NL_SET_ERR_MSG(extack, "LWT encap type not specified"); in fib_nh_common_init()
649 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
673 NL_SET_ERR_MSG(extack, in fib_get_nhs()
679 NL_SET_ERR_MSG(extack, in fib_get_nhs()
694 NL_SET_ERR_MSG(extack, in fib_get_nhs()
729 NL_SET_ERR_MSG(extack, in fib_get_nhs()
739 NL_SET_ERR_MSG(extack, in fib_get_nhs()
746 NL_SET_ERR_MSG(extack, in fib_get_nhs()
801 NL_SET_ERR_MSG(extack, "Multipath support not enabled in kernel"); in fib_get_nhs()
901 NL_SET_ERR_MSG(extack, in fib_nh_match()
[all …]
Dfib_frontend.c690 NL_SET_ERR_MSG(extack, "Invalid attribute length for RTA_VIA"); in fib_gw_from_via()
700 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_VIA"); in fib_gw_from_via()
709 NL_SET_ERR_MSG(extack, "Invalid IPv6 address in RTA_VIA"); in fib_gw_from_via()
715 NL_SET_ERR_MSG(extack, "IPv6 support not enabled in kernel"); in fib_gw_from_via()
720 NL_SET_ERR_MSG(extack, "Unsupported address family in RTA_VIA"); in fib_gw_from_via()
758 NL_SET_ERR_MSG(extack, "Invalid route type"); in rtm_to_fib_config()
827 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
834 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()
/Linux-v5.4/net/sched/
Dact_tunnel_key.c84 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in tunnel_key_copy_geneve_opt()
91 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in tunnel_key_copy_geneve_opt()
95 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in tunnel_key_copy_geneve_opt()
139 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in tunnel_key_copy_opts()
151 NL_SET_ERR_MSG(extack, "Empty list of tunnel options"); in tunnel_key_copy_opts()
156 NL_SET_ERR_MSG(extack, "Trailing data after parsing tunnel key options attributes"); in tunnel_key_copy_opts()
183 NL_SET_ERR_MSG(extack, "Cannot set tunnel options for unknown tunnel type"); in tunnel_key_opts_set()
236 NL_SET_ERR_MSG(extack, "Tunnel requires attributes to be passed"); in tunnel_key_init()
243 NL_SET_ERR_MSG(extack, "Failed to parse nested tunnel key attributes"); in tunnel_key_init()
248 NL_SET_ERR_MSG(extack, "Missing tunnel key parameters"); in tunnel_key_init()
[all …]
Dsch_api.c414 NL_SET_ERR_MSG(extack, "Invalid rate table parameters for searching"); in qdisc_get_rtab()
436 NL_SET_ERR_MSG(extack, "Failed to allocate new qdisc rate table"); in qdisc_get_rtab()
483 NL_SET_ERR_MSG(extack, "Size table base attribute is missing"); in qdisc_get_stab()
491 NL_SET_ERR_MSG(extack, "Size table data attribute is missing"); in qdisc_get_stab()
499 NL_SET_ERR_MSG(extack, "Invalid size of size table"); in qdisc_get_stab()
848 NL_SET_ERR_MSG(extack, "Offloading graft operation failed."); in qdisc_offload_graft_helper()
1038 NL_SET_ERR_MSG(extack, "Device does not have an ingress queue"); in qdisc_graft()
1096 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_graft()
1117 NL_SET_ERR_MSG(extack, "Ingress block index cannot be 0"); in qdisc_block_indexes_set()
1121 NL_SET_ERR_MSG(extack, "Ingress block sharing is not supported"); in qdisc_block_indexes_set()
[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()
340 NL_SET_ERR_MSG(extack, "tcf_generic_walker: unknown command"); in tcf_generic_walker()
864 NL_SET_ERR_MSG(extack, "TC action kind must be specified"); in tcf_action_init_1()
868 NL_SET_ERR_MSG(extack, "TC action name too long"); in tcf_action_init_1()
874 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie"); in tcf_action_init_1()
881 NL_SET_ERR_MSG(extack, "TC action name too long"); in tcf_action_init_1()
909 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tcf_action_init_1()
937 NL_SET_ERR_MSG(extack, "can't use goto chain with NULL chain"); in tcf_action_init_1()
[all …]
Dsch_taprio.c789 NL_SET_ERR_MSG(extack, "Invalid interval for schedule entry"); in fill_sched_entry()
807 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_sched_entry()
831 NL_SET_ERR_MSG(extack, "Attribute is not of type 'entry'"); in parse_sched_list()
837 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_sched_list()
863 NL_SET_ERR_MSG(extack, "Adding a single entry is not supported"); in parse_taprio_schedule()
902 NL_SET_ERR_MSG(extack, "'mqprio' configuration is necessary"); in taprio_parse_mqprio_opt()
914 NL_SET_ERR_MSG(extack, "Number of traffic classes is outside valid range"); in taprio_parse_mqprio_opt()
920 NL_SET_ERR_MSG(extack, "Number of traffic classes is greater than number of HW queues"); in taprio_parse_mqprio_opt()
927 NL_SET_ERR_MSG(extack, "Invalid traffic class in priority to traffic class mapping"); in taprio_parse_mqprio_opt()
941 NL_SET_ERR_MSG(extack, "Invalid queue in traffic class to queue mapping"); in taprio_parse_mqprio_opt()
[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()
329 NL_SET_ERR_MSG(extack, "Specified device does not support ETF offload"); in etf_enable_offload()
338 NL_SET_ERR_MSG(extack, "Specified device failed to setup ETF hardware offload"); in etf_enable_offload()
355 NL_SET_ERR_MSG(extack, in etf_init()
366 NL_SET_ERR_MSG(extack, "Missing mandatory ETF parameters"); in etf_init()
410 NL_SET_ERR_MSG(extack, "Clockid is not supported"); in etf_init()
Dcls_api.c153 NL_SET_ERR_MSG(extack, "TC classifier not found"); in tcf_proto_lookup_ops()
751 NL_SET_ERR_MSG(extack, "Bind to offloaded block failed as dev has offload disabled"); in tcf_block_offload_bind()
811 NL_SET_ERR_MSG(extack, "Memory allocation for head change callback item failed"); in tcf_chain0_head_change_cb_add()
909 NL_SET_ERR_MSG(extack, "Memory allocation for block failed"); in tcf_block_create()
1094 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1102 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1110 NL_SET_ERR_MSG(extack, "Qdisc not classful"); in __tcf_qdisc_find()
1116 NL_SET_ERR_MSG(extack, "Class doesn't support blocks"); in __tcf_qdisc_find()
1154 NL_SET_ERR_MSG(extack, "Specified class doesn't exist"); in __tcf_qdisc_cl_find()
1172 NL_SET_ERR_MSG(extack, "Block of given index was not found"); in __tcf_block_find()
[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()
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.c274 NL_SET_ERR_MSG(extack, "Specified device does not support cbs offload"); in cbs_enable_offload()
288 NL_SET_ERR_MSG(extack, "Specified device failed to setup cbs hardware offload"); in cbs_enable_offload()
365 NL_SET_ERR_MSG(extack, "Missing CBS parameter which are mandatory"); in cbs_change()
397 NL_SET_ERR_MSG(extack, "Missing CBS qdisc options which are mandatory"); in cbs_init()
/Linux-v5.4/net/core/
Dfib_rules.c471 NL_SET_ERR_MSG(extack, "Invalid l3mdev attribute"); in fib_nl2rule_l3mdev()
481 NL_SET_ERR_MSG(extack, "l3mdev support is not enabled in kernel"); in fib_nl2rule_l3mdev()
502 NL_SET_ERR_MSG(extack, "Invalid source address"); in fib_nl2rule()
510 NL_SET_ERR_MSG(extack, "Invalid dst address"); in fib_nl2rule()
587 NL_SET_ERR_MSG(extack, "Unexpected goto"); in fib_nl2rule()
594 NL_SET_ERR_MSG(extack, "Backward goto not supported"); in fib_nl2rule()
598 NL_SET_ERR_MSG(extack, "Missing goto target for action goto"); in fib_nl2rule()
603 NL_SET_ERR_MSG(extack, "l3mdev and table are mutually exclusive"); in fib_nl2rule()
610 NL_SET_ERR_MSG(extack, "No permission to set uid"); in fib_nl2rule()
618 NL_SET_ERR_MSG(extack, "Invalid uid range"); in fib_nl2rule()
[all …]
Drtnetlink.c1893 NL_SET_ERR_MSG(extack, "Invalid header for link dump"); in rtnl_valid_dump_ifinfo_req()
1900 NL_SET_ERR_MSG(extack, "Invalid values in header for link dump request"); in rtnl_valid_dump_ifinfo_req()
1904 NL_SET_ERR_MSG(extack, "Filter by device index not supported for link dumps"); in rtnl_valid_dump_ifinfo_req()
1966 NL_SET_ERR_MSG(extack, "Invalid target network namespace id"); in rtnl_dump_ifinfo()
1981 NL_SET_ERR_MSG(extack, "Unsupported attribute in link dump request"); in rtnl_dump_ifinfo()
2108 NL_SET_ERR_MSG(extack, "specified netns attribute not supported"); in rtnl_ensure_unique_netns()
2124 NL_SET_ERR_MSG(extack, "multiple netns identifying attributes specified"); in rtnl_ensure_unique_netns()
2944 NL_SET_ERR_MSG(extack, "Invalid number of transmit queues"); in rtnl_create_link()
2949 NL_SET_ERR_MSG(extack, "Invalid number of receive queues"); in rtnl_create_link()
3176 NL_SET_ERR_MSG(extack, "Unknown device type"); in __rtnl_newlink()
[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()
997 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()
1804 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_delete()
1822 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_delete()
1875 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_add()
1888 NL_SET_ERR_MSG(extack, "Invalid link address"); in neigh_add()
1898 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_add()
1923 NL_SET_ERR_MSG(extack, "Device not specified"); in neigh_add()
2346 NL_SET_ERR_MSG(extack, "Invalid header for neighbor table dump request"); in neightbl_valid_dump_info()
2352 NL_SET_ERR_MSG(extack, "Invalid values in header for neighbor table dump request"); in neightbl_valid_dump_info()
[all …]
Dlwtunnel.c147 NL_SET_ERR_MSG(extack, "Unknown lwt encapsulation type"); in lwtunnel_valid_encap_type()
171 NL_SET_ERR_MSG(extack, "lwt encapsulation type not supported"); in lwtunnel_valid_encap_type()
/Linux-v5.4/net/mpls/
Daf_mpls.c945 NL_SET_ERR_MSG(extack, in mpls_label_ok()
952 NL_SET_ERR_MSG(extack, in mpls_label_ok()
987 NL_SET_ERR_MSG(extack, "MPLS does not support route append"); in mpls_route_add()
1017 NL_SET_ERR_MSG(extack, "Route does not contain a nexthop"); in mpls_route_add()
1722 NL_SET_ERR_MSG(extack, "Too many labels"); in nla_get_labels()
1754 NL_SET_ERR_MSG(extack, in nla_get_labels()
1757 NL_SET_ERR_MSG(extack, in nla_get_labels()
1801 NL_SET_ERR_MSG(extack, "Invalid address family in rtmsg"); in rtm_to_route_config()
1805 NL_SET_ERR_MSG(extack, "rtm_dst_len must be 20 for MPLS"); in rtm_to_route_config()
1809 NL_SET_ERR_MSG(extack, "rtm_src_len must be 0 for MPLS"); in rtm_to_route_config()
[all …]
/Linux-v5.4/include/linux/
Dnetlink.h87 #define NL_SET_ERR_MSG(extack, msg) do { \ macro
96 NL_SET_ERR_MSG((extack), KBUILD_MODNAME ": " msg)
/Linux-v5.4/include/net/
Dpkt_cls.h487 NL_SET_ERR_MSG(extack, "Interface name too long"); in tcf_change_indev()
576 NL_SET_ERR_MSG(extack, "TC offload is disabled on net device"); in tc_can_offload_extack()
588 NL_SET_ERR_MSG(common->extack, in tc_cls_can_offload_and_chain0()
/Linux-v5.4/net/ipv6/
Droute.c3230 NL_SET_ERR_MSG(extack, in ip6_route_check_nh_onlink()
3310 NL_SET_ERR_MSG(extack, "Gateway can not be a local address"); in ip6_validate_gw()
3325 NL_SET_ERR_MSG(extack, "Invalid gateway address"); in ip6_validate_gw()
3347 NL_SET_ERR_MSG(extack, "Egress device not specified"); in ip6_validate_gw()
3350 NL_SET_ERR_MSG(extack, in ip6_validate_gw()
3360 NL_SET_ERR_MSG(extack, "Gateway can not be a local address"); in ip6_validate_gw()
3406 NL_SET_ERR_MSG(extack, in fib6_nh_init()
3412 NL_SET_ERR_MSG(extack, "Nexthop device is not up"); in fib6_nh_init()
3458 NL_SET_ERR_MSG(extack, "IPv6 is disabled on nexthop device"); in fib6_nh_init()
3464 NL_SET_ERR_MSG(extack, "Nexthop device is not up"); in fib6_nh_init()
[all …]
/Linux-v5.4/net/wireless/
Dpmsr.c23 NL_SET_ERR_MSG(info->extack, "FTM: unsupported bandwidth"); in pmsr_parse_ftm()
43 NL_SET_ERR_MSG(info->extack, in pmsr_parse_ftm()
72 NL_SET_ERR_MSG(info->extack, in pmsr_parse_ftm()
/Linux-v5.4/drivers/net/
Dvrf.c785 NL_SET_ERR_MSG(extack, in do_vrf_add_slave()
808 NL_SET_ERR_MSG(extack, in vrf_add_slave()
1300 NL_SET_ERR_MSG(extack, "Invalid hardware address"); in vrf_validate()
1304 NL_SET_ERR_MSG(extack, "Invalid hardware address"); in vrf_validate()
1332 NL_SET_ERR_MSG(extack, "VRF table id is missing"); in vrf_newlink()

123