Lines Matching refs:extack
253 struct netlink_ext_ack *extack) in ice_devlink_info_get() argument
264 NL_SET_ERR_MSG_MOD(extack, "Device is busy resetting"); in ice_devlink_info_get()
277 NL_SET_ERR_MSG_MOD(extack, "Unable to discover device capabilities"); in ice_devlink_info_get()
318 NL_SET_ERR_MSG_MOD(extack, "Unable to set serial number"); in ice_devlink_info_get()
346 NL_SET_ERR_MSG_MOD(extack, "Unable to set fixed version"); in ice_devlink_info_get()
353 NL_SET_ERR_MSG_MOD(extack, "Unable to set running version"); in ice_devlink_info_get()
360 NL_SET_ERR_MSG_MOD(extack, "Unable to set stored version"); in ice_devlink_info_get()
388 struct netlink_ext_ack *extack) in ice_devlink_reload_empr_start() argument
395 err = ice_get_pending_updates(pf, &pending, extack); in ice_devlink_reload_empr_start()
405 NL_SET_ERR_MSG_MOD(extack, "No pending firmware update"); in ice_devlink_reload_empr_start()
410 …NL_SET_ERR_MSG_MOD(extack, "EMP reset is not available. To activate firmware, a reboot or power cy… in ice_devlink_reload_empr_start()
420 NL_SET_ERR_MSG_MOD(extack, "Failed to trigger EMP device reset to reload firmware"); in ice_devlink_reload_empr_start()
439 struct netlink_ext_ack *extack) in ice_devlink_reload_down() argument
446 NL_SET_ERR_MSG_MOD(extack, in ice_devlink_reload_down()
451 NL_SET_ERR_MSG_MOD(extack, in ice_devlink_reload_down()
456 NL_SET_ERR_MSG_MOD(extack, in ice_devlink_reload_down()
463 return ice_devlink_reload_empr_start(pf, extack); in ice_devlink_reload_down()
481 struct netlink_ext_ack *extack) in ice_devlink_reload_empr_finish() argument
487 NL_SET_ERR_MSG_MOD(extack, "Device still resetting after 1 minute"); in ice_devlink_reload_empr_finish()
605 struct netlink_ext_ack *extack) in ice_devlink_aq_set_port_option() argument
614 NL_SET_ERR_MSG_MOD(extack, "Port split request failed"); in ice_devlink_aq_set_port_option()
622 NL_SET_ERR_MSG_MOD(extack, "Failed to acquire NVM semaphore"); in ice_devlink_aq_set_port_option()
630 NL_SET_ERR_MSG_MOD(extack, "Port split request failed to save data"); in ice_devlink_aq_set_port_option()
637 NL_SET_ERR_MSG_MOD(extack, "Reboot required to finish port split"); in ice_devlink_aq_set_port_option()
661 unsigned int count, struct netlink_ext_ack *extack) in ice_devlink_port_split() argument
677 NL_SET_ERR_MSG_MOD(extack, "Failed to get available port split options"); in ice_devlink_port_split()
699 NL_SET_ERR_MSG_MOD(extack, "Requested split count is already set"); in ice_devlink_port_split()
706 NL_SET_ERR_MSG_MOD(extack, "Port split requested unsupported port config"); in ice_devlink_port_split()
711 status = ice_devlink_aq_set_port_option(pf, new_option, extack); in ice_devlink_port_split()
734 struct netlink_ext_ack *extack) in ice_devlink_port_unsplit() argument
736 return ice_devlink_port_split(devlink, port, 1, extack); in ice_devlink_port_unsplit()
874 u64 bw, struct netlink_ext_ack *extack) in ice_set_object_tx_share() argument
885 NL_SET_ERR_MSG_MOD(extack, "Can't set scheduling node tx_share"); in ice_set_object_tx_share()
900 u64 bw, struct netlink_ext_ack *extack) in ice_set_object_tx_max() argument
911 NL_SET_ERR_MSG_MOD(extack, "Can't set scheduling node tx_max"); in ice_set_object_tx_max()
926 u32 priority, struct netlink_ext_ack *extack) in ice_set_object_tx_priority() argument
931 NL_SET_ERR_MSG_MOD(extack, "Priority should be less than 8"); in ice_set_object_tx_priority()
941 NL_SET_ERR_MSG_MOD(extack, "Can't set scheduling node tx_priority"); in ice_set_object_tx_priority()
956 u32 weight, struct netlink_ext_ack *extack) in ice_set_object_tx_weight() argument
961 NL_SET_ERR_MSG_MOD(extack, "Weight must be between 1 and 200"); in ice_set_object_tx_weight()
971 NL_SET_ERR_MSG_MOD(extack, "Can't set scheduling node tx_weight"); in ice_set_object_tx_weight()
990 struct netlink_ext_ack *extack) in ice_devlink_rate_node_new() argument
1008 struct netlink_ext_ack *extack) in ice_devlink_rate_node_del() argument
1017 if (!rate_node->parent || !node || tc_node == node || !extack) in ice_devlink_rate_node_del()
1035 u64 tx_max, struct netlink_ext_ack *extack) in ice_devlink_rate_leaf_tx_max_set() argument
1046 node, tx_max, extack); in ice_devlink_rate_leaf_tx_max_set()
1050 u64 tx_share, struct netlink_ext_ack *extack) in ice_devlink_rate_leaf_tx_share_set() argument
1061 tx_share, extack); in ice_devlink_rate_leaf_tx_share_set()
1065 u32 tx_priority, struct netlink_ext_ack *extack) in ice_devlink_rate_leaf_tx_priority_set() argument
1076 tx_priority, extack); in ice_devlink_rate_leaf_tx_priority_set()
1080 u32 tx_weight, struct netlink_ext_ack *extack) in ice_devlink_rate_leaf_tx_weight_set() argument
1091 tx_weight, extack); in ice_devlink_rate_leaf_tx_weight_set()
1095 u64 tx_max, struct netlink_ext_ack *extack) in ice_devlink_rate_node_tx_max_set() argument
1106 node, tx_max, extack); in ice_devlink_rate_node_tx_max_set()
1110 u64 tx_share, struct netlink_ext_ack *extack) in ice_devlink_rate_node_tx_share_set() argument
1121 node, tx_share, extack); in ice_devlink_rate_node_tx_share_set()
1125 u32 tx_priority, struct netlink_ext_ack *extack) in ice_devlink_rate_node_tx_priority_set() argument
1136 node, tx_priority, extack); in ice_devlink_rate_node_tx_priority_set()
1140 u32 tx_weight, struct netlink_ext_ack *extack) in ice_devlink_rate_node_tx_weight_set() argument
1151 node, tx_weight, extack); in ice_devlink_rate_node_tx_weight_set()
1157 struct netlink_ext_ack *extack) in ice_devlink_set_parent() argument
1169 if (!extack) in ice_devlink_set_parent()
1198 NL_SET_ERR_MSG_MOD(extack, "Can't add a new node"); in ice_devlink_set_parent()
1203 ice_set_object_tx_share(pi, node, devlink_rate->tx_share, extack); in ice_devlink_set_parent()
1205 ice_set_object_tx_max(pi, node, devlink_rate->tx_max, extack); in ice_devlink_set_parent()
1207 ice_set_object_tx_priority(pi, node, devlink_rate->tx_priority, extack); in ice_devlink_set_parent()
1209 ice_set_object_tx_weight(pi, node, devlink_rate->tx_weight, extack); in ice_devlink_set_parent()
1217 NL_SET_ERR_MSG_MOD(extack, "Can't move existing node to a new parent"); in ice_devlink_set_parent()
1236 struct netlink_ext_ack *extack) in ice_devlink_reload_up() argument
1246 return ice_devlink_reload_empr_finish(pf, extack); in ice_devlink_reload_up()
1317 struct netlink_ext_ack *extack) in ice_devlink_enable_roce_validate() argument
1325 …NL_SET_ERR_MSG_MOD(extack, "iWARP is currently enabled. This device cannot enable iWARP and RoCEv2… in ice_devlink_enable_roce_validate()
1368 struct netlink_ext_ack *extack) in ice_devlink_enable_iw_validate() argument
1376 …NL_SET_ERR_MSG_MOD(extack, "RoCEv2 is currently enabled. This device cannot enable iWARP and RoCEv… in ice_devlink_enable_iw_validate()
1660 struct netlink_ext_ack *extack, u8 **data) in ice_devlink_nvm_snapshot() argument
1678 NL_SET_ERR_MSG_MOD(extack, "Unexpected region in snapshot function"); in ice_devlink_nvm_snapshot()
1703 NL_SET_ERR_MSG_MOD(extack, "Failed to acquire NVM semaphore"); in ice_devlink_nvm_snapshot()
1713 NL_SET_ERR_MSG_MOD(extack, "Failed to read NVM contents"); in ice_devlink_nvm_snapshot()
1748 struct netlink_ext_ack *extack, in ice_devlink_nvm_read() argument
1765 NL_SET_ERR_MSG_MOD(extack, "Unexpected region in snapshot function"); in ice_devlink_nvm_read()
1770 NL_SET_ERR_MSG_MOD(extack, "Cannot read beyond the region size"); in ice_devlink_nvm_read()
1778 NL_SET_ERR_MSG_MOD(extack, "Failed to acquire NVM semaphore"); in ice_devlink_nvm_read()
1787 NL_SET_ERR_MSG_MOD(extack, "Failed to read NVM contents"); in ice_devlink_nvm_read()
1813 struct netlink_ext_ack *extack, u8 **data) in ice_devlink_devcaps_snapshot() argument
1830 NL_SET_ERR_MSG_MOD(extack, "Failed to read device capabilities"); in ice_devlink_devcaps_snapshot()