MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cxgbe_dev_tx_queue_start

Function cxgbe_dev_tx_queue_start

dpdk/drivers/net/cxgbe/cxgbe_ethdev.c:473–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473int cxgbe_dev_tx_queue_start(struct rte_eth_dev *eth_dev, uint16_t tx_queue_id)
474{
475 int ret;
476 struct sge_eth_txq *txq = (struct sge_eth_txq *)
477 (eth_dev->data->tx_queues[tx_queue_id]);
478
479 dev_debug(NULL, "%s: tx_queue_id = %d\n", __func__, tx_queue_id);
480
481 ret = t4_sge_eth_txq_start(txq);
482 if (ret == 0)
483 eth_dev->data->tx_queue_state[tx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED;
484
485 return ret;
486}
487
488int cxgbe_dev_tx_queue_stop(struct rte_eth_dev *eth_dev, uint16_t tx_queue_id)
489{

Callers 1

cxgbe_dev_startFunction · 0.85

Calls 1

t4_sge_eth_txq_startFunction · 0.85

Tested by

no test coverage detected