Dear all,
I have a ConnectX-3 device connected to an INTEL XEON E3 CPU running CentOS 6.5.
During boot, the BIOS sets the Max Payload Size (MPS) of the IB PCIe port to 256 bytes.
If the MPS is changed on-the-fly to 128 bytes (e.g. using setpci command from the user space), the system crashes with memory buffer errors.
Attached is the log of the crash.
After a bit of investigation, I found on the mlx4 source file drivers/infiniband/hw/mlx4/mad.c that the buffer size used for payload during memcpy is set constant to 256 bytes:
================
81: u8 payload[256];
================
This fixed value is causing in my opinion the crash of the drivers.
OFED drivers should allow usage of a 128 bytes MPS, since ConnectX-3 firmware supports 128 byte Payload.
Did anybody experience such an issue?
I would like to report this as a bug in the OFED drivers, how can this be done?
Is this the right place?
Thank you and best regards.
Simone
Hardware environment:
- CPU INTEL XEON E3-1200 v3
- CONNECTX-3 VPI Adapter IB
Software environment:
- CENTOS 6.5
- CONNECTX-3 FW 2.33.5000
- OFED 2.4-1.0.4