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

Function ionic_dev_cmd_port_autoneg

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

Source from the content-addressed store, hash-verified

161}
162
163void
164ionic_dev_cmd_port_autoneg(struct ionic_dev *idev, uint8_t an_enable)
165{
166 union ionic_dev_cmd cmd = {
167 .port_setattr.opcode = IONIC_CMD_PORT_SETATTR,
168 .port_setattr.index = 0,
169 .port_setattr.attr = IONIC_PORT_ATTR_AUTONEG,
170 .port_setattr.an_enable = an_enable,
171 };
172
173 ionic_dev_cmd_go(idev, &cmd);
174}
175
176void
177ionic_dev_cmd_port_fec(struct ionic_dev *idev, uint8_t fec_type)

Callers 1

ionic_dev_startFunction · 0.85

Calls 1

ionic_dev_cmd_goFunction · 0.85

Tested by

no test coverage detected