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

Function ionic_dev_cmd_port_fec

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

Source from the content-addressed store, hash-verified

174}
175
176void
177ionic_dev_cmd_port_fec(struct ionic_dev *idev, uint8_t fec_type)
178{
179 union ionic_dev_cmd cmd = {
180 .port_setattr.opcode = IONIC_CMD_PORT_SETATTR,
181 .port_setattr.index = 0,
182 .port_setattr.attr = IONIC_PORT_ATTR_FEC,
183 .port_setattr.fec_type = fec_type,
184 };
185
186 ionic_dev_cmd_go(idev, &cmd);
187}
188
189void
190ionic_dev_cmd_port_pause(struct ionic_dev *idev, uint8_t pause_type)

Callers

nothing calls this directly

Calls 1

ionic_dev_cmd_goFunction · 0.85

Tested by

no test coverage detected