| 514 | } |
| 515 | |
| 516 | int |
| 517 | ionic_lif_change_mtu(struct ionic_lif *lif, uint32_t new_mtu) |
| 518 | { |
| 519 | struct ionic_admin_ctx ctx = { |
| 520 | .pending_work = true, |
| 521 | .cmd.lif_setattr = { |
| 522 | .opcode = IONIC_CMD_LIF_SETATTR, |
| 523 | .attr = IONIC_LIF_ATTR_MTU, |
| 524 | .mtu = rte_cpu_to_le_32(new_mtu), |
| 525 | }, |
| 526 | }; |
| 527 | |
| 528 | return ionic_adminq_post_wait(lif, &ctx); |
| 529 | } |
| 530 | |
| 531 | int |
| 532 | ionic_intr_alloc(struct ionic_lif *lif, struct ionic_intr_info *intr) |
no test coverage detected