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

Function ionic_dev_cmd_port_state

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

Source from the content-addressed store, hash-verified

122}
123
124void
125ionic_dev_cmd_port_state(struct ionic_dev *idev, uint8_t state)
126{
127 union ionic_dev_cmd cmd = {
128 .port_setattr.opcode = IONIC_CMD_PORT_SETATTR,
129 .port_setattr.index = 0,
130 .port_setattr.attr = IONIC_PORT_ATTR_STATE,
131 .port_setattr.state = state,
132 };
133
134 ionic_dev_cmd_go(idev, &cmd);
135}
136
137void
138ionic_dev_cmd_port_speed(struct ionic_dev *idev, uint32_t speed)

Callers

nothing calls this directly

Calls 1

ionic_dev_cmd_goFunction · 0.85

Tested by

no test coverage detected