root/opal/mca/btl/vader/btl_vader_knem.h

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

INCLUDED FROM


   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
   2 /*
   3  * Copyright (c) 2014-2015 Los Alamos National Security, LLC. All rights
   4  *                         reserved.
   5  * $COPYRIGHT$
   6  *
   7  * Additional copyrights may follow
   8  *
   9  * $HEADER$
  10  */
  11 
  12 #if !defined(BTL_VADER_KNEM_H)
  13 #define BTL_VADER_KNEM_H
  14 
  15 #if OPAL_BTL_VADER_HAVE_KNEM
  16 
  17 #include <knem_io.h>
  18 #include <sys/mman.h>
  19 
  20 /* At this time only knem requires a registration of "RDMA" buffers */
  21 struct mca_btl_base_registration_handle_t {
  22     uint64_t cookie;
  23     intptr_t base_addr;
  24 };
  25 
  26 struct mca_btl_vader_registration_handle_t {
  27     mca_rcache_base_registration_t base;
  28     mca_btl_base_registration_handle_t btl_handle;
  29 };
  30 typedef struct mca_btl_vader_registration_handle_t mca_btl_vader_registration_handle_t;
  31 
  32 int mca_btl_vader_knem_init (void);
  33 int mca_btl_vader_knem_fini (void);
  34 int mca_btl_vader_knem_progress (void);
  35 
  36 #endif /* OPAL_BTL_VADER_HAVE_KNEM */
  37 
  38 #endif /* defined(BTL_VADER_KNEM_H) */

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