src/dpdk/drivers/net/ice/base/ice_sched.c
static enum ice_status
ice_sched_replay_node_prio(struct ice_hw *hw, struct ice_sched_node *node,
			   u8 priority)
{
	struct ice_aqc_txsched_elem_data buf;
	struct ice_aqc_txsched_elem *data;
	enum ice_status status;

	buf = node->info;
	data = &buf.data;
	data->valid_sections |= ICE_AQC_ELEM_VALID_GENERIC;
	data->generic = priority;

	/* Configure element */
	status = ice_sched_update_elem(hw, node, &buf);
	return status;
}
/**
 * ice_sched_replay_node_prio - re-configure node priority
 * @hw: pointer to the HW struct
 * @node: sched node to configure
 * @priority: priority value
 *
 * This function configures node element's priority value. It
 * needs to be called with scheduler lock held.
 */
re-configure node priority
@hw: pointer to the HW struct
@node: sched node to configure
@priority: priority value

This function configures node element's priority value. It
needs to be called with scheduler lock held.
re - configure node priority @hw : pointer to the HW struct @node : sched node to configure @priority : priority value This function configures node element ' s priority value . It needs to be called with scheduler lock held .
static enum ice_status
ice_sched_replay_node_prio(struct ice_hw *hw, struct ice_sched_node *node,
			   u8 priority)
{
	struct ice_aqc_txsched_elem_data buf;
	struct ice_aqc_txsched_elem *data;
	enum ice_status status;
	buf = node->info;
	data = &buf.data;
	data->valid_sections |= ICE_AQC_ELEM_VALID_GENERIC;
	data->generic = priority;
	status = ice_sched_update_elem(hw, node, &buf);
	return status;
}
static enum ice_status ice_sched_replay_node_prio ( struct ice_hw * hw , struct ice_sched_node * node , u8 priority ) { struct ice_aqc_txsched_elem_data buf ; struct ice_aqc_txsched_elem * data ; enum ice_status status ; buf = node -> info ; data = & buf . data ; data -> valid_sections |= ICE_AQC_ELEM_VALID_GENERIC ; data -> generic = priority ; status = ice_sched_update_elem ( hw , node , & buf ) ; return status ; }
ice_sched_replay_node_prio - re-configure node priority
 @hw: pointer to the HW struct
 @node: sched node to configure
 @priority: priority value
ice_sched_replay_node_prio - re - configure node priority @hw : pointer to the HW struct @node : sched node to configure @priority : priority value
/* Configure element */