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

Function cpfl_tx_queue_init

dpdk/drivers/net/cpfl/cpfl_rxtx.c:1216–1230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1214}
1215
1216int
1217cpfl_tx_queue_init(struct rte_eth_dev *dev, uint16_t tx_queue_id)
1218{
1219 struct cpfl_tx_queue *cpfl_txq;
1220
1221 if (tx_queue_id >= dev->data->nb_tx_queues)
1222 return -EINVAL;
1223
1224 cpfl_txq = dev->data->tx_queues[tx_queue_id];
1225
1226 /* Init the RX tail register. */
1227 IDPF_PCI_REG_WRITE(cpfl_txq->base.qtx_tail, 0);
1228
1229 return 0;
1230}
1231
1232int
1233cpfl_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)

Callers 1

cpfl_tx_queue_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected