On 4/9/2013 8:15 AM, Sebastian Riemer wrote:
> On 09.04.2013 13:51, Vasiliy Tolstov wrote:
>>> Something like this:
>>> echo 4096 > /sys/class/infiniband/mlx4_0/device/mlx4_port1_mtu
>>
>> After doing this all srp connections down and port is down. I need to
>> restart openibd
> 
> Sorry for that! It's much easier to set the IP MTU. Managed switches
> support setting the RDMA MTU. So it could be possible that it is a
> setting in the SM config. But I'm not sure.

IP MTU is different than link MTU. For UD mode, it's link MTU - 4. For
RC (connected) mode, this can be a much larger number than the link MTU
as the HCA does the segmentation/reassembly down to the path MTU.

> $ man opensm
> says that it can be set in the partitions.conf

Yes, MTU for the IPoIB interface is set in the partition file. This
would need configuring for the larger (4K) MTU assuming all ports
support the 4K MTU. If not, some ports won't be able to join the IPoIB
broadcast (or other) IB multicast groups and IPoIB won't work.

-- Hal
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to