| 31 | static int ionic_lif_addr_del(struct ionic_lif *lif, const uint8_t *addr); |
| 32 | |
| 33 | static int |
| 34 | ionic_qcq_disable(struct ionic_qcq *qcq) |
| 35 | { |
| 36 | struct ionic_queue *q = &qcq->q; |
| 37 | struct ionic_lif *lif = qcq->lif; |
| 38 | struct ionic_admin_ctx ctx = { |
| 39 | .pending_work = true, |
| 40 | .cmd.q_control = { |
| 41 | .opcode = IONIC_CMD_Q_CONTROL, |
| 42 | .type = q->type, |
| 43 | .index = rte_cpu_to_le_32(q->index), |
| 44 | .oper = IONIC_Q_DISABLE, |
| 45 | }, |
| 46 | }; |
| 47 | |
| 48 | return ionic_adminq_post_wait(lif, &ctx); |
| 49 | } |
| 50 | |
| 51 | void |
| 52 | ionic_lif_stop(struct ionic_lif *lif) |
no test coverage detected