| 1113 | } |
| 1114 | |
| 1115 | static void |
| 1116 | em_tx_queue_release(struct em_tx_queue *txq) |
| 1117 | { |
| 1118 | if (txq != NULL) { |
| 1119 | em_tx_queue_release_mbufs(txq); |
| 1120 | rte_free(txq->sw_ring); |
| 1121 | rte_memzone_free(txq->mz); |
| 1122 | rte_free(txq); |
| 1123 | } |
| 1124 | } |
| 1125 | |
| 1126 | void |
| 1127 | eth_em_tx_queue_release(struct rte_eth_dev *dev, uint16_t qid) |
no test coverage detected