| 174 | } |
| 175 | |
| 176 | void |
| 177 | ionic_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 | |
| 189 | void |
| 190 | ionic_dev_cmd_port_pause(struct ionic_dev *idev, uint8_t pause_type) |
nothing calls this directly
no test coverage detected