| 2492 | } |
| 2493 | |
| 2494 | void |
| 2495 | i40e_tx_queue_release(void *txq) |
| 2496 | { |
| 2497 | struct i40e_tx_queue *q = (struct i40e_tx_queue *)txq; |
| 2498 | |
| 2499 | if (!q) { |
| 2500 | PMD_DRV_LOG(DEBUG, "Pointer to TX queue is NULL"); |
| 2501 | return; |
| 2502 | } |
| 2503 | |
| 2504 | i40e_tx_queue_release_mbufs(q); |
| 2505 | rte_free(q->sw_ring); |
| 2506 | rte_memzone_free(q->mz); |
| 2507 | rte_free(q); |
| 2508 | } |
| 2509 | |
| 2510 | const struct rte_memzone * |
| 2511 | i40e_memzone_reserve(const char *name, uint32_t len, int socket_id) |
no test coverage detected