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

Function eth_dev_shared_data_release

dpdk/lib/ethdev/ethdev_private.c:372–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void
373eth_dev_shared_data_release(void)
374{
375 RTE_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY);
376
377 if (eth_dev_shared_data->allocated_ports != 0)
378 return;
379 if (eth_dev_shared_data->allocated_owners != 0)
380 return;
381
382 rte_memzone_free(eth_dev_shared_mz);
383 eth_dev_shared_mz = NULL;
384 eth_dev_shared_data = NULL;
385}
386
387void
388eth_dev_rxq_release(struct rte_eth_dev *dev, uint16_t qid)

Callers 2

rte_eth_dev_owner_deleteFunction · 0.85
rte_eth_dev_release_portFunction · 0.85

Calls 2

rte_eal_process_typeFunction · 0.85
rte_memzone_freeFunction · 0.85

Tested by

no test coverage detected