src/dpdk/drivers/net/ark/ark_ethdev_rx.c
int
eth_ark_rx_stop_queue(struct rte_eth_dev *dev, uint16_t queue_id)
{
	struct ark_rx_queue *queue;

	queue = dev->data->rx_queues[queue_id];
	if (queue == 0)
		return -1;

	ark_udm_queue_enable(queue->udm, 0);

	dev->data->rx_queue_state[queue_id] = RTE_ETH_QUEUE_STATE_STOPPED;

	return 0;
}
/* Queue can be restarted.   data remains
 */
Queue can be restarted.   data remains
Queue can be restarted . data remains
int
eth_ark_rx_stop_queue(struct rte_eth_dev *dev, uint16_t queue_id)
{
	struct ark_rx_queue *queue;
	queue = dev->data->rx_queues[queue_id];
	if (queue == 0)
		return -1;
	ark_udm_queue_enable(queue->udm, 0);
	dev->data->rx_queue_state[queue_id] = RTE_ETH_QUEUE_STATE_STOPPED;
	return 0;
}
int eth_ark_rx_stop_queue ( struct rte_eth_dev * dev , uint16_t queue_id ) { struct ark_rx_queue * queue ; queue = dev -> data -> rx_queues [ queue_id ] ; if ( queue == 0 ) return -1 ; ark_udm_queue_enable ( queue -> udm , 0 ) ; dev -> data -> rx_queue_state [ queue_id ] = RTE_ETH_QUEUE_STATE_STOPPED ; return 0 ; }
Queue can be restarted.
Queue can be restarted .