The mtu command will set the RoCE MTU of all RXE devices to mtu_size, provided that the underlying Ethernet MTU is sufficiently large. If the Ethernet MTU is not large enough, RXE will use the largest MTU that fits; the driver remembers the requested RoCE MTU and will increase the currently active MTU if the Ethernet MTU is later changed up to the requested MTU.
If the -f option is included the underlying Ethernet MTUs will be increased if necessary to the minimum size to accommodate a RoCE MTU of size.
If a rxeN instance is specified then only that instance will be affected by the command.