Home
last modified time | relevance | path

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

12345

/openbmc/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 …]
/openbmc/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()
1101 NL_SET_ERR_MSG(extack, in qdisc_graft()
1280 NL_SET_ERR_MSG(extack, in qdisc_create()
1517 NL_SET_ERR_MSG(extack, "Invalid handle"); in tc_get_qdisc()
1529 NL_SET_ERR_MSG(extack, "Invalid qdisc name"); in tc_get_qdisc()
1535 NL_SET_ERR_MSG(extack, "Classid cannot be zero"); in tc_get_qdisc()
1627 NL_SET_ERR_MSG(extack, "Invalid minor handle"); in tc_modify_qdisc()
1639 NL_SET_ERR_MSG(extack, "Invalid qdisc name"); in tc_modify_qdisc()
1643 NL_SET_ERR_MSG(extack, in tc_modify_qdisc()
1699 NL_SET_ERR_MSG(extack, "Handle cannot be zero"); in tc_modify_qdisc()
[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 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()
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()
2299 NL_SET_ERR_MSG(extack, "Filter already exists"); in tc_new_tfilter()
3036 NL_SET_ERR_MSG(extack, "Filter chain already exists"); in tc_ctl_chain()
3102 NL_SET_ERR_MSG(extack, "Unsupported message type"); in tc_ctl_chain()
[all …]
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()
1339 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
1344 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
1371 NL_SET_ERR_MSG(extack, "Failed to load TC action module"); in tc_action_load_ops()
1496 NL_SET_ERR_MSG(extack, in tcf_action_init()
1672 NL_SET_ERR_MSG(extack, "Invalid TC action index value"); in tcf_action_get_1()
1728 NL_SET_ERR_MSG(extack, "Cannot flush unknown TC action"); in tca_action_flush()
[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()
H A Dsch_taprio.c1165 NL_SET_ERR_MSG(extack, "'cycle_time' is too big"); in parse_taprio_schedule()
1518 NL_SET_ERR_MSG(extack, in taprio_enable_offload()
1538 NL_SET_ERR_MSG(extack, in taprio_enable_offload()
1586 NL_SET_ERR_MSG(extack, in taprio_disable_offload()
1594 NL_SET_ERR_MSG(extack, in taprio_disable_offload()
1629 NL_SET_ERR_MSG(extack, in taprio_parse_clockid()
1638 NL_SET_ERR_MSG(extack, in taprio_parse_clockid()
1652 NL_SET_ERR_MSG(extack, in taprio_parse_clockid()
1672 NL_SET_ERR_MSG(extack, "Invalid 'clockid'"); in taprio_parse_clockid()
1781 NL_SET_ERR_MSG(extack, in taprio_parse_tc_entries()
[all …]
/openbmc/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()
/openbmc/linux/net/ipv4/
H A Dnexthop.c997 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()
1054 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
1114 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
1354 NL_SET_ERR_MSG(extack, in nexthop_check_scope()
2674 NL_SET_ERR_MSG(extack, "No unused id"); in nexthop_add()
2900 NL_SET_ERR_MSG(extack, "Invalid gateway"); in rtm_to_nh_config()
2907 NL_SET_ERR_MSG(extack, "Invalid gateway"); in rtm_to_nh_config()
2913 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 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()
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()
922 NL_SET_ERR_MSG(extack, "Invalid header for FIB dump request"); in ip_valid_fib_dump_req()
[all …]
/openbmc/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()
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()
/openbmc/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()
/openbmc/linux/net/xfrm/
H A Dxfrm_user.c190 NL_SET_ERR_MSG(extack, "IPv6 support disabled"); in verify_newsa_info()
195 NL_SET_ERR_MSG(extack, "Invalid address family"); in verify_newsa_info()
220 NL_SET_ERR_MSG(extack, "IPv6 support disabled"); in verify_newsa_info()
321 NL_SET_ERR_MSG(extack, "Unsupported protocol"); in verify_newsa_info()
349 NL_SET_ERR_MSG(extack, "Unsupported mode"); in verify_newsa_info()
878 NL_SET_ERR_MSG(extack, "SA is in use by tunnels"); in xfrm_del_sa()
1672 NL_SET_ERR_MSG(extack, "Invalid policy type"); in verify_policy_type()
1692 NL_SET_ERR_MSG(extack, "Invalid policy share"); in verify_newpolicy_info()
1702 NL_SET_ERR_MSG(extack, "Invalid policy action"); in verify_newpolicy_info()
1724 NL_SET_ERR_MSG(extack, "IPv6 support disabled"); in verify_newpolicy_info()
[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()
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()
/openbmc/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()
1153 NL_SET_ERR_MSG(info->extack, in __tipc_nl_bearer_set()
1160 NL_SET_ERR_MSG(info->extack, in __tipc_nl_bearer_set()
1291 NL_SET_ERR_MSG(info->extack, "Media not found"); in tipc_nl_media_get()
1348 NL_SET_ERR_MSG(info->extack, in __tipc_nl_media_set()
[all …]
/openbmc/linux/net/core/
H A Dfib_rules.c532 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()
648 NL_SET_ERR_MSG(extack, "Invalid uid range"); in fib_nl2rule()
662 NL_SET_ERR_MSG(extack, "Invalid sport range"); in fib_nl2rule()
671 NL_SET_ERR_MSG(extack, "Invalid dport range"); in fib_nl2rule()
786 NL_SET_ERR_MSG(extack, "Invalid msg length"); in fib_nl_newrule()
800 NL_SET_ERR_MSG(extack, "Error parsing msg"); in fib_nl_newrule()
894 NL_SET_ERR_MSG(extack, "Invalid msg length"); in fib_nl_delrule()
908 NL_SET_ERR_MSG(extack, "Error parsing msg"); in fib_nl_delrule()
[all …]
H A Drtnetlink.c3852 NL_SET_ERR_MSG(extack, in rtnl_alt_ifname()
4218 NL_SET_ERR_MSG(extack, "invalid vlan id"); in fdb_vid_parse()
4244 NL_SET_ERR_MSG(extack, "invalid ifindex"); in rtnl_fdb_add()
4250 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_fdb_add()
4255 NL_SET_ERR_MSG(extack, "invalid address"); in rtnl_fdb_add()
4369 NL_SET_ERR_MSG(extack, "invalid ifindex"); in rtnl_fdb_del()
4375 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_fdb_del()
5151 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_bridge_setlink()
5232 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_bridge_dellink()
6271 NL_SET_ERR_MSG(extack, "Invalid ifindex"); in rtnl_mdb_add()
[all …]
/openbmc/linux/net/devlink/
H A 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 …]
H A 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()
H A Dtrap.c320 NL_SET_ERR_MSG(extack, "Device did not register this trap"); in devlink_nl_trap_get_doit()
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()
899 NL_SET_ERR_MSG(extack, "Policer rate lower than limit"); in devlink_trap_policer_set()
904 NL_SET_ERR_MSG(extack, "Policer rate higher than limit"); in devlink_trap_policer_set()
909 NL_SET_ERR_MSG(extack, "Policer burst size lower than limit"); in devlink_trap_policer_set()
[all …]
/openbmc/linux/drivers/net/phy/
H A Dphy.c643 NL_SET_ERR_MSG(extack, 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()
815 NL_SET_ERR_MSG(extack, in phy_start_cable_test()
[all …]

12345