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

Function ionic_dev_cmd_port_mtu

dpdk/drivers/net/ionic/ionic_dev.c:150–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void
151ionic_dev_cmd_port_mtu(struct ionic_dev *idev, uint32_t mtu)
152{
153 union ionic_dev_cmd cmd = {
154 .port_setattr.opcode = IONIC_CMD_PORT_SETATTR,
155 .port_setattr.index = 0,
156 .port_setattr.attr = IONIC_PORT_ATTR_MTU,
157 .port_setattr.mtu = rte_cpu_to_le_32(mtu),
158 };
159
160 ionic_dev_cmd_go(idev, &cmd);
161}
162
163void
164ionic_dev_cmd_port_autoneg(struct ionic_dev *idev, uint8_t an_enable)

Callers

nothing calls this directly

Calls 1

ionic_dev_cmd_goFunction · 0.85

Tested by

no test coverage detected