<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:975373981;
mso-list-type:hybrid;
mso-list-template-ids:1113259794 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-IN link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi Vlad,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We have a following patch that is required to build iw_cxgb3 and iw_cxgb4 driver.<o:p></o:p></p><p class=MsoNormal>Can you please suggest a place where it can fit appropriately in new OFED build environment?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>--- a/drivers/infiniband/hw/cxgb3/Makefile<o:p></o:p></p><p class=MsoNormal>+++ b/drivers/infiniband/hw/cxgb3/Makefile<o:p></o:p></p><p class=MsoNormal>@@ -1,4 +1,4 @@<o:p></o:p></p><p class=MsoNormal>-ccflags-y := -Idrivers/net/ethernet/chelsio/cxgb3<o:p></o:p></p><p class=MsoNormal>+ccflags-y := -I$(CWD)/drivers/net/ethernet/chelsio/cxgb3<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> obj-$(CONFIG_INFINIBAND_CXGB3) += iw_cxgb3.o<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>diff --git a/drivers/infiniband/hw/cxgb4/Makefile b/drivers/infiniband/hw/cxgb4/Makefile<o:p></o:p></p><p class=MsoNormal>index 46b878c..b26d54c 100644<o:p></o:p></p><p class=MsoNormal>--- a/drivers/infiniband/hw/cxgb4/Makefile<o:p></o:p></p><p class=MsoNormal>+++ b/drivers/infiniband/hw/cxgb4/Makefile<o:p></o:p></p><p class=MsoNormal>@@ -1,4 +1,4 @@<o:p></o:p></p><p class=MsoNormal>-ccflags-y := -Idrivers/net/ethernet/chelsio/cxgb4<o:p></o:p></p><p class=MsoNormal>+ccflags-y := -I$(CWD)/drivers/net/ethernet/chelsio/cxgb4<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> obj-$(CONFIG_INFINIBAND_CXGB4) += iw_cxgb4.o<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We have thought of the following:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>Put the patch in compa-rdma/crap directoy. But it requires to give ‘-c’ option to apply patches from it. So, modify the admin_rdma.sh to always apply patches from crap directory.<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>Make a new directory called build-adjustments and have the scripts always apply patches from that dir.<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>Apply patch directly to linux-3.2 tree.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kindly suggest which one would be more appropriate.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal>Vipul Pandya<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>