| 1214 | } |
| 1215 | |
| 1216 | int |
| 1217 | cpfl_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 | |
| 1232 | int |
| 1233 | cpfl_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id) |
no outgoing calls
no test coverage detected