| 135 | } |
| 136 | |
| 137 | void |
| 138 | ionic_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 | |
| 150 | void |
| 151 | ionic_dev_cmd_port_mtu(struct ionic_dev *idev, uint32_t mtu) |
no test coverage detected