Home
last modified time | relevance | path

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

123456

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
219 NL_SET_ERR_MSG(f->common.extack, "Only chain 0 is supported"); in mlxsw_sp_mall_replace()
318 NL_SET_ERR_MSG(f->common.extack, "Entry not found"); in mlxsw_sp_mall_destroy()
387 NL_SET_ERR_MSG(extack, "Sampling is not supported on egress"); in mlxsw_sp1_mall_sample_add()
392 NL_SET_ERR_MSG(extack, "Unsupported sampling rate"); in mlxsw_sp1_mall_sample_add()
428 NL_SET_ERR_MSG(extack, "Failed to get SPAN agent"); in mlxsw_sp2_mall_sample_add()
435 NL_SET_ERR_MSG(extack, "Failed to get analyzed port"); in mlxsw_sp2_mall_sample_add()
[all …]
/linux/net/sched/
H A Dact_tunnel_key.c152 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()
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()
254 NL_SET_ERR_MSG(extack, "Duplicate type for vxlan options"); in tunnel_key_copy_opts()
266 NL_SET_ERR_MSG(extack, "Duplicate type for erspan options"); in tunnel_key_copy_opts()
280 NL_SET_ERR_MSG(extack, "Empty list of tunnel options"); in tunnel_key_copy_opts()
393 NL_SET_ERR_MSG(extack, "Missing tunnel key parameters"); in tunnel_key_init()
496 NL_SET_ERR_MSG(extack, "Unknown tunnel key action"); in tunnel_key_init()
506 NL_SET_ERR_MSG(extack, "Cannot create TC IDR"); in tunnel_key_init()
[all …]
H A Dsch_api.c506 NL_SET_ERR_MSG(extack, "Invalid size of size table"); in qdisc_get_stab()
1130 NL_SET_ERR_MSG(extack, in qdisc_graft()
1309 NL_SET_ERR_MSG(extack, in qdisc_create()
1546 NL_SET_ERR_MSG(extack, "Invalid handle"); in tc_get_qdisc()
1558 NL_SET_ERR_MSG(extack, "Invalid qdisc name"); in tc_get_qdisc()
1564 NL_SET_ERR_MSG(extack, "Classid cannot be zero"); in tc_get_qdisc()
1656 NL_SET_ERR_MSG(extack, "Invalid minor handle"); in tc_modify_qdisc()
1668 NL_SET_ERR_MSG(extack, "Invalid qdisc name"); in tc_modify_qdisc()
1672 NL_SET_ERR_MSG(extack, in tc_modify_qdisc()
1728 NL_SET_ERR_MSG(extack, "Handle cannot be zero"); in tc_modify_qdisc()
[all …]
H A Dcls_api.c274 NL_SET_ERR_MSG(extack, "TC classifier not found"); in tcf_proto_lookup_ops()
848 NL_SET_ERR_MSG(extack, "Driver ndo_setup_tc failed"); in tcf_block_offload_cmd()
1214 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1222 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1230 NL_SET_ERR_MSG(extack, "Qdisc not classful"); in __tcf_qdisc_find()
1236 NL_SET_ERR_MSG(extack, "Class doesn't support blocks"); in __tcf_qdisc_find()
1274 NL_SET_ERR_MSG(extack, "Specified class doesn't exist"); in __tcf_qdisc_cl_find()
1512 NL_SET_ERR_MSG(extack, "block dev insert failed"); in tcf_block_get_ext()
2382 NL_SET_ERR_MSG(extack, "Filter already exists"); in tc_new_tfilter()
3189 NL_SET_ERR_MSG(extack, "Unsupported message type"); in tc_ctl_chain()
[all …]
H A 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()
H A 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()
1349 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
1354 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
1383 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tc_action_load_ops()
1506 NL_SET_ERR_MSG(extack, in tcf_action_init()
1680 NL_SET_ERR_MSG(extack, "Invalid TC action index value"); in tcf_action_get_1()
1736 NL_SET_ERR_MSG(extack, "Cannot flush unknown TC action"); in tca_action_flush()
[all …]
H A Dsch_taprio.c1155 NL_SET_ERR_MSG(extack, "'cycle_time' is too big"); in parse_taprio_schedule()
1508 NL_SET_ERR_MSG(extack, in taprio_enable_offload()
1528 NL_SET_ERR_MSG(extack, in taprio_enable_offload()
1576 NL_SET_ERR_MSG(extack, in taprio_disable_offload()
1584 NL_SET_ERR_MSG(extack, in taprio_disable_offload()
1619 NL_SET_ERR_MSG(extack, in taprio_parse_clockid()
1628 NL_SET_ERR_MSG(extack, in taprio_parse_clockid()
1642 NL_SET_ERR_MSG(extack, in taprio_parse_clockid()
1662 NL_SET_ERR_MSG(extack, "Invalid 'clockid'"); in taprio_parse_clockid()
1768 NL_SET_ERR_MSG(extack, in taprio_parse_tc_entries()
[all …]
H A 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()
/linux/drivers/net/ethernet/marvell/prestera/
H A 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/net/xfrm/
H A Dxfrm_user.c177 NL_SET_ERR_MSG(extack, in verify_replay()
189 NL_SET_ERR_MSG(extack, in verify_replay()
215 NL_SET_ERR_MSG(extack, "IPv6 support disabled"); in verify_newsa_info()
220 NL_SET_ERR_MSG(extack, "Invalid address family"); in verify_newsa_info()
245 NL_SET_ERR_MSG(extack, "IPv6 support disabled"); in verify_newsa_info()
346 NL_SET_ERR_MSG(extack, "Unsupported protocol"); in verify_newsa_info()
374 NL_SET_ERR_MSG(extack, "Unsupported mode"); in verify_newsa_info()
388 NL_SET_ERR_MSG(extack, in verify_newsa_info()
426 NL_SET_ERR_MSG(extack, in verify_newsa_info()
1779 NL_SET_ERR_MSG(extack, "Invalid policy type"); in verify_policy_type()
[all …]
H A 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()
258 NL_SET_ERR_MSG(extack, "Mismatched SA and offload direction"); in xfrm_dev_state_add()
266 NL_SET_ERR_MSG(extack, "Encapsulation and TFC padding can't be offloaded"); in xfrm_dev_state_add()
300 NL_SET_ERR_MSG(extack, "Device doesn't support offload with ESN"); in xfrm_dev_state_add()
358 NL_SET_ERR_MSG(extack, "Unrecognized flags in offload request"); in xfrm_dev_policy_add()
369 NL_SET_ERR_MSG(extack, "Policy offload is not supported"); in xfrm_dev_policy_add()
390 NL_SET_ERR_MSG(extack, "Unrecognized offload direction"); in xfrm_dev_policy_add()
/linux/net/core/
H A Drtnetlink.c3885 NL_SET_ERR_MSG(extack, in rtnl_alt_ifname()
4277 NL_SET_ERR_MSG(extack, "invalid ifindex"); in rtnl_fdb_add()
4283 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_fdb_add()
4288 NL_SET_ERR_MSG(extack, "invalid address"); in rtnl_fdb_add()
4397 NL_SET_ERR_MSG(extack, "invalid ifindex"); in rtnl_fdb_del()
4403 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_fdb_del()
5177 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_bridge_setlink()
5258 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_bridge_dellink()
6265 NL_SET_ERR_MSG(extack, "Invalid ifindex"); in rtnl_mdb_get()
6368 NL_SET_ERR_MSG(extack, "Invalid ifindex"); in rtnl_mdb_add()
[all …]
H A Dfib_rules.c531 NL_SET_ERR_MSG(extack, "Invalid source address"); in fib_nl2rule()
539 NL_SET_ERR_MSG(extack, "Invalid dst address"); in fib_nl2rule()
615 NL_SET_ERR_MSG(extack, "Unexpected goto"); in fib_nl2rule()
646 NL_SET_ERR_MSG(extack, "Invalid uid range"); in fib_nl2rule()
660 NL_SET_ERR_MSG(extack, "Invalid sport range"); in fib_nl2rule()
669 NL_SET_ERR_MSG(extack, "Invalid dport range"); in fib_nl2rule()
784 NL_SET_ERR_MSG(extack, "Invalid msg length"); in fib_nl_newrule()
798 NL_SET_ERR_MSG(extack, "Error parsing msg"); in fib_nl_newrule()
892 NL_SET_ERR_MSG(extack, "Invalid msg length"); in fib_nl_delrule()
906 NL_SET_ERR_MSG(extack, "Error parsing msg"); in fib_nl_delrule()
[all …]
/linux/drivers/dpll/
H A Ddpll_netlink.c951 NL_SET_ERR_MSG(extack, "device parent id expected"); in dpll_pin_parent_device_set()
957 NL_SET_ERR_MSG(extack, "parent device not found"); in dpll_pin_parent_device_set()
997 NL_SET_ERR_MSG(extack, "device parent id expected"); in dpll_pin_parent_pin_set()
1079 NL_SET_ERR_MSG(extack, "multiple matches"); in dpll_pin_find()
1086 NL_SET_ERR_MSG(extack, "not found"); in dpll_pin_find()
1139 NL_SET_ERR_MSG(info->extack, "missing attributes"); in dpll_pin_find_from_nlattr()
1271 NL_SET_ERR_MSG(extack, "multiple matches"); in dpll_device_find()
1278 NL_SET_ERR_MSG(extack, "not found"); in dpll_device_find()
1316 NL_SET_ERR_MSG(info->extack, "missing attributes"); in dpll_device_find_from_nlattr()
1434 NL_SET_ERR_MSG(info->extack, "device not found"); in dpll_pre_doit()
[all …]
/linux/net/ipv4/
H A Dnexthop.c1215 NL_SET_ERR_MSG(extack, in valid_group_nh()
1220 NL_SET_ERR_MSG(extack, in valid_group_nh()
1229 NL_SET_ERR_MSG(extack, in valid_group_nh()
1272 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
1333 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
1579 NL_SET_ERR_MSG(extack, in nexthop_check_scope()
2912 NL_SET_ERR_MSG(extack, "No unused id"); in nexthop_add()
3141 NL_SET_ERR_MSG(extack, "Invalid gateway"); in rtm_to_nh_config()
3148 NL_SET_ERR_MSG(extack, "Invalid gateway"); in rtm_to_nh_config()
3154 NL_SET_ERR_MSG(extack, in rtm_to_nh_config()
[all …]
H A 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()
H A Dfib_semantics.c669 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
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()
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()
1201 NL_SET_ERR_MSG(extack, in fib_check_nh_v4_gw()
1221 NL_SET_ERR_MSG(extack, in fib_check_nh_nongw()
1405 NL_SET_ERR_MSG(extack, in fib_create_info()
[all …]
H A Dfib_frontend.c700 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()
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()
875 NL_SET_ERR_MSG(extack, "FIB table does not exist"); in inet_rtm_delroute()
923 NL_SET_ERR_MSG(extack, "Invalid header for FIB dump request"); in ip_valid_fib_dump_req()
[all …]
/linux/net/mctp/
H A 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/net/tipc/
H A 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()
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()
1150 NL_SET_ERR_MSG(info->extack, in __tipc_nl_bearer_set()
1157 NL_SET_ERR_MSG(info->extack, in __tipc_nl_bearer_set()
1288 NL_SET_ERR_MSG(info->extack, "Media not found"); in tipc_nl_media_get()
1345 NL_SET_ERR_MSG(info->extack, in __tipc_nl_media_set()
[all …]
/linux/net/ethtool/
H A 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()
144 NL_SET_ERR_MSG(info->extack, "No PHY is attached"); in ethnl_set_pse_validate()
149 NL_SET_ERR_MSG(info->extack, "No PSE is attached"); in ethnl_set_pse_validate()
/linux/net/devlink/
H A Drate.c287 NL_SET_ERR_MSG(info->extack, "Parent to self is not allowed"); in devlink_nl_rate_parent_node_set()
293 NL_SET_ERR_MSG(info->extack, "Node is already a parent of parent node."); in devlink_nl_rate_parent_node_set()
402 NL_SET_ERR_MSG(info->extack, "TX share set isn't supported for the leafs"); in devlink_rate_set_ops_supported()
406 NL_SET_ERR_MSG(info->extack, "TX max set isn't supported for the leafs"); in devlink_rate_set_ops_supported()
411 NL_SET_ERR_MSG(info->extack, "Parent set isn't supported for the leafs"); in devlink_rate_set_ops_supported()
428 NL_SET_ERR_MSG(info->extack, "TX share set isn't supported for the nodes"); in devlink_rate_set_ops_supported()
432 NL_SET_ERR_MSG(info->extack, "TX max set isn't supported for the nodes"); in devlink_rate_set_ops_supported()
437 NL_SET_ERR_MSG(info->extack, "Parent set isn't supported for the nodes"); in devlink_rate_set_ops_supported()
491 NL_SET_ERR_MSG(info->extack, "Rate nodes aren't supported"); in devlink_nl_rate_new_doit()
549 NL_SET_ERR_MSG(info->extack, "Node has children. Cannot delete node."); in devlink_nl_rate_del_doit()
[all …]
H A Dlinecard.c264 NL_SET_ERR_MSG(extack, "Line card is currently being provisioned"); in devlink_linecard_type_set()
269 NL_SET_ERR_MSG(extack, "Line card is currently being unprovisioned"); in devlink_linecard_type_set()
276 NL_SET_ERR_MSG(extack, "Unsupported line card type provided"); in devlink_linecard_type_set()
283 NL_SET_ERR_MSG(extack, "Line card already provisioned"); in devlink_linecard_type_set()
327 NL_SET_ERR_MSG(extack, "Line card is currently being provisioned"); in devlink_linecard_type_unset()
332 NL_SET_ERR_MSG(extack, "Line card is currently being unprovisioned"); in devlink_linecard_type_unset()
345 NL_SET_ERR_MSG(extack, "Line card is not provisioned"); in devlink_linecard_type_unset()
/linux/drivers/net/phy/
H A Dphy.c663 NL_SET_ERR_MSG(extack, in plca_check_valid()
713 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
720 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
727 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
734 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
741 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
748 NL_SET_ERR_MSG(extack, in phy_ethtool_set_plca_cfg()
820 NL_SET_ERR_MSG(extack, in phy_start_cable_test()
827 NL_SET_ERR_MSG(extack, in phy_start_cable_test()
835 NL_SET_ERR_MSG(extack, in phy_start_cable_test()
[all …]
/linux/net/wireless/
H A Dmlme.c339 NL_SET_ERR_MSG(extack, "AP MLD address mismatch"); in cfg80211_mlme_check_mlo_compat()
351 NL_SET_ERR_MSG(extack, "link EML capabilities mismatch"); in cfg80211_mlme_check_mlo_compat()
375 NL_SET_ERR_MSG(extack, "no BSS for assoc link"); in cfg80211_mlme_check_mlo()
397 NL_SET_ERR_MSG(extack, "MLO BSS w/o ML element"); in cfg80211_mlme_check_mlo()
405 NL_SET_ERR_MSG(extack, "BSS with invalid ML element"); in cfg80211_mlme_check_mlo()
413 NL_SET_ERR_MSG(extack, "link ID mismatch"); in cfg80211_mlme_check_mlo()
657 NL_SET_ERR_MSG(extack, "frame type not management"); in cfg80211_mlme_register_mgmt()
662 NL_SET_ERR_MSG(extack, "Invalid frame type"); in cfg80211_mlme_register_mgmt()
668 NL_SET_ERR_MSG(extack, in cfg80211_mlme_register_mgmt()
684 NL_SET_ERR_MSG(extack, in cfg80211_mlme_register_mgmt()
[all …]

123456