2004-10-23 23:49:29 +04:00
|
|
|
/*
|
2004-11-22 04:38:40 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-10-23 23:49:29 +04:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "ptl_mx.h"
|
|
|
|
#include "ptl_mx_recvfrag.h"
|
|
|
|
|
|
|
|
|
|
|
|
static void mca_ptl_mx_recv_frag_construct(mca_ptl_mx_recv_frag_t* frag);
|
|
|
|
static void mca_ptl_mx_recv_frag_destruct(mca_ptl_mx_recv_frag_t* frag);
|
|
|
|
|
|
|
|
|
|
|
|
OBJ_CLASS_INSTANCE(
|
|
|
|
mca_ptl_mx_recv_frag_t,
|
|
|
|
mca_ptl_base_recv_frag_t,
|
|
|
|
mca_ptl_mx_recv_frag_construct,
|
|
|
|
mca_ptl_mx_recv_frag_destruct);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* MX recv fragment constructor
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void mca_ptl_mx_recv_frag_construct(mca_ptl_mx_recv_frag_t* frag)
|
|
|
|
{
|
2004-10-28 19:40:46 +04:00
|
|
|
/* one time initialization */
|
|
|
|
frag->frag_segments[0].segment_ptr = &frag->frag_recv.frag_base.frag_header;
|
|
|
|
frag->frag_segments[0].segment_length = sizeof(frag->frag_recv.frag_base.frag_header);
|
2004-10-23 23:49:29 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* MX recv fragment destructor
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void mca_ptl_mx_recv_frag_destruct(mca_ptl_mx_recv_frag_t* frag)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|