Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/sched/
Dact_tunnel_key.c86 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in tunnel_key_copy_geneve_opt()
93 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in tunnel_key_copy_geneve_opt()
97 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in tunnel_key_copy_geneve_opt()
149 NL_SET_ERR_MSG(extack, "Empty list of tunnel options"); in tunnel_key_copy_opts()
154 NL_SET_ERR_MSG(extack, "Trailing data after parsing tunnel key options attributes"); in tunnel_key_copy_opts()
181 NL_SET_ERR_MSG(extack, "Cannot set tunnel options for unknown tunnel type"); in tunnel_key_opts_set()
221 NL_SET_ERR_MSG(extack, "Tunnel requires attributes to be passed"); in tunnel_key_init()
228 NL_SET_ERR_MSG(extack, "Failed to parse nested tunnel key attributes"); in tunnel_key_init()
233 NL_SET_ERR_MSG(extack, "Missing tunnel key parameters"); in tunnel_key_init()
250 NL_SET_ERR_MSG(extack, "Missing tunnel key id"); in tunnel_key_init()
[all …]
Dcls_api.c85 NL_SET_ERR_MSG(extack, "TC classifier not found"); in tcf_proto_lookup_ops()
402 NL_SET_ERR_MSG(extack, "Bind to offloaded block failed as dev has offload disabled"); in tcf_block_offload_bind()
445 NL_SET_ERR_MSG(extack, "Memory allocation for head change callback item failed"); in tcf_chain0_head_change_cb_add()
507 NL_SET_ERR_MSG(extack, "Memory allocation for block failed"); in tcf_block_create()
546 NL_SET_ERR_MSG(extack, "Block of given index was not found"); in tcf_block_find()
565 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in tcf_block_find()
573 NL_SET_ERR_MSG(extack, "Qdisc not classful"); in tcf_block_find()
578 NL_SET_ERR_MSG(extack, "Class doesn't support blocks"); in tcf_block_find()
586 NL_SET_ERR_MSG(extack, "Specified class doesn't exist"); in tcf_block_find()
596NL_SET_ERR_MSG(extack, "This filter block is shared. Please use the block index to manipulate the … in tcf_block_find()
[all …]
Dsch_api.c403 NL_SET_ERR_MSG(extack, "Invalid rate table parameters for searching"); in qdisc_get_rtab()
425 NL_SET_ERR_MSG(extack, "Failed to allocate new qdisc rate table"); in qdisc_get_rtab()
471 NL_SET_ERR_MSG(extack, "Size table base attribute is missing"); in qdisc_get_stab()
479 NL_SET_ERR_MSG(extack, "Size table data attribute is missing"); in qdisc_get_stab()
487 NL_SET_ERR_MSG(extack, "Invalid size of size table"); in qdisc_get_stab()
955 NL_SET_ERR_MSG(extack, "Device does not have an ingress queue"); in qdisc_graft()
1012 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_graft()
1031 NL_SET_ERR_MSG(extack, "Ingress block index cannot be 0"); in qdisc_block_indexes_set()
1035 NL_SET_ERR_MSG(extack, "Ingress block sharing is not supported"); in qdisc_block_indexes_set()
1044 NL_SET_ERR_MSG(extack, "Egress block index cannot be 0"); in qdisc_block_indexes_set()
[all …]
Dsch_etf.c56 NL_SET_ERR_MSG(extack, "Dynamic clockids are not supported"); in validate_input_params()
61 NL_SET_ERR_MSG(extack, "Invalid clockid. CLOCK_TAI must be used"); in validate_input_params()
66 NL_SET_ERR_MSG(extack, "Delta must be positive"); in validate_input_params()
298 NL_SET_ERR_MSG(extack, "Specified device does not support ETF offload"); in etf_enable_offload()
307 NL_SET_ERR_MSG(extack, "Specified device failed to setup ETF hardware offload"); in etf_enable_offload()
324 NL_SET_ERR_MSG(extack, in etf_init()
334 NL_SET_ERR_MSG(extack, "Missing mandatory ETF parameters"); in etf_init()
377 NL_SET_ERR_MSG(extack, "Clockid is not supported"); in etf_init()
Dact_api.c297 NL_SET_ERR_MSG(extack, "tcf_generic_walker: unknown command"); in tcf_generic_walker()
811 NL_SET_ERR_MSG(extack, "TC action kind must be specified"); in tcf_action_init_1()
815 NL_SET_ERR_MSG(extack, "TC action name too long"); in tcf_action_init_1()
822 NL_SET_ERR_MSG(extack, "TC cookie size above the maximum"); in tcf_action_init_1()
828 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie"); in tcf_action_init_1()
835 NL_SET_ERR_MSG(extack, "TC action name too long"); in tcf_action_init_1()
863 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tcf_action_init_1()
892 NL_SET_ERR_MSG(extack, "Failed to init TC action chain"); in tcf_action_init_1()
899 NL_SET_ERR_MSG(extack, "Invalid control action value"); in tcf_action_init_1()
1043 NL_SET_ERR_MSG(extack, "Failed to fill netlink attributes while adding TC action"); in tcf_get_notify()
[all …]
Dsch_drr.c78 NL_SET_ERR_MSG(extack, "DRR options are required for this operation"); in drr_change_class()
89 NL_SET_ERR_MSG(extack, "Specified DRR quantum cannot be zero"); in drr_change_class()
103 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
136 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
190 NL_SET_ERR_MSG(extack, "DRR classid must be zero"); in drr_tcf_block()
Dsch_cbs.c272 NL_SET_ERR_MSG(extack, "Specified device does not support cbs offload"); in cbs_enable_offload()
286 NL_SET_ERR_MSG(extack, "Specified device failed to setup cbs hardware offload"); in cbs_enable_offload()
310 NL_SET_ERR_MSG(extack, "Missing CBS parameter which are mandatory"); in cbs_change()
351 NL_SET_ERR_MSG(extack, "Missing CBS qdisc options which are mandatory"); in cbs_init()
Dsch_cbq.c1148 NL_SET_ERR_MSG(extack, "CBQ options are required for this operation"); in cbq_init()
1157 NL_SET_ERR_MSG(extack, "Rate specification missing or incomplete"); in cbq_init()
1470 NL_SET_ERR_MSG(extack, "Mandatory qdisc options missing"); in cbq_change_class()
1479NL_SET_ERR_MSG(extack, "Neither overlimit strategy nor policing attributes can be used for changin… in cbq_change_class()
1488 NL_SET_ERR_MSG(extack, "Invalid parent id"); in cbq_change_class()
1492 NL_SET_ERR_MSG(extack, "Parent must be root"); in cbq_change_class()
1511 NL_SET_ERR_MSG(extack, "Failed to replace specified rate estimator"); in cbq_change_class()
1551NL_SET_ERR_MSG(extack, "One of the following attributes MUST be specified: WRR, rate or link shari… in cbq_change_class()
1564 NL_SET_ERR_MSG(extack, "Specified class not found"); in cbq_change_class()
1579 NL_SET_ERR_MSG(extack, "Unable to generate classid"); in cbq_change_class()
[all …]
Dcls_flower.c647 NL_SET_ERR_MSG(extack, "Non-geneve option type for mask"); in fl_set_geneve_opt()
663 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in fl_set_geneve_opt()
676 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in fl_set_geneve_opt()
680 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in fl_set_geneve_opt()
687 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in fl_set_geneve_opt()
746 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt()
754 NL_SET_ERR_MSG(extack, "Unknown tunnel option type"); in fl_set_enc_opt()
/Linux-v4.19/net/ipv4/
Dfib_semantics.c476 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
494 NL_SET_ERR_MSG(extack, in fib_get_nhs()
500 NL_SET_ERR_MSG(extack, in fib_get_nhs()
531 NL_SET_ERR_MSG(extack, in fib_get_nhs()
795 NL_SET_ERR_MSG(extack, in fib_check_nh()
803 NL_SET_ERR_MSG(extack, in fib_check_nh()
809 NL_SET_ERR_MSG(extack, in fib_check_nh()
852 NL_SET_ERR_MSG(extack, in fib_check_nh()
860 NL_SET_ERR_MSG(extack, "Nexthop has invalid gateway"); in fib_check_nh()
867 NL_SET_ERR_MSG(extack, in fib_check_nh()
[all …]
Dnetlink.c19 NL_SET_ERR_MSG(extack, "Unsupported ip proto"); in rtm_getroute_parse_ip_proto()
/Linux-v4.19/net/core/
Dfib_rules.c474 NL_SET_ERR_MSG(extack, "Invalid l3mdev attribute"); in fib_nl2rule_l3mdev()
484 NL_SET_ERR_MSG(extack, "l3mdev support is not enabled in kernel"); in fib_nl2rule_l3mdev()
505 NL_SET_ERR_MSG(extack, "Invalid source address"); in fib_nl2rule()
513 NL_SET_ERR_MSG(extack, "Invalid dst address"); in fib_nl2rule()
590 NL_SET_ERR_MSG(extack, "Unexpected goto"); in fib_nl2rule()
597 NL_SET_ERR_MSG(extack, "Backward goto not supported"); in fib_nl2rule()
601 NL_SET_ERR_MSG(extack, "Missing goto target for action goto"); in fib_nl2rule()
606 NL_SET_ERR_MSG(extack, "l3mdev and table are mutually exclusive"); in fib_nl2rule()
613 NL_SET_ERR_MSG(extack, "No permission to set uid"); in fib_nl2rule()
621 NL_SET_ERR_MSG(extack, "Invalid uid range"); in fib_nl2rule()
[all …]
Dnet_namespace.c688 NL_SET_ERR_MSG(extack, "nsid is missing"); in rtnl_net_newid()
700 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_newid()
705 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_newid()
714 NL_SET_ERR_MSG(extack, in rtnl_net_newid()
727 NL_SET_ERR_MSG(extack, "The specified nsid is already used"); in rtnl_net_newid()
786 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_getid()
792 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_getid()
Dlwtunnel.c152 NL_SET_ERR_MSG(extack, "Unknown lwt encapsulation type"); in lwtunnel_valid_encap_type()
176 NL_SET_ERR_MSG(extack, "lwt encapsulation type not supported"); in lwtunnel_valid_encap_type()
/Linux-v4.19/net/mpls/
Daf_mpls.c946 NL_SET_ERR_MSG(extack, in mpls_label_ok()
953 NL_SET_ERR_MSG(extack, in mpls_label_ok()
988 NL_SET_ERR_MSG(extack, "MPLS does not support route append"); in mpls_route_add()
1018 NL_SET_ERR_MSG(extack, "Route does not contain a nexthop"); in mpls_route_add()
1669 NL_SET_ERR_MSG(extack, "Too many labels"); in nla_get_labels()
1701 NL_SET_ERR_MSG(extack, in nla_get_labels()
1704 NL_SET_ERR_MSG(extack, in nla_get_labels()
1748 NL_SET_ERR_MSG(extack, "Invalid address family in rtmsg"); in rtm_to_route_config()
1752 NL_SET_ERR_MSG(extack, "rtm_dst_len must be 20 for MPLS"); in rtm_to_route_config()
1756 NL_SET_ERR_MSG(extack, "rtm_src_len must be 0 for MPLS"); in rtm_to_route_config()
[all …]
Dmpls_iptunnel.c177 NL_SET_ERR_MSG(extack, "MPLS_IPTUNNEL_DST attribute is missing"); in mpls_build_state()
/Linux-v4.19/include/linux/
Dnetlink.h87 #define NL_SET_ERR_MSG(extack, msg) do { \ macro
96 NL_SET_ERR_MSG((extack), KBUILD_MODNAME ": " msg)
/Linux-v4.19/include/net/
Dpkt_cls.h578 NL_SET_ERR_MSG(extack, "Interface name too long"); in tcf_change_indev()
666 NL_SET_ERR_MSG(extack, "TC offload is disabled on net device"); in tc_can_offload_extack()
678 NL_SET_ERR_MSG(common->extack, in tc_cls_can_offload_and_chain0()
Dlwtunnel.h198 NL_SET_ERR_MSG(extack, "CONFIG_LWTUNNEL is not enabled in this kernel"); in lwtunnel_valid_encap_type()
Dgenetlink.h112 #define GENL_SET_ERR_MSG(info, msg) NL_SET_ERR_MSG((info)->extack, msg)
/Linux-v4.19/drivers/net/
Dvrf.c778 NL_SET_ERR_MSG(extack, in do_vrf_add_slave()
801 NL_SET_ERR_MSG(extack, in vrf_add_slave()
1272 NL_SET_ERR_MSG(extack, "Invalid hardware address"); in vrf_validate()
1276 NL_SET_ERR_MSG(extack, "Invalid hardware address"); in vrf_validate()
1304 NL_SET_ERR_MSG(extack, "VRF table id is missing"); in vrf_newlink()
Dvxlan.c2774 NL_SET_ERR_MSG(extack, in vxlan_validate()
2967 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
2984 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
2990 NL_SET_ERR_MSG(extack, "Local address cannot be multicast"); in vxlan_config_validate()
2996 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3012 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3021 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3032 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3042 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3051 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
[all …]
/Linux-v4.19/net/ipv6/
Droute.c2803 NL_SET_ERR_MSG(extack, in ip6_route_check_nh_onlink()
2883 NL_SET_ERR_MSG(extack, "Gateway can not be a local address"); in ip6_validate_gw()
2898 NL_SET_ERR_MSG(extack, "Invalid gateway address"); in ip6_validate_gw()
2916 NL_SET_ERR_MSG(extack, "Egress device not specified"); in ip6_validate_gw()
2919 NL_SET_ERR_MSG(extack, in ip6_validate_gw()
2929 NL_SET_ERR_MSG(extack, "Gateway can not be a local address"); in ip6_validate_gw()
2952 NL_SET_ERR_MSG(extack, "Userspace can not set RTF_PCPU"); in ip6_route_info_create()
2958 NL_SET_ERR_MSG(extack, "Userspace can not set RTF_CACHE"); in ip6_route_info_create()
2963 NL_SET_ERR_MSG(extack, "Invalid route type"); in ip6_route_info_create()
2968 NL_SET_ERR_MSG(extack, "Invalid prefix length"); in ip6_route_info_create()
[all …]
/Linux-v4.19/net/decnet/
Ddn_rules.c131 NL_SET_ERR_MSG(extack, "Invalid tos value"); in dn_fib_rule_configure()
/Linux-v4.19/net/bridge/
Dbr_if.c583 NL_SET_ERR_MSG(extack, in br_add_if()
594 NL_SET_ERR_MSG(extack, in br_add_if()

12