• Xin Zhao's avatar
    Modify RMA pkt handlers and req handlers to allow for stream units. · efad963a
    Xin Zhao authored and Pavan Balaji's avatar Pavan Balaji committed
    
    
    On target side, we always allocate a SRBuf with 256K, which
    equals to the size of stream unit, to receive ACC/GACC data.
    
    Note that in MPIDI_CH3U_Request_load_recv_iov(), for ACC/GACC
    operations, since we already use SRBuf to receive the data
    at beginning, we will not use another SRBuf here, in order
    to avoid one more memory copy.
    
    Also, we pass the stream_offset in the current RMA packet to
    the request struct (when receiving is not finished) and
    do_accumulate_op function (when receiving is finished).
    
    Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>
    efad963a