[ofw] patch: [ibal] RoCE support for NDI, don't use QPR.

Tzachi Dar tzachid at mellanox.co.il
Tue Jan 4 08:05:32 PST 2011


Applied on 3058.

Thanks
Tzachi

From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Tzachi Dar
Sent: Monday, December 27, 2010 3:15 PM
To: ofw at lists.openfabrics.org
Subject: [ofw] patch: [ibal] RoCE support for NDI, don't use QPR.

Index: B:/users/tzachid/projinf6/trunk/core/al/kernel/al_ndi_cm.c
===================================================================
--- B:/users/tzachid/projinf6/trunk/core/al/kernel/al_ndi_cm.c                (revision 6942)
+++ B:/users/tzachid/projinf6/trunk/core/al/kernel/al_ndi_cm.c             (revision 6943)
@@ -1385,7 +1385,7 @@

                p_irp->Tail.Overlay.DriverContext[0] = p_csq;

-              if( p_req->path.dlid != 0 )
+             if( p_req->path.dlid != 0 || p_req->transport == RDMA_TRANSPORT_RDMAOE)
                {
                                /* fix packet life */
                                uint8_t pkt_life = ib_path_rec_pkt_life( &p_req->path ) + g_pkt_life_modifier;
Index: B:/users/tzachid/projinf6/trunk/inc/iba/ib_al_ioctl.h
===================================================================
--- B:/users/tzachid/projinf6/trunk/inc/iba/ib_al_ioctl.h               (revision 6942)
+++ B:/users/tzachid/projinf6/trunk/inc/iba/ib_al_ioctl.h            (revision 6943)
@@ -3483,6 +3483,7 @@
                uint8_t                                                                                 resp_res;
                uint8_t                                                                                 init_depth;
                uint8_t                                                                                 prot;
+             enum rdma_transport_type       transport;
                uint8_t                                                                                 pdata_size;
                ib_cm_rdma_req_t                                        pdata;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20110104/70ea86ec/attachment.html>


More information about the ofw mailing list