/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_matchall.c | 37 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-6.1.9/net/sched/ |
D | act_tunnel_key.c | 102 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in tunnel_key_copy_geneve_opt() 109 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in tunnel_key_copy_geneve_opt() 113 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in tunnel_key_copy_geneve_opt() 150 NL_SET_ERR_MSG(extack, "Missing tunnel key vxlan option gbp"); in tunnel_key_copy_vxlan_opt() 178 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option ver"); in tunnel_key_copy_erspan_opt() 185 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option index"); in tunnel_key_copy_erspan_opt() 191 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option dir or hwid"); in tunnel_key_copy_erspan_opt() 195 NL_SET_ERR_MSG(extack, "Tunnel key erspan option ver is incorrect"); in tunnel_key_copy_erspan_opt() 232 NL_SET_ERR_MSG(extack, "Duplicate type for geneve options"); in tunnel_key_copy_opts() 241 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in tunnel_key_copy_opts() [all …]
|
D | sch_api.c | 419 NL_SET_ERR_MSG(extack, "Invalid rate table parameters for searching"); in qdisc_get_rtab() 441 NL_SET_ERR_MSG(extack, "Failed to allocate new qdisc rate table"); in qdisc_get_rtab() 488 NL_SET_ERR_MSG(extack, "Size table base attribute is missing"); in qdisc_get_stab() 496 NL_SET_ERR_MSG(extack, "Size table data attribute is missing"); in qdisc_get_stab() 504 NL_SET_ERR_MSG(extack, "Invalid size of size table"); in qdisc_get_stab() 520 NL_SET_ERR_MSG(extack, "Invalid logarithmic size of size table"); in qdisc_get_stab() 867 NL_SET_ERR_MSG(extack, "Offloading graft operation failed."); in qdisc_offload_graft_helper() 1073 NL_SET_ERR_MSG(extack, "Device does not have an ingress queue"); in qdisc_graft() 1131 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_graft() 1136 NL_SET_ERR_MSG(extack, "Cannot assign noqueue to a class"); in qdisc_graft() [all …]
|
D | cls_api.c | 171 NL_SET_ERR_MSG(extack, "TC classifier not found"); in tcf_proto_lookup_ops() 706 NL_SET_ERR_MSG(extack, "Driver ndo_setup_tc failed"); in tcf_block_offload_cmd() 735 NL_SET_ERR_MSG(extack, "Bind to offloaded block failed as dev has offload disabled"); in tcf_block_offload_bind() 788 NL_SET_ERR_MSG(extack, "Memory allocation for head change callback item failed"); in tcf_chain0_head_change_cb_add() 886 NL_SET_ERR_MSG(extack, "Memory allocation for block failed"); in tcf_block_create() 1070 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find() 1078 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find() 1086 NL_SET_ERR_MSG(extack, "Qdisc not classful"); in __tcf_qdisc_find() 1092 NL_SET_ERR_MSG(extack, "Class doesn't support blocks"); in __tcf_qdisc_find() 1130 NL_SET_ERR_MSG(extack, "Specified class doesn't exist"); in __tcf_qdisc_cl_find() [all …]
|
D | sch_etf.c | 58 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() 327 NL_SET_ERR_MSG(extack, "Specified device does not support ETF offload"); in etf_enable_offload() 336 NL_SET_ERR_MSG(extack, "Specified device failed to setup ETF hardware offload"); in etf_enable_offload() 353 NL_SET_ERR_MSG(extack, in etf_init() 364 NL_SET_ERR_MSG(extack, "Missing mandatory ETF parameters"); in etf_init() 408 NL_SET_ERR_MSG(extack, "Clockid is not supported"); in etf_init()
|
D | sch_taprio.c | 810 NL_SET_ERR_MSG(extack, "Invalid interval for schedule entry"); in fill_sched_entry() 829 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_sched_entry() 853 NL_SET_ERR_MSG(extack, "Attribute is not of type 'entry'"); in parse_sched_list() 859 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_sched_list() 885 NL_SET_ERR_MSG(extack, "Adding a single entry is not supported"); in parse_taprio_schedule() 912 NL_SET_ERR_MSG(extack, "'cycle_time' can never be 0"); in parse_taprio_schedule() 930 NL_SET_ERR_MSG(extack, "'mqprio' configuration is necessary"); in taprio_parse_mqprio_opt() 942 NL_SET_ERR_MSG(extack, "Number of traffic classes is outside valid range"); in taprio_parse_mqprio_opt() 948 NL_SET_ERR_MSG(extack, "Number of traffic classes is greater than number of HW queues"); in taprio_parse_mqprio_opt() 955 NL_SET_ERR_MSG(extack, "Invalid traffic class in priority to traffic class mapping"); in taprio_parse_mqprio_opt() [all …]
|
D | act_api.c | 81 NL_SET_ERR_MSG(extack, "invalid control action"); in tcf_action_check_ctrlact() 89 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact() 96 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact() 623 NL_SET_ERR_MSG(extack, "Unable to flush all TC actions"); in tcf_del_walker() 652 NL_SET_ERR_MSG(extack, "tcf_generic_walker: unknown command"); in tcf_generic_walker() 1319 NL_SET_ERR_MSG(extack, "TC action kind must be specified"); in tc_action_load_ops() 1323 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops() 1328 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops() 1355 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tc_action_load_ops() 1384 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie"); in tcf_action_init_1() [all …]
|
D | sch_drr.c | 66 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() 91 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class() 123 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class() 178 NL_SET_ERR_MSG(extack, "DRR classid must be zero"); in drr_tcf_block()
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_matchall.c | 28 NL_SET_ERR_MSG(f->common.extack, "Failed to get flower priorities"); in prestera_mall_prio_check() 33 NL_SET_ERR_MSG(f->common.extack, "Failed to add in front of existing flower rules"); in prestera_mall_prio_check() 37 NL_SET_ERR_MSG(f->common.extack, "Failed to add behind of existing flower rules"); in prestera_mall_prio_check() 72 NL_SET_ERR_MSG(f->common.extack, in prestera_mall_replace() 80 NL_SET_ERR_MSG(f->common.extack, in prestera_mall_replace()
|
/linux-6.1.9/net/ipv4/ |
D | nexthop.c | 241 NL_SET_ERR_MSG(extack, "Failed to initialize nexthop notifier info"); in call_nexthop_notifiers() 412 NL_SET_ERR_MSG(extack, "Failed to initialize nexthop notifier info"); in call_nexthop_res_table_notifiers() 997 NL_SET_ERR_MSG(extack, in valid_group_nh() 1002 NL_SET_ERR_MSG(extack, in valid_group_nh() 1011 NL_SET_ERR_MSG(extack, in valid_group_nh() 1029 NL_SET_ERR_MSG(extack, "FDB nexthop group can only have fdb nexthops"); in nh_check_attr_fdb_group() 1036 NL_SET_ERR_MSG(extack, "FDB nexthop group cannot have mixed family nexthops"); in nh_check_attr_fdb_group() 1054 NL_SET_ERR_MSG(extack, in nh_check_attr_group() 1065 NL_SET_ERR_MSG(extack, "Reserved fields in nexthop_grp must be 0"); in nh_check_attr_group() 1069 NL_SET_ERR_MSG(extack, "Invalid value for weight"); in nh_check_attr_group() [all …]
|
D | metrics.c | 28 NL_SET_ERR_MSG(extack, "Invalid metric type"); in ip_metrics_convert() 39 NL_SET_ERR_MSG(extack, "Unknown tcp congestion algorithm"); in ip_metrics_convert() 57 NL_SET_ERR_MSG(extack, "Unknown flag set in feature mask in metrics attribute"); in ip_metrics_convert()
|
D | fib_semantics.c | 599 NL_SET_ERR_MSG(extack, "LWT encap type not specified"); in fib_nh_common_init() 668 NL_SET_ERR_MSG(extack, in fib_count_nexthops() 680 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_GATEWAY"); in fib_gw_from_attr() 705 NL_SET_ERR_MSG(extack, in fib_get_nhs() 711 NL_SET_ERR_MSG(extack, in fib_get_nhs() 726 NL_SET_ERR_MSG(extack, in fib_get_nhs() 747 NL_SET_ERR_MSG(extack, "Invalid RTA_FLOW"); in fib_get_nhs() 773 NL_SET_ERR_MSG(extack, in fib_get_nhs() 783 NL_SET_ERR_MSG(extack, in fib_get_nhs() 790 NL_SET_ERR_MSG(extack, in fib_get_nhs() [all …]
|
D | fib_frontend.c | 687 NL_SET_ERR_MSG(extack, "Invalid attribute length for RTA_VIA"); in fib_gw_from_via() 697 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_VIA"); in fib_gw_from_via() 706 NL_SET_ERR_MSG(extack, "Invalid IPv6 address in RTA_VIA"); in fib_gw_from_via() 712 NL_SET_ERR_MSG(extack, "IPv6 support not enabled in kernel"); in fib_gw_from_via() 717 NL_SET_ERR_MSG(extack, "Unsupported address family in RTA_VIA"); in fib_gw_from_via() 743 NL_SET_ERR_MSG(extack, in rtm_to_fib_config() 763 NL_SET_ERR_MSG(extack, "Invalid route type"); in rtm_to_fib_config() 832 NL_SET_ERR_MSG(extack, in rtm_to_fib_config() 839 NL_SET_ERR_MSG(extack, in rtm_to_fib_config() 865 NL_SET_ERR_MSG(extack, "Nexthop id does not exist"); in inet_rtm_delroute() [all …]
|
D | xfrm4_tunnel.c | 28 NL_SET_ERR_MSG(extack, "IPv4 tunnel can only be used with tunnel mode"); in ipip_init_state() 33 NL_SET_ERR_MSG(extack, "IPv4 tunnel is not compatible with encapsulation"); in ipip_init_state()
|
/linux-6.1.9/net/mctp/ |
D | neigh.c | 131 NL_SET_ERR_MSG(extack, "lladdr too large?"); in mctp_rtm_newneigh() 136 NL_SET_ERR_MSG(extack, "Neighbour EID must be specified"); in mctp_rtm_newneigh() 141 NL_SET_ERR_MSG(extack, "Neighbour lladdr must be specified"); in mctp_rtm_newneigh() 147 NL_SET_ERR_MSG(extack, "Invalid neighbour EID"); in mctp_rtm_newneigh() 165 NL_SET_ERR_MSG(extack, "Wrong lladdr length"); in mctp_rtm_newneigh() 187 NL_SET_ERR_MSG(extack, "incorrect format"); in mctp_rtm_delneigh() 192 NL_SET_ERR_MSG(extack, "Neighbour EID must be specified"); in mctp_rtm_delneigh()
|
/linux-6.1.9/net/ethtool/ |
D | pse-pd.c | 41 NL_SET_ERR_MSG(extack, "No PHY is attached"); in pse_get_pse_attributes() 46 NL_SET_ERR_MSG(extack, "No PSE is attached"); in pse_get_pse_attributes() 145 NL_SET_ERR_MSG(extack, "No PHY is attached"); in pse_set_pse_config() 150 NL_SET_ERR_MSG(extack, "No PSE is attached"); in pse_set_pse_config()
|
/linux-6.1.9/net/core/ |
D | fib_rules.c | 501 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 …]
|
D | rtnetlink.c | 2081 NL_SET_ERR_MSG(extack, "Invalid header for link dump"); in rtnl_valid_dump_ifinfo_req() 2088 NL_SET_ERR_MSG(extack, "Invalid values in header for link dump request"); in rtnl_valid_dump_ifinfo_req() 2092 NL_SET_ERR_MSG(extack, "Filter by device index not supported for link dumps"); in rtnl_valid_dump_ifinfo_req() 2154 NL_SET_ERR_MSG(extack, "Invalid target network namespace id"); in rtnl_dump_ifinfo() 2169 NL_SET_ERR_MSG(extack, "Unsupported attribute in link dump request"); in rtnl_dump_ifinfo() 2296 NL_SET_ERR_MSG(extack, "specified netns attribute not supported"); in rtnl_ensure_unique_netns() 2312 NL_SET_ERR_MSG(extack, "multiple netns identifying attributes specified"); in rtnl_ensure_unique_netns() 2605 NL_SET_ERR_MSG(extack, "Protodown not supported by device"); in do_set_proto_down() 2619 NL_SET_ERR_MSG(extack, "Invalid protodown reason value"); in do_set_proto_down() 2636 NL_SET_ERR_MSG(extack, "Cannot clear protodown, active reasons"); in do_set_proto_down() [all …]
|
D | net_namespace.c | 749 NL_SET_ERR_MSG(extack, "nsid is missing"); in rtnl_net_newid() 761 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_newid() 766 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_newid() 775 NL_SET_ERR_MSG(extack, in rtnl_net_newid() 789 NL_SET_ERR_MSG(extack, "The specified nsid is already used"); in rtnl_net_newid() 871 NL_SET_ERR_MSG(extack, "Unsupported attribute in peer netns getid request"); in rtnl_net_valid_getid_req() 909 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_getid() 915 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_getid() 925 NL_SET_ERR_MSG(extack, in rtnl_net_getid() 1011 NL_SET_ERR_MSG(extack, in rtnl_valid_dump_net_req() [all …]
|
/linux-6.1.9/net/tipc/ |
D | bearer.c | 262 NL_SET_ERR_MSG(extack, "Illegal name"); in tipc_enable_bearer() 268 NL_SET_ERR_MSG(extack, "Illegal priority"); in tipc_enable_bearer() 275 NL_SET_ERR_MSG(extack, "Media not registered"); in tipc_enable_bearer() 293 NL_SET_ERR_MSG(extack, "Already enabled"); in tipc_enable_bearer() 304 NL_SET_ERR_MSG(extack, "Cannot adjust to lower"); in tipc_enable_bearer() 319 NL_SET_ERR_MSG(extack, "Max 3 bearers permitted"); in tipc_enable_bearer() 333 NL_SET_ERR_MSG(extack, "Failed to enable media"); in tipc_enable_bearer() 350 NL_SET_ERR_MSG(extack, "Failed to create discoverer"); in tipc_enable_bearer() 931 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in tipc_nl_bearer_get() 972 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in __tipc_nl_bearer_disable() [all …]
|
/linux-6.1.9/net/xfrm/ |
D | xfrm_user.c | 49 NL_SET_ERR_MSG(extack, "Invalid AUTH/CRYPT/COMP attribute length"); in verify_one_alg() 60 NL_SET_ERR_MSG(extack, "Invalid algorithm attribute type"); in verify_one_alg() 79 NL_SET_ERR_MSG(extack, "Invalid AUTH_TRUNC attribute length"); in verify_auth_trunc() 97 NL_SET_ERR_MSG(extack, "Invalid AEAD attribute length"); in verify_aead() 125 NL_SET_ERR_MSG(extack, "Invalid security context length"); in verify_sec_ctx_len() 141 NL_SET_ERR_MSG(extack, "Missing required attribute for ESN"); in verify_replay() 150 NL_SET_ERR_MSG(extack, "ESN bitmap length must be <= 128"); in verify_replay() 156 NL_SET_ERR_MSG(extack, "ESN attribute is too short to fit the full bitmap length"); in verify_replay() 162 NL_SET_ERR_MSG(extack, "ESN only supported for ESP and AH"); in verify_replay() 167 NL_SET_ERR_MSG(extack, "ESN not compatible with legacy replay_window"); in verify_replay() [all …]
|
D | xfrm_device.c | 234 NL_SET_ERR_MSG(extack, "Type doesn't support offload"); in xfrm_dev_state_add() 240 NL_SET_ERR_MSG(extack, "Encapsulation and TFC padding can't be offloaded"); in xfrm_dev_state_add() 245 NL_SET_ERR_MSG(extack, "Unrecognized flags in offload request"); in xfrm_dev_state_add() 279 NL_SET_ERR_MSG(extack, "Device doesn't support offload with ESN"); in xfrm_dev_state_add() 302 NL_SET_ERR_MSG(extack, "Device failed to offload this state"); in xfrm_dev_state_add()
|
/linux-6.1.9/scripts/coccinelle/misc/ |
D | newline_in_nl_msg.cocci | 3 /// 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-6.1.9/net/ipv6/ |
D | mip6.c | 253 NL_SET_ERR_MSG(extack, "SPI must be 0"); in mip6_destopt_init_state() 257 NL_SET_ERR_MSG(extack, "XFRM mode must be XFRM_MODE_ROUTEOPTIMIZATION"); in mip6_destopt_init_state() 338 NL_SET_ERR_MSG(extack, "SPI must be 0"); in mip6_rthdr_init_state() 342 NL_SET_ERR_MSG(extack, "XFRM mode must be XFRM_MODE_ROUTEOPTIMIZATION"); in mip6_rthdr_init_state()
|
D | ah6.c | 676 NL_SET_ERR_MSG(extack, "AH requires a state with an AUTH algorithm"); in ah6_init_state() 681 NL_SET_ERR_MSG(extack, "AH is not compatible with encapsulation"); in ah6_init_state() 691 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah6_init_state() 698 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah6_init_state() 713 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah6_init_state() 730 NL_SET_ERR_MSG(extack, "Invalid mode requested for AH, must be one of TRANSPORT, TUNNEL, BEET"); in ah6_init_state()
|