| 148 | } |
| 149 | |
| 150 | void |
| 151 | ionic_dev_cmd_port_mtu(struct ionic_dev *idev, uint32_t mtu) |
| 152 | { |
| 153 | union ionic_dev_cmd cmd = { |
| 154 | .port_setattr.opcode = IONIC_CMD_PORT_SETATTR, |
| 155 | .port_setattr.index = 0, |
| 156 | .port_setattr.attr = IONIC_PORT_ATTR_MTU, |
| 157 | .port_setattr.mtu = rte_cpu_to_le_32(mtu), |
| 158 | }; |
| 159 | |
| 160 | ionic_dev_cmd_go(idev, &cmd); |
| 161 | } |
| 162 | |
| 163 | void |
| 164 | ionic_dev_cmd_port_autoneg(struct ionic_dev *idev, uint8_t an_enable) |
nothing calls this directly
no test coverage detected