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

Function sfc_dma_free

dpdk/drivers/net/sfc/sfc.c:97–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void
98sfc_dma_free(const struct sfc_adapter *sa, efsys_mem_t *esmp)
99{
100 int rc;
101
102 sfc_log_init(sa, "name=%s", esmp->esm_mz->name);
103
104 rc = rte_memzone_free(esmp->esm_mz);
105 if (rc != 0)
106 sfc_err(sa, "rte_memzone_free(() failed: %d", rc);
107
108 memset(esmp, 0, sizeof(*esmp));
109}
110
111static uint32_t
112sfc_phy_cap_from_link_speeds(uint32_t speeds)

Callers 8

sfc_ev_qfiniFunction · 0.85
sfc_mcdi_dma_freeFunction · 0.85
sfc_tx_qinitFunction · 0.85
sfc_tx_qfiniFunction · 0.85
sfc_rx_qinitFunction · 0.85
sfc_rx_qfiniFunction · 0.85
sfc_port_attachFunction · 0.85
sfc_port_detachFunction · 0.85

Calls 2

rte_memzone_freeFunction · 0.85
memsetFunction · 0.85

Tested by

no test coverage detected