<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=908303614-08072008><FONT face=Arial color=#0000ff
size=2>Applied on 1342.</FONT></SPAN></DIV>
<DIV><SPAN class=908303614-08072008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=908303614-08072008><FONT face=Arial color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=908303614-08072008><FONT face=Arial color=#0000ff
size=2>Tzachi</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ofw-bounces@lists.openfabrics.org
[mailto:ofw-bounces@lists.openfabrics.org] <B>On Behalf Of </B>Alex
Naslednikov<BR><B>Sent:</B> Sunday, July 06, 2008 6:39 PM<BR><B>To:</B>
ofw@lists.openfabrics.org<BR><B>Subject:</B> [ofw] Patch that enable support
for 4K MTU size<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>Index:
ulp/ipoib/kernel/ipoib_driver.h<BR>===================================================================<BR>---
ulp/ipoib/kernel/ipoib_driver.h (revision 2702)<BR>+++
ulp/ipoib/kernel/ipoib_driver.h (revision 2703)<BR>@@ -47,8 +47,8
@@<BR> */<BR> #define
MAX_BUNDLE_ID_LENGTH 32<BR> <BR>-<BR>-#define
IB_MTU 2048<BR>+/* MLX4 supports 4K MTU */<BR>+#define
IB_MTU 4096<BR> /*<BR> * Header length as defined
by IPoIB spec:<BR> * <A
href="http://www.ietf.org/internet-drafts/draft-ietf-ipoib-ip-over-infiniband-04.txt">http://www.ietf.org/internet-drafts/draft-ietf-ipoib-ip-over-infiniband-04.txt</A><BR>Index:
hw/mlx4/kernel/bus/ib/qp.c<BR>===================================================================<BR>---
hw/mlx4/kernel/bus/ib/qp.c (revision 2702)<BR>+++
hw/mlx4/kernel/bus/ib/qp.c (revision 2703)<BR>@@ -769,7 +769,7
@@<BR> <BR> if (ibqp->qp_type == IB_QPT_GSI ||
ibqp->qp_type == IB_QPT_SMI ||<BR>
ibqp->qp_type == IB_QPT_UD)<BR>- context->mtu_msgmax =
(IB_MTU_4096 << 5) | 11;<BR>+ context->mtu_msgmax =
(IB_MTU_4096 << 5) | 12;<BR> else if (attr_mask &
IB_QP_PATH_MTU) {<BR> if (attr->path_mtu < IB_MTU_256
|| attr->path_mtu > IB_MTU_4096)
{<BR> printk(KERN_ERR "path MTU (%u) is
invalid\n",<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=876003715-06072008><FONT face=Arial
size=2>---</FONT></SPAN></DIV>
<DIV><SPAN class=876003715-06072008><FONT face=Arial
size=2>XaleX</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>