root/ompi/mca/mtl/psm2/mtl_psm2_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 (c) 2015      Intel, Inc. All rights reserved
  14  * $COPYRIGHT$
  15  *
  16  * Additional copyrights may follow
  17  *
  18  * $HEADER$
  19  */
  20 
  21 #ifndef OMPI_MTL_PSM2_REQUEST_H
  22 #define OMPI_MTL_PSM2_REQUEST_H
  23 
  24 #include "opal/datatype/opal_convertor.h"
  25 
  26 
  27 typedef enum {
  28     OMPI_mtl_psm2_ISEND,
  29     OMPI_mtl_psm2_IRECV
  30 } mca_mtl_psm2_request_type_t;
  31 
  32 struct mca_mtl_psm2_request_t {
  33     struct mca_mtl_request_t super;
  34     mca_mtl_psm2_request_type_t type;
  35     psm2_mq_req_t psm2_request;
  36     /* psm2_segment_t psm2_segment[1]; */
  37     void *buf;
  38     size_t length;
  39     struct opal_convertor_t *convertor;
  40     bool free_after;
  41 };
  42 typedef struct mca_mtl_psm2_request_t mca_mtl_psm2_request_t;
  43 
  44 #endif

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