14 #ifndef PHOTON_RDMA_LEDGER_H 15 #define PHOTON_RDMA_LEDGER_H 23 typedef struct photon_rdma_ledger_entry_t {
27 typedef struct photon_cid_recv_hdr_t {
32 typedef struct photon_cid_hdr_t {
38 typedef struct photon_cid_ledger_entry_t {
43 typedef struct photon_cid_recv_ledger_entry_t {
49 typedef struct photon_rdma_ledger_t {
65 #define PHOTON_CID_ENTRY_SIZE (sizeof(photon_cid_ledger_entry)+_photon_idsize) 66 #define PHOTON_CID_RECV_ENTRY_SIZE (sizeof(photon_cid_recv_ledger_entry)+_photon_idsize) 70 int num_entries,
int entry_size,
Convenience pointer type for the buffer structure.
volatile photon_rid request
struct photon_rdma_ledger_entry_t * photonRDMALedgerEntry
struct photon_cid_ledger_entry_t * photonCIDLedgerEntry
uint64_t photon_rid
The Photon request ID.
PHOTON_INTERNAL photonLedger photon_rdma_ledger_create_reuse(void *ledger_buffer, int num_entries, int entry_size, int prefix)
PHOTON_INTERNAL void photon_rdma_ledger_free(photonLedger ledger)
PHOTON_INTERNAL int photon_rdma_ledger_get_next(int proc, photonLedger ledger)
struct photon_rdma_ledger_t * photonLedger
struct photon_cid_recv_ledger_entry_t * photonCIDRecvLedgerEntry