Hi,
I've created a patch similar to
http://kernel.opensuse.org/cgit/kernel/commit/?id=117632e64d2a5f464e491fe221d7169a3814a77b
In order to use the existing mlnx_add_kernel_support.sh script to create patch kernel-ib RPMs, the patch needs to be integrated into the MLNX_OFED_SRC tarball. I'm using the following method to accomplish this:
- Extract MLNX_OFED_SRC-2.0-2.0.5/SRPMS/ofa_kernel-2.0-OFED.2.0.2.0.5.g1593535.src.rpm from src/MLNX_OFED_SRC-2.0-2.0.5.tgz
- Apply the patch to the contents of ofa_kernel-2.0.tgz
- Rebuild ofa_kernel-2.0.tgz
- Rebuild the source RPM using the modified specfile, and place it at MLNX_OFED_SRC-2.0-2.0.5/SRPMS/ofa_kernel-2.0-OFED.2.0.2.0.5.g1593535.src.rpm
- Rebuild MLNX_OFED_SRC-2.0-2.0.5.tgz
I've performed basic functionality tests with this patch on 2.6.32-358.6.2.el6 and 2.6.32-358.14.1.el6 kernels, and have not yet found any problems. I have not yet performed strenuous performance tests.
Larry