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

Function ionic_lif_change_mtu

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

Source from the content-addressed store, hash-verified

514}
515
516int
517ionic_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
531int
532ionic_intr_alloc(struct ionic_lif *lif, struct ionic_intr_info *intr)

Callers 1

ionic_dev_startFunction · 0.85

Calls 1

ionic_adminq_post_waitFunction · 0.85

Tested by

no test coverage detected