* Set device link down, disable tx. */
| 244 | * Set device link down, disable tx. |
| 245 | */ |
| 246 | static int |
| 247 | ionic_dev_set_link_down(struct rte_eth_dev *eth_dev) |
| 248 | { |
| 249 | struct ionic_lif *lif = IONIC_ETH_DEV_TO_LIF(eth_dev); |
| 250 | |
| 251 | IONIC_PRINT_CALL(); |
| 252 | |
| 253 | ionic_lif_stop(lif); |
| 254 | |
| 255 | ionic_dev_link_update(lif->eth_dev, 0); |
| 256 | |
| 257 | return 0; |
| 258 | } |
| 259 | |
| 260 | int |
| 261 | ionic_dev_link_update(struct rte_eth_dev *eth_dev, |
nothing calls this directly
no test coverage detected