30 #define PHOTON_OK 0x0000 31 #define PHOTON_ERROR_NOINIT 0x0001 32 #define PHOTON_ERROR 0x0002 33 #define PHOTON_ERROR_RESOURCE 0x0004 35 #define PHOTON_EXCH_TCP 0x0000 36 #define PHOTON_EXCH_MPI 0x0001 37 #define PHOTON_EXCH_PMI 0x0002 38 #define PHOTON_EXCH_XSP 0x0004 39 #define PHOTON_EXCH_EXTERNAL 0x0008 41 #define PHOTON_REQ_NIL 0x0000 42 #define PHOTON_REQ_COMPLETED 0x0001 43 #define PHOTON_REQ_PWC_NO_LCE 0x0002 44 #define PHOTON_REQ_PWC_NO_RCE 0x0004 45 #define PHOTON_REQ_SHUTDOWN 0x0008 47 #define PHOTON_PROBE_ANY 0xffff 48 #define PHOTON_PROBE_EVQ 0x0001 49 #define PHOTON_PROBE_LEDGER 0x0002 50 #define PHOTON_PROBE_SLEDGER 0x0004 51 #define PHOTON_PROBE_RLEDGER 0x0008 53 #define PHOTON_ANY_TAG -1 54 #define PHOTON_ANY_SOURCE -1 55 #define PHOTON_ANY_SIZE -1 57 typedef union photon_addr_t {
88 union photon_addr_t src_addr;
Convenience pointer type for the buffer structure.
uint32_t size
Size 0 indicates u64 field is used, otherwise data pointer is used.
The Photon completion ID used by the PWC API.
uint64_t photon_rid
The Photon request ID.
union photon_addr_t * photonAddr
Convenience pointer type for the address union.
void * data
Pointer to user-defined completion ID data.
uint64_t size
The size of the buffer in bytes.
uint64_t u64
Unsigned 64b representation of the ID.
Convenience pointer type for the private buffer structure.
Status for Photon requests returned by the RNDV API.
uintptr_t addr
The base address of the buffer.