[ofa-general] Re: [UPDATE] [V3] [PATCH 3/3] ib/ipoib: IPoIB-UD RX S/G support for 4K MTU

Shirley Ma xma at us.ibm.com
Sun Feb 3 09:09:25 PST 2008






Hello Tziporet,

I have done 4 different approaches for IPoIB-UD 4K mtu implmenetation. I
have tested and validated three of them and I didn't see any performance
difference among these implementations for both 2K mtu and 4K mtu. However
I picked up V3 patch since this V3 patch is based on Eli and Roland's
review comment: Keep existing 2K mtu implementation, don't merge IPoIB-UD
RX S/G and IPoIB-CM RX S/G. Using 2 buffers for 4K MTU, one buffer is
HEAD=GRH+IPoIB-head=44 bytes, one buffer is 4K for data when PAGE_SIZE is
not bigger enough for 4K MTU+HEAD.

I have tested and validated this patch on both mthca driver intel based
platform and ehca driver ppc platform. Stress test has passed whole night
without any problem on on intel based platform for 2K MTU validation
against 2.6.24 kernel for OFED-1.3-RC3 tree + Pradeep's noSRQ patch.

The attachment is the patch built against OFED-1.3-RC3. One line is needed
for backporting to other kernel: ++dev->stats vs. ++priv->stats. Please
review it for OFED-1.3 inclusion. If there is any issues, please let me
know.

(See attached file: ipoib-4kmtu-rc3-2.6.24.patch)

Thanks
Shirley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080203/4017434b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib-4kmtu-rc3-2.6.24.patch
Type: application/octet-stream
Size: 13655 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080203/4017434b/attachment.obj>


More information about the general mailing list