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

Function bnxt_free_ring

dpdk/drivers/net/bnxt/bnxt_ring.c:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 */
24
25void bnxt_free_ring(struct bnxt_ring *ring)
26{
27 if (!ring)
28 return;
29
30 if (ring->vmem_size && *ring->vmem) {
31 memset((char *)*ring->vmem, 0, ring->vmem_size);
32 *ring->vmem = NULL;
33 }
34 ring->mem_zone = NULL;
35}
36
37/*
38 * Ring groups

Callers 7

bnxt_free_tx_ringsFunction · 0.85
bnxt_free_rx_ringsFunction · 0.85
bnxt_tx_queue_release_opFunction · 0.85
bnxt_free_rxtx_nq_ringFunction · 0.85
bnxt_free_async_cp_ringFunction · 0.85
bnxt_free_rxq_memFunction · 0.85

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected