Home
last modified time | relevance | path

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

12345

/Linux-v6.6/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-v6.6/net/sched/
Dact_tunnel_key.c104 NL_SET_ERR_MSG(extack, "Missing tunnel key geneve option class, type or data"); in tunnel_key_copy_geneve_opt()
111 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is less than 4 bytes long"); in tunnel_key_copy_geneve_opt()
115 NL_SET_ERR_MSG(extack, "Tunnel key geneve option data is not a multiple of 4 bytes long"); in tunnel_key_copy_geneve_opt()
152 NL_SET_ERR_MSG(extack, "Missing tunnel key vxlan option gbp"); in tunnel_key_copy_vxlan_opt()
180 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option ver"); in tunnel_key_copy_erspan_opt()
187 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option index"); in tunnel_key_copy_erspan_opt()
193 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option dir or hwid"); in tunnel_key_copy_erspan_opt()
197 NL_SET_ERR_MSG(extack, "Tunnel key erspan option ver is incorrect"); in tunnel_key_copy_erspan_opt()
234 NL_SET_ERR_MSG(extack, "Duplicate type for geneve options"); in tunnel_key_copy_opts()
243 NL_SET_ERR_MSG(extack, "Tunnel options exceeds max size"); in tunnel_key_copy_opts()
[all …]
Dsch_api.c421 NL_SET_ERR_MSG(extack, "Invalid rate table parameters for searching"); in qdisc_get_rtab()
443 NL_SET_ERR_MSG(extack, "Failed to allocate new qdisc rate table"); in qdisc_get_rtab()
490 NL_SET_ERR_MSG(extack, "Size table base attribute is missing"); in qdisc_get_stab()
498 NL_SET_ERR_MSG(extack, "Size table data attribute is missing"); in qdisc_get_stab()
506 NL_SET_ERR_MSG(extack, "Invalid size of size table"); in qdisc_get_stab()
522 NL_SET_ERR_MSG(extack, "Invalid logarithmic size of size table"); in qdisc_get_stab()
876 NL_SET_ERR_MSG(extack, "Offloading graft operation failed."); in qdisc_offload_graft_helper()
1091 NL_SET_ERR_MSG(extack, "Device does not have an ingress queue"); in qdisc_graft()
1101 NL_SET_ERR_MSG(extack, in qdisc_graft()
1166 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_graft()
[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()
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()
Dcls_api.c274 NL_SET_ERR_MSG(extack, "TC classifier not found"); in tcf_proto_lookup_ops()
812 NL_SET_ERR_MSG(extack, "Driver ndo_setup_tc failed"); in tcf_block_offload_cmd()
841 NL_SET_ERR_MSG(extack, "Bind to offloaded block failed as dev has offload disabled"); in tcf_block_offload_bind()
894 NL_SET_ERR_MSG(extack, "Memory allocation for head change callback item failed"); in tcf_chain0_head_change_cb_add()
992 NL_SET_ERR_MSG(extack, "Memory allocation for block failed"); in tcf_block_create()
1176 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1184 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1192 NL_SET_ERR_MSG(extack, "Qdisc not classful"); in __tcf_qdisc_find()
1198 NL_SET_ERR_MSG(extack, "Class doesn't support blocks"); in __tcf_qdisc_find()
1236 NL_SET_ERR_MSG(extack, "Specified class doesn't exist"); in __tcf_qdisc_cl_find()
[all …]
Dact_api.c82 NL_SET_ERR_MSG(extack, "invalid control action"); in tcf_action_check_ctrlact()
90 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact()
97 NL_SET_ERR_MSG(extack, in tcf_action_check_ctrlact()
619 NL_SET_ERR_MSG(extack, "Unable to flush all TC actions"); in tcf_del_walker()
648 NL_SET_ERR_MSG(extack, "tcf_generic_walker: unknown command"); in tcf_generic_walker()
1315 NL_SET_ERR_MSG(extack, "TC action kind must be specified"); in tc_action_load_ops()
1319 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
1324 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
1351 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tc_action_load_ops()
1380 NL_SET_ERR_MSG(extack, "No memory to generate TC cookie"); in tcf_action_init_1()
[all …]
Dsch_drr.c65 NL_SET_ERR_MSG(extack, "DRR options are required for this operation"); in drr_change_class()
77 NL_SET_ERR_MSG(extack, "Specified DRR quantum cannot be zero"); in drr_change_class()
90 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
122 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
153 NL_SET_ERR_MSG(extack, "DRR class is in use"); in drr_delete_class()
179 NL_SET_ERR_MSG(extack, "DRR classid must be zero"); in drr_tcf_block()
Dsch_taprio.c1062 NL_SET_ERR_MSG(extack, "Invalid interval for schedule entry"); in fill_sched_entry()
1081 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_sched_entry()
1105 NL_SET_ERR_MSG(extack, "Attribute is not of type 'entry'"); in parse_sched_list()
1111 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_sched_list()
1137 NL_SET_ERR_MSG(extack, "Adding a single entry is not supported"); in parse_taprio_schedule()
1164 NL_SET_ERR_MSG(extack, "'cycle_time' can never be 0"); in parse_taprio_schedule()
1169 NL_SET_ERR_MSG(extack, "'cycle_time' is too big"); in parse_taprio_schedule()
1189 NL_SET_ERR_MSG(extack, "'mqprio' configuration is necessary"); in taprio_parse_mqprio_opt()
1201 NL_SET_ERR_MSG(extack, "Number of traffic classes is greater than number of HW queues"); in taprio_parse_mqprio_opt()
1520 NL_SET_ERR_MSG(extack, in taprio_enable_offload()
[all …]
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_matchall.c28 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-v6.6/net/ipv4/
Dnexthop.c241 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 …]
Dmetrics.c25 NL_SET_ERR_MSG(extack, "Invalid metric type"); in ip_metrics_convert()
36 NL_SET_ERR_MSG(extack, "Unknown tcp congestion algorithm"); in ip_metrics_convert()
54 NL_SET_ERR_MSG(extack, "Unknown flag set in feature mask in metrics attribute"); in ip_metrics_convert()
Dfib_semantics.c600 NL_SET_ERR_MSG(extack, "LWT encap type not specified"); in fib_nh_common_init()
669 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
681 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_GATEWAY"); in fib_gw_from_attr()
706 NL_SET_ERR_MSG(extack, in fib_get_nhs()
712 NL_SET_ERR_MSG(extack, in fib_get_nhs()
727 NL_SET_ERR_MSG(extack, in fib_get_nhs()
748 NL_SET_ERR_MSG(extack, "Invalid RTA_FLOW"); in fib_get_nhs()
774 NL_SET_ERR_MSG(extack, in fib_get_nhs()
784 NL_SET_ERR_MSG(extack, in fib_get_nhs()
791 NL_SET_ERR_MSG(extack, in fib_get_nhs()
[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()
746 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
766 NL_SET_ERR_MSG(extack, "Invalid route type"); in rtm_to_fib_config()
835 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
842 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
868 NL_SET_ERR_MSG(extack, "Nexthop id does not exist"); in inet_rtm_delroute()
[all …]
Dxfrm4_tunnel.c28 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-v6.6/net/mctp/
Dneigh.c131 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-v6.6/net/xfrm/
Dxfrm_user.c49 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 …]
Dxfrm_device.c246 NL_SET_ERR_MSG(extack, "Type doesn't support offload"); in xfrm_dev_state_add()
252 NL_SET_ERR_MSG(extack, "Unrecognized flags in offload request"); in xfrm_dev_state_add()
260 NL_SET_ERR_MSG(extack, "Encapsulation and TFC padding can't be offloaded"); in xfrm_dev_state_add()
294 NL_SET_ERR_MSG(extack, "Device doesn't support offload with ESN"); in xfrm_dev_state_add()
352 NL_SET_ERR_MSG(extack, "Unrecognized flags in offload request"); in xfrm_dev_policy_add()
363 NL_SET_ERR_MSG(extack, "Policy offload is not supported"); in xfrm_dev_policy_add()
384 NL_SET_ERR_MSG(extack, "Unrecognized offload direction"); in xfrm_dev_policy_add()
/Linux-v6.6/net/ethtool/
Dpse-pd.c41 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()
137 NL_SET_ERR_MSG(info->extack, "No PHY is attached"); in ethnl_set_pse()
142 NL_SET_ERR_MSG(info->extack, "No PSE is attached"); in ethnl_set_pse()
/Linux-v6.6/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.c2134 NL_SET_ERR_MSG(extack, "Invalid header for link dump"); in rtnl_valid_dump_ifinfo_req()
2141 NL_SET_ERR_MSG(extack, "Invalid values in header for link dump request"); in rtnl_valid_dump_ifinfo_req()
2145 NL_SET_ERR_MSG(extack, "Filter by device index not supported for link dumps"); in rtnl_valid_dump_ifinfo_req()
2207 NL_SET_ERR_MSG(extack, "Invalid target network namespace id"); in rtnl_dump_ifinfo()
2222 NL_SET_ERR_MSG(extack, "Unsupported attribute in link dump request"); in rtnl_dump_ifinfo()
2363 NL_SET_ERR_MSG(extack, "specified netns attribute not supported"); in rtnl_ensure_unique_netns()
2379 NL_SET_ERR_MSG(extack, "multiple netns identifying attributes specified"); in rtnl_ensure_unique_netns()
2409 NL_SET_ERR_MSG(extack, "too big gso_max_size"); in validate_linkmsg()
2416 NL_SET_ERR_MSG(extack, "too big gso_max_segs"); in validate_linkmsg()
2422 NL_SET_ERR_MSG(extack, "too big gro_max_size"); in validate_linkmsg()
[all …]
/Linux-v6.6/net/devlink/
Drate.c288 NL_SET_ERR_MSG(info->extack, "Parent to self is not allowed"); in devlink_nl_rate_parent_node_set()
294 NL_SET_ERR_MSG(info->extack, "Node is already a parent of parent node."); in devlink_nl_rate_parent_node_set()
403 NL_SET_ERR_MSG(info->extack, "TX share set isn't supported for the leafs"); in devlink_rate_set_ops_supported()
407 NL_SET_ERR_MSG(info->extack, "TX max set isn't supported for the leafs"); in devlink_rate_set_ops_supported()
412 NL_SET_ERR_MSG(info->extack, "Parent set isn't supported for the leafs"); in devlink_rate_set_ops_supported()
429 NL_SET_ERR_MSG(info->extack, "TX share set isn't supported for the nodes"); in devlink_rate_set_ops_supported()
433 NL_SET_ERR_MSG(info->extack, "TX max set isn't supported for the nodes"); in devlink_rate_set_ops_supported()
438 NL_SET_ERR_MSG(info->extack, "Parent set isn't supported for the nodes"); in devlink_rate_set_ops_supported()
492 NL_SET_ERR_MSG(info->extack, "Rate nodes aren't supported"); in devlink_nl_cmd_rate_new_doit()
550 NL_SET_ERR_MSG(info->extack, "Node has children. Cannot delete node."); in devlink_nl_cmd_rate_del_doit()
[all …]
Dlinecard.c262 NL_SET_ERR_MSG(extack, "Line card is currently being provisioned"); in devlink_linecard_type_set()
267 NL_SET_ERR_MSG(extack, "Line card is currently being unprovisioned"); in devlink_linecard_type_set()
274 NL_SET_ERR_MSG(extack, "Unsupported line card type provided"); in devlink_linecard_type_set()
281 NL_SET_ERR_MSG(extack, "Line card already provisioned"); in devlink_linecard_type_set()
325 NL_SET_ERR_MSG(extack, "Line card is currently being provisioned"); in devlink_linecard_type_unset()
330 NL_SET_ERR_MSG(extack, "Line card is currently being unprovisioned"); in devlink_linecard_type_unset()
343 NL_SET_ERR_MSG(extack, "Line card is not provisioned"); in devlink_linecard_type_unset()
Dtrap.c320 NL_SET_ERR_MSG(extack, "Device did not register this trap"); in devlink_nl_trap_get_doit()
383 NL_SET_ERR_MSG(extack, "Cannot change action of non-drop traps. Skipping"); in __devlink_trap_action_set()
409 NL_SET_ERR_MSG(info->extack, "Invalid trap action"); in devlink_trap_action_set()
428 NL_SET_ERR_MSG(extack, "Device did not register this trap"); in devlink_nl_cmd_trap_set_doit()
529 NL_SET_ERR_MSG(extack, "Device did not register this trap group"); in devlink_nl_trap_group_get_doit()
638 NL_SET_ERR_MSG(info->extack, "Invalid trap action"); in devlink_trap_group_action_set()
672 NL_SET_ERR_MSG(extack, "Device did not register this trap policer"); in devlink_trap_group_set()
701 NL_SET_ERR_MSG(extack, "Device did not register this trap group"); in devlink_nl_cmd_trap_group_set_doit()
718 NL_SET_ERR_MSG(extack, "Trap group set failed, but some changes were committed already"); in devlink_nl_cmd_trap_group_set_doit()
823 NL_SET_ERR_MSG(extack, "Device did not register this trap policer"); in devlink_nl_trap_policer_get_doit()
[all …]
/Linux-v6.6/net/tipc/
Dbearer.c260 NL_SET_ERR_MSG(extack, "Illegal name"); in tipc_enable_bearer()
266 NL_SET_ERR_MSG(extack, "Illegal priority"); in tipc_enable_bearer()
273 NL_SET_ERR_MSG(extack, "Media not registered"); in tipc_enable_bearer()
291 NL_SET_ERR_MSG(extack, "Already enabled"); in tipc_enable_bearer()
302 NL_SET_ERR_MSG(extack, "Cannot adjust to lower"); in tipc_enable_bearer()
317 NL_SET_ERR_MSG(extack, "Max 3 bearers permitted"); in tipc_enable_bearer()
331 NL_SET_ERR_MSG(extack, "Failed to enable media"); in tipc_enable_bearer()
348 NL_SET_ERR_MSG(extack, "Failed to create discoverer"); in tipc_enable_bearer()
942 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in tipc_nl_bearer_get()
983 NL_SET_ERR_MSG(info->extack, "Bearer not found"); in __tipc_nl_bearer_disable()
[all …]
/Linux-v6.6/drivers/net/phy/
Dphy.c643 NL_SET_ERR_MSG(extack, in plca_check_valid()
646 NL_SET_ERR_MSG(extack, "PLCA node ID is not set"); in plca_check_valid()
693 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
700 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
707 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
714 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
721 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
728 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
800 NL_SET_ERR_MSG(extack, in phy_start_cable_test()
807 NL_SET_ERR_MSG(extack, in phy_start_cable_test()
[all …]

12345