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

Tzachi Dar tzachid at mellanox.co.il
Mon Dec 27 05:15:19 PST 2010


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/20101227/b957c91a/attachment.html>


More information about the ofw mailing list