| 1199 | } |
| 1200 | |
| 1201 | static void |
| 1202 | tap_rx_queue_release(struct rte_eth_dev *dev, uint16_t qid) |
| 1203 | { |
| 1204 | struct rx_queue *rxq = dev->data->rx_queues[qid]; |
| 1205 | struct pmd_process_private *process_private; |
| 1206 | |
| 1207 | if (!rxq) |
| 1208 | return; |
| 1209 | process_private = rte_eth_devices[rxq->in_port].process_private; |
| 1210 | if (process_private->rxq_fds[rxq->queue_id] != -1) { |
| 1211 | close(process_private->rxq_fds[rxq->queue_id]); |
| 1212 | process_private->rxq_fds[rxq->queue_id] = -1; |
| 1213 | tap_rxq_pool_free(rxq->pool); |
| 1214 | rte_free(rxq->iovecs); |
| 1215 | rxq->pool = NULL; |
| 1216 | rxq->iovecs = NULL; |
| 1217 | } |
| 1218 | } |
| 1219 | |
| 1220 | static void |
| 1221 | tap_tx_queue_release(struct rte_eth_dev *dev, uint16_t qid) |
nothing calls this directly
no test coverage detected