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

Function ionic_lif_reset

dpdk/drivers/net/ionic/ionic_lif.c:73–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void
74ionic_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
87static void
88ionic_lif_get_abs_stats(const struct ionic_lif *lif, struct rte_eth_stats *stats)

Callers

nothing calls this directly

Calls 2

ionic_dev_cmd_lif_resetFunction · 0.85
ionic_dev_cmd_wait_checkFunction · 0.85

Tested by

no test coverage detected