| 609 | } |
| 610 | |
| 611 | int |
| 612 | idpf_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 | |
| 627 | int |
| 628 | idpf_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id) |
no outgoing calls
no test coverage detected