Lines Matching refs:queue_idx
503 uint16_t queue_idx, uint16_t nb_desc, in cxgbe_dev_tx_queue_setup() argument
514 txq = &s->ethtxq[pi->first_txqset + queue_idx]; in cxgbe_dev_tx_queue_setup()
516 __func__, eth_dev->data->nb_tx_queues, queue_idx, nb_desc, in cxgbe_dev_tx_queue_setup()
520 if (eth_dev->data->tx_queues[queue_idx]) { in cxgbe_dev_tx_queue_setup()
521 cxgbe_dev_tx_queue_release(eth_dev->data->tx_queues[queue_idx]); in cxgbe_dev_tx_queue_setup()
522 eth_dev->data->tx_queues[queue_idx] = NULL; in cxgbe_dev_tx_queue_setup()
525 eth_dev->data->tx_queues[queue_idx] = (void *)txq; in cxgbe_dev_tx_queue_setup()
546 err = t4_sge_alloc_eth_txq(adapter, txq, eth_dev, queue_idx, in cxgbe_dev_tx_queue_setup()
607 uint16_t queue_idx, uint16_t nb_desc, in cxgbe_dev_rx_queue_setup() argument
621 rxq = &s->ethrxq[pi->first_rxqset + queue_idx]; in cxgbe_dev_rx_queue_setup()
623 __func__, eth_dev->data->nb_rx_queues, queue_idx, nb_desc, in cxgbe_dev_rx_queue_setup()
643 if (eth_dev->data->rx_queues[queue_idx]) { in cxgbe_dev_rx_queue_setup()
644 cxgbe_dev_rx_queue_release(eth_dev->data->rx_queues[queue_idx]); in cxgbe_dev_rx_queue_setup()
645 eth_dev->data->rx_queues[queue_idx] = NULL; in cxgbe_dev_rx_queue_setup()
648 eth_dev->data->rx_queues[queue_idx] = (void *)rxq; in cxgbe_dev_rx_queue_setup()
683 queue_idx, socket_id); in cxgbe_dev_rx_queue_setup()