From ae97a5407020b0c6b48c0043a78581cb75d11ae7 Mon Sep 17 00:00:00 2001 From: Rich Graham Date: Tue, 26 Oct 2004 15:24:58 +0000 Subject: [PATCH] set the number of bytes sent by the sender for use by the receive completion logic. This commit was SVN r3341. --- src/mca/ptl/base/ptl_base_match.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mca/ptl/base/ptl_base_match.c b/src/mca/ptl/base/ptl_base_match.c index 5402031e15..d39e4ff093 100644 --- a/src/mca/ptl/base/ptl_base_match.c +++ b/src/mca/ptl/base/ptl_base_match.c @@ -133,6 +133,9 @@ bool mca_ptl_base_match( * descriptor */ frag_desc->frag_request=matched_receive; + /* set lenght of incoming message */ + matched_receive->req_bytes_packed=frag_header->hdr_msg_length; + /* * update deliverd sequence number information, * if need be. @@ -673,6 +676,10 @@ bool mca_ptl_base_match_in_order_network_delivery( /* associate the receive descriptor with the fragment descriptor */ frag_desc->frag_request=matched_receive; + + /* set lenght of incoming message */ + matched_receive->req_bytes_packed=frag_header->hdr_msg_length; + } else { /* if no match found, place on unexpected queue */ ompi_list_append( ((pml_comm->c_unexpected_frags)+frag_src),