[TESTS] removed incorrect setting of remote_ops in send WR. [mlnx: 3156]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 10 Sep 2008 17:11:02 +0000 (17:11 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 10 Sep 2008 17:11:02 +0000 (17:11 +0000)
After changing of send WR format remote_ops share the place with UD parameters and they cannot be set simultaneously with them.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1588 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

tests/alts/cmtests.c
tests/alts/madtests.c
tests/alts/multisendrecv.c

index 80fa0f5..c3585d4 100644 (file)
@@ -765,9 +765,6 @@ cm_post_sends(
                p_s_wr->wr_id = i+reg_index;\r
                p_s_wr->immediate_data = 0xfeedde00 + i;\r
 \r
-               p_s_wr->remote_ops.vaddr = 0;\r
-               p_s_wr->remote_ops.rkey = 0;\r
-\r
                ALTS_PRINT(ALTS_DBG_VERBOSE,\r
                        ("******vaddr(x%"PRIx64") lkey(x%x) len(%d)*****\n",\r
                        (void*)(uintn_t)p_s_wr->ds_array[0].vaddr,\r
index d206a02..043b531 100644 (file)
@@ -885,9 +885,6 @@ mad_post_sends(
                p_s_wr->wr_id = i+reg_index;\r
                p_s_wr->immediate_data = 0xfeedde00 + i;\r
 \r
-               p_s_wr->remote_ops.vaddr = 0;\r
-               p_s_wr->remote_ops.rkey = 0;\r
-\r
                ALTS_PRINT(ALTS_DBG_VERBOSE,\r
                        ("******vaddr(x%"PRIx64") lkey(x%x) len(%d)*****\n",\r
                        (void*)(uintn_t)p_s_wr->ds_array[0].vaddr,\r
index 590da80..5ca95db 100644 (file)
@@ -749,9 +749,6 @@ multisend_post_sends(
                p_s_wr->wr_id = i+reg_index;\r
                p_s_wr->immediate_data = 0xfeedde00 + i;\r
 \r
-               p_s_wr->remote_ops.vaddr = 0;\r
-               p_s_wr->remote_ops.rkey = 0;\r
-\r
                ALTS_PRINT(ALTS_DBG_VERBOSE,\r
                        ("***** Send ******vaddr(0x%"PRIx64") lkey(0x%x) len(%d)*****\n",\r
                        (void*)(uintn_t)p_s_wr->ds_array[0].vaddr,\r