* Stop device: disable rx and tx functions to allow for reconfiguring. */
| 944 | * Stop device: disable rx and tx functions to allow for reconfiguring. |
| 945 | */ |
| 946 | static int |
| 947 | ionic_dev_stop(struct rte_eth_dev *eth_dev) |
| 948 | { |
| 949 | struct ionic_lif *lif = IONIC_ETH_DEV_TO_LIF(eth_dev); |
| 950 | |
| 951 | IONIC_PRINT_CALL(); |
| 952 | |
| 953 | ionic_lif_stop(lif); |
| 954 | |
| 955 | return 0; |
| 956 | } |
| 957 | |
| 958 | /* |
| 959 | * Reset and stop device. |
nothing calls this directly
no test coverage detected