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

Function eth_ionic_dev_uninit

dpdk/drivers/net/ionic/ionic_ethdev.c:1061–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1059}
1060
1061static int
1062eth_ionic_dev_uninit(struct rte_eth_dev *eth_dev)
1063{
1064 IONIC_PRINT_CALL();
1065
1066 if (rte_eal_process_type() != RTE_PROC_PRIMARY)
1067 return 0;
1068
1069 if (eth_dev->state != RTE_ETH_DEV_UNUSED)
1070 ionic_dev_close(eth_dev);
1071
1072 eth_dev->dev_ops = NULL;
1073 eth_dev->rx_pkt_burst = NULL;
1074 eth_dev->tx_pkt_burst = NULL;
1075 eth_dev->tx_pkt_prepare = NULL;
1076
1077 return 0;
1078}
1079
1080int
1081eth_ionic_dev_probe(void *bus_dev, struct rte_device *rte_dev,

Callers

nothing calls this directly

Calls 2

rte_eal_process_typeFunction · 0.85
ionic_dev_closeFunction · 0.85

Tested by

no test coverage detected