MCPcopy Create free account
hub / github.com/F-Stack/f-stack / i40e_tx_queue_release

Function i40e_tx_queue_release

dpdk/drivers/net/i40e/i40e_rxtx.c:2494–2508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2492}
2493
2494void
2495i40e_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
2510const struct rte_memzone *
2511i40e_memzone_reserve(const char *name, uint32_t len, int socket_id)

Callers 6

i40e_fdir_setupFunction · 0.85
i40e_fdir_teardownFunction · 0.85
i40e_dev_tx_queue_setupFunction · 0.85
i40e_dev_free_queuesFunction · 0.85

Calls 3

rte_freeFunction · 0.85
rte_memzone_freeFunction · 0.85

Tested by

no test coverage detected