root/ompi/mca/mtl/psm/mtl_psm_request.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2005 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * Copyright (c) 2006      QLogic Corporation. All rights reserved.
  13  * $COPYRIGHT$
  14  *
  15  * Additional copyrights may follow
  16  *
  17  * $HEADER$
  18  */
  19 
  20 #ifndef OMPI_MTL_PSM_REQUEST_H
  21 #define OMPI_MTL_PSM_REQUEST_H
  22 
  23 #include "opal/datatype/opal_convertor.h"
  24 
  25 
  26 typedef enum {
  27     OMPI_MTL_PSM_ISEND,
  28     OMPI_MTL_PSM_IRECV
  29 } mca_mtl_psm_request_type_t;
  30 
  31 struct mca_mtl_psm_request_t {
  32     struct mca_mtl_request_t super;
  33     mca_mtl_psm_request_type_t type;
  34     psm_mq_req_t psm_request;
  35     /* psm_segment_t psm_segment[1]; */
  36     void *buf;
  37     size_t length;
  38     struct opal_convertor_t *convertor;
  39     bool free_after;
  40 };
  41 typedef struct mca_mtl_psm_request_t mca_mtl_psm_request_t;
  42 
  43 #endif

/* [<][>][^][v][top][bottom][index][help] */