Home
last modified time | relevance | path

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

123456

/linux-6.15/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-6.15/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.c507 NL_SET_ERR_MSG(extack, "Invalid size of size table"); in qdisc_get_stab()
1129 NL_SET_ERR_MSG(extack, in qdisc_graft()
1194 NL_SET_ERR_MSG(extack, "Specified class not found"); in qdisc_graft()
1239 NL_SET_ERR_MSG(extack, "Egress block index cannot be 0"); in qdisc_block_indexes_set()
1286 NL_SET_ERR_MSG(extack, in qdisc_create()
1514 NL_SET_ERR_MSG(extack, "Invalid handle"); in __tc_get_qdisc()
1532 NL_SET_ERR_MSG(extack, "Classid cannot be zero"); in __tc_get_qdisc()
1632 NL_SET_ERR_MSG(extack, "Invalid minor handle"); in __tc_modify_qdisc()
1652 NL_SET_ERR_MSG(extack, in __tc_modify_qdisc()
1708 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()
841 NL_SET_ERR_MSG(extack, "Driver ndo_setup_tc failed"); in tcf_block_offload_cmd()
1207 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1215 NL_SET_ERR_MSG(extack, "Parent Qdisc doesn't exists"); in __tcf_qdisc_find()
1223 NL_SET_ERR_MSG(extack, "Qdisc not classful"); in __tcf_qdisc_find()
1229 NL_SET_ERR_MSG(extack, "Class doesn't support blocks"); in __tcf_qdisc_find()
1267 NL_SET_ERR_MSG(extack, "Specified class doesn't exist"); in __tcf_qdisc_cl_find()
1505 NL_SET_ERR_MSG(extack, "block dev insert failed"); in tcf_block_get_ext()
2405 NL_SET_ERR_MSG(extack, "Filter already exists"); in tc_new_tfilter()
3218 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()
663 NL_SET_ERR_MSG(extack, "Unable to flush all TC actions"); in tcf_del_walker()
1347 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
1352 NL_SET_ERR_MSG(extack, "TC action name too long"); in tc_action_load_ops()
1510 NL_SET_ERR_MSG(extack, in tcf_action_init()
1525 NL_SET_ERR_MSG(extack, in tcf_action_init()
1699 NL_SET_ERR_MSG(extack, "Invalid TC action index value"); in tcf_action_get_1()
1755 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.c70 NL_SET_ERR_MSG(extack, "DRR options are required for this operation"); in drr_change_class()
82 NL_SET_ERR_MSG(extack, "Specified DRR quantum cannot be zero"); in drr_change_class()
95 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
128 NL_SET_ERR_MSG(extack, "Failed to replace estimator"); in drr_change_class()
159 NL_SET_ERR_MSG(extack, "DRR class is in use"); in drr_delete_class()
185 NL_SET_ERR_MSG(extack, "DRR classid must be zero"); in drr_tcf_block()
/linux-6.15/net/core/
H A Dnetdev_rx_queue.c105 NL_SET_ERR_MSG(extack, "rx queue index out of range"); in __net_mp_open_rxq()
109 NL_SET_ERR_MSG(extack, "tcp-data-split is disabled"); in __net_mp_open_rxq()
113 NL_SET_ERR_MSG(extack, "hds-thresh is not zero"); in __net_mp_open_rxq()
117 NL_SET_ERR_MSG(extack, "unable to custom memory provider to device with XDP program attached"); in __net_mp_open_rxq()
123 NL_SET_ERR_MSG(extack, "designated queue already memory provider bound"); in __net_mp_open_rxq()
128 NL_SET_ERR_MSG(extack, "designated queue already in use by AF_XDP"); in __net_mp_open_rxq()
H A Drtnetlink.c4215 NL_SET_ERR_MSG(extack, in rtnl_alt_ifname()
4612 NL_SET_ERR_MSG(extack, "invalid ifindex"); in rtnl_fdb_add()
4618 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_fdb_add()
4623 NL_SET_ERR_MSG(extack, "invalid address"); in rtnl_fdb_add()
4735 NL_SET_ERR_MSG(extack, "invalid ifindex"); in rtnl_fdb_del()
4741 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_fdb_del()
5500 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_bridge_setlink()
5581 NL_SET_ERR_MSG(extack, "unknown ifindex"); in rtnl_bridge_dellink()
6588 NL_SET_ERR_MSG(extack, "Invalid ifindex"); in rtnl_mdb_get()
6691 NL_SET_ERR_MSG(extack, "Invalid ifindex"); in rtnl_mdb_add()
[all …]
H A Dfib_rules.c584 NL_SET_ERR_MSG(extack, "Invalid source address"); in fib_nl2rule()
592 NL_SET_ERR_MSG(extack, "Invalid dst address"); in fib_nl2rule()
655 NL_SET_ERR_MSG(extack, "Unexpected goto"); in fib_nl2rule()
681 NL_SET_ERR_MSG(extack, "Invalid uid range"); in fib_nl2rule()
695 NL_SET_ERR_MSG(extack, "Invalid sport range"); in fib_nl2rule()
714 NL_SET_ERR_MSG(extack, "Invalid dport range"); in fib_nl2rule()
884 NL_SET_ERR_MSG(extack, "Invalid msg length"); in fib_newrule()
898 NL_SET_ERR_MSG(extack, "Error parsing msg"); in fib_newrule()
1012 NL_SET_ERR_MSG(extack, "Invalid msg length"); in fib_delrule()
1026 NL_SET_ERR_MSG(extack, "Error parsing msg"); in fib_delrule()
[all …]
/linux-6.15/net/xfrm/
H A Dxfrm_user.c177 NL_SET_ERR_MSG(extack, in verify_replay()
182 NL_SET_ERR_MSG( in verify_replay()
195 NL_SET_ERR_MSG(extack, in verify_replay()
200 NL_SET_ERR_MSG( in verify_replay()
228 NL_SET_ERR_MSG(extack, "IPv6 support disabled"); in verify_newsa_info()
233 NL_SET_ERR_MSG(extack, "Invalid address family"); in verify_newsa_info()
261 NL_SET_ERR_MSG(extack, "IPv6 support disabled"); in verify_newsa_info()
372 NL_SET_ERR_MSG(extack, "Unsupported protocol"); in verify_newsa_info()
410 NL_SET_ERR_MSG(extack, "Unsupported mode"); in verify_newsa_info()
424 NL_SET_ERR_MSG(extack, in verify_newsa_info()
[all …]
H A Dxfrm_device.c249 NL_SET_ERR_MSG(extack, "Unrecognized flags in offload request"); in xfrm_dev_state_add()
255 NL_SET_ERR_MSG(extack, "Mismatched SA and offload direction"); in xfrm_dev_state_add()
263 NL_SET_ERR_MSG(extack, "TFC padding can't be offloaded"); in xfrm_dev_state_add()
302 NL_SET_ERR_MSG(extack, "Device doesn't support offload with ESN"); in xfrm_dev_state_add()
310 NL_SET_ERR_MSG(extack, "Type doesn't support offload"); in xfrm_dev_state_add()
364 NL_SET_ERR_MSG(extack, "Unrecognized flags in offload request"); in xfrm_dev_policy_add()
375 NL_SET_ERR_MSG(extack, "Policy offload is not supported"); in xfrm_dev_policy_add()
396 NL_SET_ERR_MSG(extack, "Unrecognized offload direction"); in xfrm_dev_policy_add()
/linux-6.15/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-6.15/net/ipv4/
H A Dnexthop.c1224 NL_SET_ERR_MSG(extack, in valid_group_nh()
1229 NL_SET_ERR_MSG(extack, in valid_group_nh()
1238 NL_SET_ERR_MSG(extack, in valid_group_nh()
1279 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
1321 NL_SET_ERR_MSG(extack, in nh_check_attr_group()
1604 NL_SET_ERR_MSG(extack, in nexthop_check_scope()
2931 NL_SET_ERR_MSG(extack, "No unused id"); in nexthop_add()
3136 NL_SET_ERR_MSG(extack, "Invalid gateway"); in rtm_to_nh_config()
3143 NL_SET_ERR_MSG(extack, "Invalid gateway"); in rtm_to_nh_config()
3149 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.c698 NL_SET_ERR_MSG(extack, in fib_count_nexthops()
735 NL_SET_ERR_MSG(extack, in fib_get_nhs()
741 NL_SET_ERR_MSG(extack, in fib_get_nhs()
803 NL_SET_ERR_MSG(extack, in fib_get_nhs()
813 NL_SET_ERR_MSG(extack, in fib_get_nhs()
820 NL_SET_ERR_MSG(extack, in fib_get_nhs()
1230 NL_SET_ERR_MSG(extack, in fib_check_nh_v4_gw()
1250 NL_SET_ERR_MSG(extack, in fib_check_nh_nongw()
1375 NL_SET_ERR_MSG(extack, in fib_create_info()
1455 NL_SET_ERR_MSG(extack, in fib_create_info()
[all …]
H A Dfib_frontend.c706 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_VIA"); in fib_gw_from_via()
715 NL_SET_ERR_MSG(extack, "Invalid IPv6 address in RTA_VIA"); in fib_gw_from_via()
721 NL_SET_ERR_MSG(extack, "IPv6 support not enabled in kernel"); in fib_gw_from_via()
752 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
772 NL_SET_ERR_MSG(extack, "Invalid route type"); in rtm_to_fib_config()
839 NL_SET_ERR_MSG(extack, "Invalid prefix length"); in rtm_to_fib_config()
853 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
861 NL_SET_ERR_MSG(extack, in rtm_to_fib_config()
890 NL_SET_ERR_MSG(extack, "Nexthop id does not exist"); in inet_rtm_delroute()
897 NL_SET_ERR_MSG(extack, "FIB table does not exist"); in inet_rtm_delroute()
[all …]
/linux-6.15/net/ethtool/
H A Dmodule.c42 NL_SET_ERR_MSG(extack, in module_get_power_mode()
124 NL_SET_ERR_MSG(info->extack, in ethnl_set_module_validate()
272 NL_SET_ERR_MSG(extack, in module_flash_fw_work_init()
313 NL_SET_ERR_MSG(info->extack, in module_flash_fw_schedule()
378 NL_SET_ERR_MSG(extack, in ethnl_module_fw_flash_validate()
384 NL_SET_ERR_MSG(extack, in ethnl_module_fw_flash_validate()
390 NL_SET_ERR_MSG(extack, "Module firmware flashing already in progress"); in ethnl_module_fw_flash_validate()
395 NL_SET_ERR_MSG(extack, "Netdevice is up, so flashing is not permitted"); in ethnl_module_fw_flash_validate()
400 NL_SET_ERR_MSG(extack, "Can't perform firmware flashing on a split port"); in ethnl_module_fw_flash_validate()
H A Dpse-pd.c39 NL_SET_ERR_MSG(extack, "No PHY found"); in pse_get_pse_attributes()
44 NL_SET_ERR_MSG(extack, "No PSE is attached"); in pse_get_pse_attributes()
230 NL_SET_ERR_MSG(info->extack, "No PHY is attached"); in ethnl_set_pse_validate()
235 NL_SET_ERR_MSG(info->extack, "No PSE is attached"); in ethnl_set_pse_validate()
/linux-6.15/drivers/dpll/
H A Ddpll_netlink.c829 NL_SET_ERR_MSG(extack, in dpll_pin_esync_set()
1100 NL_SET_ERR_MSG(extack, "device parent id expected"); in dpll_pin_parent_device_set()
1106 NL_SET_ERR_MSG(extack, "parent device not found"); in dpll_pin_parent_device_set()
1233 NL_SET_ERR_MSG(extack, "multiple matches"); in dpll_pin_find()
1240 NL_SET_ERR_MSG(extack, "not found"); in dpll_pin_find()
1293 NL_SET_ERR_MSG(info->extack, "missing attributes"); in dpll_pin_find_from_nlattr()
1425 NL_SET_ERR_MSG(extack, "multiple matches"); in dpll_device_find()
1432 NL_SET_ERR_MSG(extack, "not found"); in dpll_device_find()
1470 NL_SET_ERR_MSG(info->extack, "missing attributes"); in dpll_device_find_from_nlattr()
1588 NL_SET_ERR_MSG(info->extack, "device not found"); in dpll_pre_doit()
[all …]
/linux-6.15/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-6.15/net/tipc/
H A Dbearer.c264 NL_SET_ERR_MSG(extack, "Illegal name"); in tipc_enable_bearer()
270 NL_SET_ERR_MSG(extack, "Illegal priority"); in tipc_enable_bearer()
277 NL_SET_ERR_MSG(extack, "Media not registered"); in tipc_enable_bearer()
295 NL_SET_ERR_MSG(extack, "Already enabled"); in tipc_enable_bearer()
321 NL_SET_ERR_MSG(extack, "Max 3 bearers permitted"); in tipc_enable_bearer()
335 NL_SET_ERR_MSG(extack, "Failed to enable media"); in tipc_enable_bearer()
1154 NL_SET_ERR_MSG(info->extack, in __tipc_nl_bearer_set()
1161 NL_SET_ERR_MSG(info->extack, in __tipc_nl_bearer_set()
1292 NL_SET_ERR_MSG(info->extack, "Media not found"); in tipc_nl_media_get()
1349 NL_SET_ERR_MSG(info->extack, in __tipc_nl_media_set()
[all …]
/linux-6.15/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()

123456