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

Function bnxt_drv_uninit

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

Source from the content-addressed store, hash-verified

1678}
1679
1680static void bnxt_drv_uninit(struct bnxt *bp)
1681{
1682 bnxt_free_leds_info(bp);
1683 bnxt_free_cos_queues(bp);
1684 bnxt_free_link_info(bp);
1685 bnxt_free_parent_info(bp);
1686 bnxt_uninit_locks(bp);
1687 bnxt_free_rep_info(bp);
1688
1689 rte_memzone_free((const struct rte_memzone *)bp->tx_mem_zone);
1690 bp->tx_mem_zone = NULL;
1691 rte_memzone_free((const struct rte_memzone *)bp->rx_mem_zone);
1692 bp->rx_mem_zone = NULL;
1693
1694 bnxt_free_vf_info(bp);
1695 bnxt_free_pf_info(bp);
1696
1697 rte_free(bp->grp_info);
1698 bp->grp_info = NULL;
1699}
1700
1701static int bnxt_dev_close_op(struct rte_eth_dev *eth_dev)
1702{

Callers 1

bnxt_dev_close_opFunction · 0.85

Calls 10

bnxt_free_leds_infoFunction · 0.85
bnxt_free_cos_queuesFunction · 0.85
bnxt_free_link_infoFunction · 0.85
bnxt_free_parent_infoFunction · 0.85
bnxt_uninit_locksFunction · 0.85
bnxt_free_rep_infoFunction · 0.85
rte_memzone_freeFunction · 0.85
bnxt_free_vf_infoFunction · 0.85
bnxt_free_pf_infoFunction · 0.85
rte_freeFunction · 0.85

Tested by

no test coverage detected