On Monday 08 June 2009 18:08, Nicolas Morey-Chaisemartin wrote:
> I'm still having difficulties to understand how mainstream code and ofed code 
> interacts.
> 
The base kernel files (in this case, 2.6.30) are taken unmodified into OFED.
Adjustments (patches) to the base kernel are placed in directory 
kernel_patches/fixes.
Further adjustments, for earlier kernels, are placed in
kernel_patches/backports/<specific backported kernel>.

Each kernel_patches/backports/<backported kernel> is independent.
When building for a given kernel, first the "fixes" patches are applied,
then the "backport" patches for that kernel.

In addition, there is also the "kernel_addons" directory, which contains, per 
backport,
adjustments to include files so that we can perform fewer changes to the code 
when backporting.
The include files under "kernel_addons" are taken first when compiling.

-Jack
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to