From: Tziporet Koren Date: Thu, 21 Jun 2007 13:58:34 +0000 (+0300) Subject: added ofed_patch.sh explanation X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=3b39d935eb70f4b1c7d5b6ca88cfc44e393c8e69;p=compat-rdma%2Fdocs.git added ofed_patch.sh explanation --- diff --git a/OFED_tips.txt b/OFED_tips.txt index f687c94..3db1732 100644 --- a/OFED_tips.txt +++ b/OFED_tips.txt @@ -10,6 +10,7 @@ Table of Contents 2. Debug HOWTOs 3. Pinning (Locking) User Memory Pages 4. External Module Compilation Over OFED-1.2 +5. Adding/Deleting a patch to OFED package =============================================================================== @@ -168,7 +169,7 @@ or not). This file is a part of the ofed-docs RPM and installed under /usr/share/doc/ofed-docs-1.2 on RedHat, and under /usr/share/doc/packages/ofed-docs-1.2 on SuSE. -The same imformation can be obtained by executing the 'ofed_info' command. For +The same information can be obtained by executing the 'ofed_info' command. For example: > ofed_info @@ -310,3 +311,29 @@ Module.symvers file. See "Module versioning & Module.symvers" in the modules.txt from kernel documentation (e.g. linux-2.6.20/Documentation/kbuild/modules.txt). + + +=============================================================================== +5. Adding/Deleting a patch to OFED package +=============================================================================== +If there is a need to add or delete a patch to OFED package one should use the +ofed_patch.sh script, that is available under the docs directory. + +Usage: +Add patch to OFED: +ofed_patch.sh --add + --ofed|-o + --patch|-p + --type|-t |addons > + +Remove patch from OFED: +ofed_patch.sh --remove + --ofed|-o + --patch|-p + --type|-t |addons > + +Examples: +ofed_patch.sh --add --ofed /tmp/OFED-1.2/ --patch /tmp/cma_fix.patch --type kernel + +ofed_patch.sh --remove --ofed /tmp/OFED-1.2/ --patch cma_fix.patch --type kernel +