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

Function mlx4_proc_priv_uninit

dpdk/drivers/net/mlx4/mlx4.c:228–235  ·  view source on GitHub ↗

* Un-initialize process private data structure. * * @param dev * Pointer to Ethernet device structure. */

Source from the content-addressed store, hash-verified

226 * Pointer to Ethernet device structure.
227 */
228void
229mlx4_proc_priv_uninit(struct rte_eth_dev *dev)
230{
231 if (!dev->process_private)
232 return;
233 rte_free(dev->process_private);
234 dev->process_private = NULL;
235}
236
237/**
238 * DPDK callback for Ethernet device configuration.

Callers 3

mlx4_proc_priv_initFunction · 0.85
mlx4_dev_closeFunction · 0.85
mp_secondary_handleFunction · 0.85

Calls 1

rte_freeFunction · 0.85

Tested by

no test coverage detected