| 1102 | } |
| 1103 | |
| 1104 | void |
| 1105 | ionic_lif_free(struct ionic_lif *lif) |
| 1106 | { |
| 1107 | if (lif->notifyqcq) { |
| 1108 | ionic_qcq_free(&lif->notifyqcq->qcq); |
| 1109 | lif->notifyqcq = NULL; |
| 1110 | } |
| 1111 | |
| 1112 | if (lif->adminqcq) { |
| 1113 | ionic_qcq_free(&lif->adminqcq->qcq); |
| 1114 | lif->adminqcq = NULL; |
| 1115 | } |
| 1116 | |
| 1117 | if (lif->txqcqs) { |
| 1118 | rte_free(lif->txqcqs); |
| 1119 | lif->txqcqs = NULL; |
| 1120 | } |
| 1121 | |
| 1122 | if (lif->rxqcqs) { |
| 1123 | rte_free(lif->rxqcqs); |
| 1124 | lif->rxqcqs = NULL; |
| 1125 | } |
| 1126 | |
| 1127 | if (lif->info) { |
| 1128 | rte_memzone_free(lif->info_z); |
| 1129 | lif->info = NULL; |
| 1130 | } |
| 1131 | } |
| 1132 | |
| 1133 | void |
| 1134 | ionic_lif_free_queues(struct ionic_lif *lif) |
no test coverage detected