photon  1.1
Data Fields
photonBackend Struct Reference

#include <photon_backend.h>

Data Fields

photon_backend_attrattr
 
void * context
 
int(* initialized )(void)
 
int(* init )(photonConfig cfg, ProcessInfo *info)
 
int(* finalize )(void)
 
int(* connect )(void *local_ci, void *remote_ci, int pindex, void **ret_ci, int *ret_len, photon_connect_mode_t)
 
int(* get_info )(ProcessInfo *pi, int proc, void **info, int *size, photon_info_t type)
 
int(* set_info )(ProcessInfo *pi, int proc, void *info, int size, photon_info_t type)
 
int(* get_dev_addr )(int af, photonAddr addr)
 
int(* get_dev_name )(char **ib_dev)
 
int(* register_addr )(photonAddr addr, int af)
 
int(* unregister_addr )(photonAddr addr, int af)
 
int(* rdma_put )(int proc, uintptr_t laddr, uintptr_t raddr, uint64_t size, photonBuffer lbuf, photonBuffer rbuf, uint64_t id, uint64_t imm, int flags)
 
int(* rdma_get )(int proc, uintptr_t laddr, uintptr_t raddr, uint64_t size, photonBuffer lbuf, photonBuffer rbuf, uint64_t id, int flags)
 
int(* rdma_send )(photonAddr addr, uintptr_t laddr, uint64_t size, photonBuffer lbuf, uint64_t id, uint64_t imm, int flags)
 
int(* rdma_recv )(photonAddr addr, uintptr_t laddr, uint64_t size, photonBuffer lbuf, uint64_t id, int flags)
 
int(* tx_size_left )(int proc)
 
int(* rx_size_left )(int proc)
 
int(* get_event )(int proc, int max, photon_rid *ids, int *n)
 
int(* get_revent )(int proc, int max, photon_rid *ids, uint64_t *imms, int *n)
 

Detailed Description

Definition at line 132 of file photon_backend.h.

Field Documentation

◆ attr

photon_backend_attr* photonBackend::attr

Definition at line 133 of file photon_backend.h.

◆ connect

int(* photonBackend::connect) (void *local_ci, void *remote_ci, int pindex, void **ret_ci, int *ret_len, photon_connect_mode_t)

Definition at line 138 of file photon_backend.h.

◆ context

void* photonBackend::context

Definition at line 134 of file photon_backend.h.

◆ finalize

int(* photonBackend::finalize) (void)

Definition at line 137 of file photon_backend.h.

◆ get_dev_addr

int(* photonBackend::get_dev_addr) (int af, photonAddr addr)

Definition at line 142 of file photon_backend.h.

◆ get_dev_name

int(* photonBackend::get_dev_name) (char **ib_dev)

Definition at line 143 of file photon_backend.h.

◆ get_event

int(* photonBackend::get_event) (int proc, int max, photon_rid *ids, int *n)

Definition at line 156 of file photon_backend.h.

◆ get_info

int(* photonBackend::get_info) (ProcessInfo *pi, int proc, void **info, int *size, photon_info_t type)

Definition at line 140 of file photon_backend.h.

◆ get_revent

int(* photonBackend::get_revent) (int proc, int max, photon_rid *ids, uint64_t *imms, int *n)

Definition at line 157 of file photon_backend.h.

◆ init

int(* photonBackend::init) (photonConfig cfg, ProcessInfo *info)

Definition at line 136 of file photon_backend.h.

◆ initialized

int(* photonBackend::initialized) (void)

Definition at line 135 of file photon_backend.h.

◆ rdma_get

int(* photonBackend::rdma_get) (int proc, uintptr_t laddr, uintptr_t raddr, uint64_t size, photonBuffer lbuf, photonBuffer rbuf, uint64_t id, int flags)

Definition at line 148 of file photon_backend.h.

◆ rdma_put

int(* photonBackend::rdma_put) (int proc, uintptr_t laddr, uintptr_t raddr, uint64_t size, photonBuffer lbuf, photonBuffer rbuf, uint64_t id, uint64_t imm, int flags)

Definition at line 146 of file photon_backend.h.

◆ rdma_recv

int(* photonBackend::rdma_recv) (photonAddr addr, uintptr_t laddr, uint64_t size, photonBuffer lbuf, uint64_t id, int flags)

Definition at line 152 of file photon_backend.h.

◆ rdma_send

int(* photonBackend::rdma_send) (photonAddr addr, uintptr_t laddr, uint64_t size, photonBuffer lbuf, uint64_t id, uint64_t imm, int flags)

Definition at line 150 of file photon_backend.h.

◆ register_addr

int(* photonBackend::register_addr) (photonAddr addr, int af)

Definition at line 144 of file photon_backend.h.

◆ rx_size_left

int(* photonBackend::rx_size_left) (int proc)

Definition at line 155 of file photon_backend.h.

◆ set_info

int(* photonBackend::set_info) (ProcessInfo *pi, int proc, void *info, int size, photon_info_t type)

Definition at line 141 of file photon_backend.h.

◆ tx_size_left

int(* photonBackend::tx_size_left) (int proc)

Definition at line 154 of file photon_backend.h.

◆ unregister_addr

int(* photonBackend::unregister_addr) (photonAddr addr, int af)

Definition at line 145 of file photon_backend.h.


The documentation for this struct was generated from the following file: