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

Function idpf_tx_queue_init

dpdk/drivers/net/idpf/idpf_rxtx.c:611–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609}
610
611int
612idpf_tx_queue_init(struct rte_eth_dev *dev, uint16_t tx_queue_id)
613{
614 struct idpf_tx_queue *txq;
615
616 if (tx_queue_id >= dev->data->nb_tx_queues)
617 return -EINVAL;
618
619 txq = dev->data->tx_queues[tx_queue_id];
620
621 /* Init the RX tail register. */
622 IDPF_PCI_REG_WRITE(txq->qtx_tail, 0);
623
624 return 0;
625}
626
627int
628idpf_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)

Callers 1

idpf_tx_queue_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected