[AL] Replace spaces with tabs. (mlnx 5650)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Mar 2010 14:01:46 +0000 (14:01 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Mar 2010 14:01:46 +0000 (14:01 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2724 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_ndi_cm.c

index 8f3c95c..4e17d66 100644 (file)
@@ -1319,7 +1319,7 @@ __ndi_pr_query(
        ual_ndi_req_cm_ioctl_in_t *p_req = \r
                (ual_ndi_req_cm_ioctl_in_t*)cl_ioctl_in_buf( p_irp );\r
        nd_csq_t* p_csq = (nd_csq_t*)p_irp->Tail.Overlay.DriverContext[0];\r
-    ib_gid_pair_t gids;\r
+       ib_gid_pair_t gids;\r
 \r
        AL_ENTER( AL_DBG_NDI );\r
 \r
@@ -1331,8 +1331,8 @@ __ndi_pr_query(
                return STATUS_CONNECTION_ACTIVE;\r
        }\r
 \r
-    gids.src_gid = p_req->path.sgid;\r
-    gids.dest_gid = p_req->path.dgid;\r
+       gids.src_gid = p_req->path.sgid;\r
+       gids.dest_gid = p_req->path.dgid;\r
 \r
        query_req.query_type = IB_QUERY_PATH_REC_BY_GIDS;\r
        query_req.p_query_input = &gids;\r
@@ -1385,33 +1385,33 @@ ndi_req_cm(
 \r
        p_irp->Tail.Overlay.DriverContext[0] = p_csq;\r
 \r
-    if( p_req->path.dlid != 0 )\r
-    {\r
-           /* fix packet life */\r
-           uint8_t pkt_life = ib_path_rec_pkt_life( &p_req->path ) + g_pkt_life_modifier;\r
-           if( pkt_life > 0x1F )\r
-                   pkt_life = 0x1F;\r
-\r
-           p_req->path.pkt_life &= IB_PATH_REC_SELECTOR_MASK;\r
-           p_req->path.pkt_life |= pkt_life;\r
-\r
-           p_irp->Tail.Overlay.DriverContext[1] = &p_req->path;\r
-           status = IoCsqInsertIrpEx(\r
-                   &p_csq->csq,\r
-                   p_irp,\r
-                   NULL,\r
-                   (VOID*)(ULONG_PTR)NDI_CM_CONNECTING_REQ_SENT\r
-                   );\r
-    }\r
-    else\r
-    {\r
-           status = IoCsqInsertIrpEx(\r
-                   &p_csq->csq,\r
-                   p_irp,\r
-                   NULL,\r
-                   (VOID*)(ULONG_PTR)NDI_CM_CONNECTING_QPR_SENT\r
-                   );\r
-    }\r
+       if( p_req->path.dlid != 0 )\r
+       {\r
+               /* fix packet life */\r
+               uint8_t pkt_life = ib_path_rec_pkt_life( &p_req->path ) + g_pkt_life_modifier;\r
+               if( pkt_life > 0x1F )\r
+                       pkt_life = 0x1F;\r
+\r
+               p_req->path.pkt_life &= IB_PATH_REC_SELECTOR_MASK;\r
+               p_req->path.pkt_life |= pkt_life;\r
+\r
+               p_irp->Tail.Overlay.DriverContext[1] = &p_req->path;\r
+               status = IoCsqInsertIrpEx(\r
+                       &p_csq->csq,\r
+                       p_irp,\r
+                       NULL,\r
+                       (VOID*)(ULONG_PTR)NDI_CM_CONNECTING_REQ_SENT\r
+                       );\r
+       }\r
+       else\r
+       {\r
+               status = IoCsqInsertIrpEx(\r
+                       &p_csq->csq,\r
+                       p_irp,\r
+                       NULL,\r
+                       (VOID*)(ULONG_PTR)NDI_CM_CONNECTING_QPR_SENT\r
+                       );\r
+       }\r
 \r
        nd_csq_release( p_csq );\r
 err:\r