[VNIC] nasty bug.
authoraestrin <aestrin@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 15 Oct 2006 21:29:08 +0000 (21:29 +0000)
committeraestrin <aestrin@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 15 Oct 2006 21:29:08 +0000 (21:29 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@525 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/inic/kernel/vnic_data.c

index 378053b..07a54a8 100644 (file)
@@ -529,6 +529,7 @@ data_xmitPacket(
                                                                                p_sgl->NumberOfElements ) );\r
                return FALSE;\r
        }\r
+       pRdmaIo->p_packet = p_packet;\r
 \r
        for( i=0; i < p_sgl->NumberOfElements; i++ )\r
        {\r
@@ -607,8 +608,8 @@ data_xmitPacket(
        pRdmaIo->dsList[p_sgl->NumberOfElements].length = pRdmaIo->len -\r
                                                                                                          pRdmaIo->packet_sz +\r
                                                                                                          sizeof( ViportTrailer_t );\r
-       //pRdmaIo->io.wrq.ds_array = pRdmaIo->dsList;\r
-    pRdmaIo->io.wrq.num_ds =p_sgl->NumberOfElements + 1;\r
+\r
+       pRdmaIo->io.wrq.num_ds =p_sgl->NumberOfElements + 1;\r
 \r
        data_rdmaPacket( pData, pBpe, pRdmaIo );\r
 \r