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

Function sfc_mcdi_dma_alloc

dpdk/drivers/net/sfc/sfc_mcdi.c:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17static sfc_efx_mcdi_dma_alloc_cb sfc_mcdi_dma_alloc;
18static int
19sfc_mcdi_dma_alloc(void *cookie, const char *name, size_t len,
20 efsys_mem_t *esmp)
21{
22 struct sfc_adapter *sa = cookie;
23
24 return sfc_dma_alloc(sa, name, 0, EFX_NIC_DMA_ADDR_MCDI_BUF, len,
25 sa->socket_id, esmp);
26}
27
28static sfc_efx_mcdi_dma_free_cb sfc_mcdi_dma_free;
29static void

Callers

nothing calls this directly

Calls 1

sfc_dma_allocFunction · 0.85

Tested by

no test coverage detected