| 1059 | } |
| 1060 | |
| 1061 | static int |
| 1062 | eth_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 | |
| 1080 | int |
| 1081 | eth_ionic_dev_probe(void *bus_dev, struct rte_device *rte_dev, |
nothing calls this directly
no test coverage detected