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

Function ionic_lif_stop

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

Source from the content-addressed store, hash-verified

49}
50
51void
52ionic_lif_stop(struct ionic_lif *lif)
53{
54 uint32_t i;
55
56 IONIC_PRINT_CALL();
57
58 lif->state &= ~IONIC_LIF_F_UP;
59
60 for (i = 0; i < lif->nrxqcqs; i++) {
61 struct ionic_rx_qcq *rxq = lif->rxqcqs[i];
62 if (rxq->flags & IONIC_QCQ_F_INITED)
63 (void)ionic_dev_rx_queue_stop(lif->eth_dev, i);
64 }
65
66 for (i = 0; i < lif->ntxqcqs; i++) {
67 struct ionic_tx_qcq *txq = lif->txqcqs[i];
68 if (txq->flags & IONIC_QCQ_F_INITED)
69 (void)ionic_dev_tx_queue_stop(lif->eth_dev, i);
70 }
71}
72
73void
74ionic_lif_reset(struct ionic_lif *lif)

Callers 4

ionic_dev_set_link_downFunction · 0.85
ionic_dev_stopFunction · 0.85
ionic_dev_closeFunction · 0.85
ionic_lif_handle_fw_downFunction · 0.85

Calls 2

ionic_dev_rx_queue_stopFunction · 0.85
ionic_dev_tx_queue_stopFunction · 0.85

Tested by

no test coverage detected