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

Function ena_com_delete_host_info

dpdk/drivers/net/ena/base/ena_com.c:3160–3172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3158}
3159
3160void ena_com_delete_host_info(struct ena_com_dev *ena_dev)
3161{
3162 struct ena_host_attribute *host_attr = &ena_dev->host_attr;
3163
3164 if (host_attr->host_info) {
3165 ENA_MEM_FREE_COHERENT(ena_dev->dmadev,
3166 SZ_4K,
3167 host_attr->host_info,
3168 host_attr->host_info_dma_addr,
3169 host_attr->host_info_dma_handle);
3170 host_attr->host_info = NULL;
3171 }
3172}
3173
3174void ena_com_delete_debug_area(struct ena_com_dev *ena_dev)
3175{

Callers 3

ena_config_host_infoFunction · 0.50
eth_ena_dev_initFunction · 0.50
ena_destroy_deviceFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected