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

Function ionic_dev_cmd_port_speed

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

Source from the content-addressed store, hash-verified

135}
136
137void
138ionic_dev_cmd_port_speed(struct ionic_dev *idev, uint32_t speed)
139{
140 union ionic_dev_cmd cmd = {
141 .port_setattr.opcode = IONIC_CMD_PORT_SETATTR,
142 .port_setattr.index = 0,
143 .port_setattr.attr = IONIC_PORT_ATTR_SPEED,
144 .port_setattr.speed = rte_cpu_to_le_32(speed),
145 };
146
147 ionic_dev_cmd_go(idev, &cmd);
148}
149
150void
151ionic_dev_cmd_port_mtu(struct ionic_dev *idev, uint32_t mtu)

Callers 1

ionic_dev_startFunction · 0.85

Calls 1

ionic_dev_cmd_goFunction · 0.85

Tested by

no test coverage detected