| 71 | } |
| 72 | |
| 73 | void |
| 74 | ionic_lif_reset(struct ionic_lif *lif) |
| 75 | { |
| 76 | struct ionic_dev *idev = &lif->adapter->idev; |
| 77 | int err; |
| 78 | |
| 79 | IONIC_PRINT_CALL(); |
| 80 | |
| 81 | ionic_dev_cmd_lif_reset(idev); |
| 82 | err = ionic_dev_cmd_wait_check(idev, IONIC_DEVCMD_TIMEOUT); |
| 83 | if (err) |
| 84 | IONIC_PRINT(WARNING, "Failed to reset %s", lif->name); |
| 85 | } |
| 86 | |
| 87 | static void |
| 88 | ionic_lif_get_abs_stats(const struct ionic_lif *lif, struct rte_eth_stats *stats) |
nothing calls this directly
no test coverage detected