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

Function bnxt_dev_uninit

dpdk/drivers/net/bnxt/bnxt_ethdev.c:6127–6139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6125}
6126
6127static int
6128bnxt_dev_uninit(struct rte_eth_dev *eth_dev)
6129{
6130 if (rte_eal_process_type() != RTE_PROC_PRIMARY)
6131 return -EPERM;
6132
6133 PMD_DRV_LOG(DEBUG, "Calling Device uninit\n");
6134
6135 if (eth_dev->state != RTE_ETH_DEV_UNUSED)
6136 bnxt_dev_close_op(eth_dev);
6137
6138 return 0;
6139}
6140
6141static int bnxt_pci_remove_dev_with_reps(struct rte_eth_dev *eth_dev)
6142{

Callers 1

bnxt_dev_initFunction · 0.85

Calls 2

rte_eal_process_typeFunction · 0.85
bnxt_dev_close_opFunction · 0.85

Tested by

no test coverage detected