OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Macros | Typedefs
pml_bfo_hdr.h File Reference
`#include "ompi_config.h"`
`#include "opal/types.h"`
`#include "opal/util/arch.h"`
`#include "ompi/mca/btl/btl.h"`
`#include "ompi/proc/proc.h"`

Go to the source code of this file.

## Data Structures
struct | mca_pml_bfo_common_hdr_t
| Common hdr attributes - must be first element in each hdr type. More...
struct | mca_pml_bfo_match_hdr_t
| Header definition for the first fragment, contains the attributes required to match the corresponding posted receive. More...
struct | mca_pml_bfo_rendezvous_hdr_t
| Header definition for the first fragment when an acknowledgment is required. More...
struct | mca_pml_bfo_rget_hdr_t
| Header definition for a combined rdma rendezvous/get. More...
struct | mca_pml_bfo_frag_hdr_t
| Header for subsequent fragments. More...
struct | mca_pml_bfo_ack_hdr_t
| Header used to acknowledgment outstanding fragment(s). More...
struct | mca_pml_bfo_rdma_hdr_t
| Header used to initiate an RDMA operation. More...
struct | mca_pml_bfo_fin_hdr_t
| Header used to complete an RDMA operation. More...
union | mca_pml_bfo_hdr_t
| Union of defined hdr types. More...

## Macros
#define | MCA_PML_BFO_HDR_TYPE_MATCH (MCA_BTL_TAG_PML + 1)
#define | MCA_PML_BFO_HDR_TYPE_RNDV (MCA_BTL_TAG_PML + 2)
#define | MCA_PML_BFO_HDR_TYPE_RGET (MCA_BTL_TAG_PML + 3)
#define | MCA_PML_BFO_HDR_TYPE_ACK (MCA_BTL_TAG_PML + 4)
#define | MCA_PML_BFO_HDR_TYPE_NACK (MCA_BTL_TAG_PML + 5)
#define | MCA_PML_BFO_HDR_TYPE_FRAG (MCA_BTL_TAG_PML + 6)
#define | MCA_PML_BFO_HDR_TYPE_GET (MCA_BTL_TAG_PML + 7)
#define | MCA_PML_BFO_HDR_TYPE_PUT (MCA_BTL_TAG_PML + 8)
#define | MCA_PML_BFO_HDR_TYPE_FIN (MCA_BTL_TAG_PML + 9)
#define | MCA_PML_BFO_HDR_FLAGS_ACK 1 /* is an ack required */
#define | MCA_PML_BFO_HDR_FLAGS_NBO 2 /* is the hdr in network byte order */
#define | MCA_PML_BFO_HDR_FLAGS_PIN 4 /* is user buffer pinned */
#define | MCA_PML_BFO_HDR_FLAGS_CONTIG 8 /* is user buffer contiguous */
#define | MCA_PML_BFO_HDR_FLAGS_NORDMA 16 /* rest will be send by copy-in-out */
#define | MCA_PML_BFO_COMMON_HDR_NTOH(h)
#define | MCA_PML_BFO_COMMON_HDR_HTON(h)
#define | OMPI_PML_BFO_MATCH_HDR_LEN 14
#define | MCA_PML_BFO_MATCH_HDR_FILL(h)
#define | MCA_PML_BFO_MATCH_HDR_NTOH(h)
#define | MCA_PML_BFO_MATCH_HDR_HTON(h)
#define | MCA_PML_BFO_RNDV_HDR_FILL(h)
#define | MCA_PML_BFO_RNDV_HDR_NTOH(h)
#define | MCA_PML_BFO_RNDV_HDR_HTON(h)
#define | MCA_PML_BFO_RGET_HDR_FILL(h)
#define | MCA_PML_BFO_RGET_HDR_NTOH(h)
#define | MCA_PML_BFO_RGET_HDR_HTON(h)
#define | MCA_PML_BFO_FRAG_HDR_FILL(h)
#define | MCA_PML_BFO_FRAG_HDR_NTOH(h)
#define | MCA_PML_BFO_FRAG_HDR_HTON(h)
#define | MCA_PML_BFO_ACK_HDR_FILL(h)
#define | MCA_PML_BFO_ACK_HDR_NTOH(h)
#define | MCA_PML_BFO_ACK_HDR_HTON(h)
#define | MCA_PML_BFO_RDMA_HDR_FILL(h)
#define | MCA_PML_BFO_RDMA_HDR_NTOH(h)
#define | MCA_PML_BFO_RDMA_HDR_HTON(h)
#define | MCA_PML_BFO_FIN_HDR_FILL(h)
#define | MCA_PML_BFO_FIN_HDR_NTOH(h)
#define | MCA_PML_BFO_FIN_HDR_HTON(h)
#define | bfo_hdr_ntoh(h, t) do{}while(0)
#define | bfo_hdr_hton(h, t, p) do{}while(0)

## Typedefs
typedef struct mca_pml_bfo_common_hdr_t | mca_pml_bfo_common_hdr_t
typedef struct mca_pml_bfo_match_hdr_t | mca_pml_bfo_match_hdr_t
typedef struct mca_pml_bfo_rendezvous_hdr_t | mca_pml_bfo_rendezvous_hdr_t
typedef struct mca_pml_bfo_rget_hdr_t | mca_pml_bfo_rget_hdr_t
typedef struct mca_pml_bfo_frag_hdr_t | mca_pml_bfo_frag_hdr_t
typedef struct mca_pml_bfo_ack_hdr_t | mca_pml_bfo_ack_hdr_t
typedef struct mca_pml_bfo_rdma_hdr_t | mca_pml_bfo_rdma_hdr_t
typedef struct mca_pml_bfo_fin_hdr_t | mca_pml_bfo_fin_hdr_t
typedef union mca_pml_bfo_hdr_t | mca_pml_bfo_hdr_t

## Macro Definition Documentation

#define MCA_PML_BFO_ACK_HDR_HTON | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_HTON((h).hdr_common); \
MCA_PML_BFO_ACK_HDR_FILL(h); \
(h).hdr_send_offset = hton64((h).hdr_send_offset); \
} while (0)

#define MCA_PML_BFO_ACK_HDR_NTOH | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_NTOH((h).hdr_common); \
(h).hdr_send_offset = ntoh64((h).hdr_send_offset); \
} while (0)

#define MCA_PML_BFO_FIN_HDR_HTON | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_HTON((h).hdr_common); \
MCA_PML_BFO_FIN_HDR_FILL(h); \
} while (0)

#define MCA_PML_BFO_FIN_HDR_NTOH | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_NTOH((h).hdr_common); \
} while (0)

#define MCA_PML_BFO_FRAG_HDR_HTON | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_HTON((h).hdr_common); \
MCA_PML_BFO_FRAG_HDR_FILL(h); \
(h).hdr_frag_offset = hton64((h).hdr_frag_offset); \
} while (0)

#define MCA_PML_BFO_FRAG_HDR_NTOH | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_NTOH((h).hdr_common); \
(h).hdr_frag_offset = ntoh64((h).hdr_frag_offset); \
} while (0)

#define MCA_PML_BFO_MATCH_HDR_HTON | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_HTON((h).hdr_common); \
MCA_PML_BFO_MATCH_HDR_FILL(h); \
(h).hdr_ctx = htons((h).hdr_ctx); \
(h).hdr_src = htonl((h).hdr_src); \
(h).hdr_tag = htonl((h).hdr_tag); \
(h).hdr_seq = htons((h).hdr_seq); \
} while (0)

#define MCA_PML_BFO_MATCH_HDR_NTOH | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_NTOH((h).hdr_common); \
(h).hdr_ctx = ntohs((h).hdr_ctx); \
(h).hdr_src = ntohl((h).hdr_src); \
(h).hdr_tag = ntohl((h).hdr_tag); \
(h).hdr_seq = ntohs((h).hdr_seq); \
} while (0)

#define MCA_PML_BFO_RDMA_HDR_HTON | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_HTON((h).hdr_common); \
MCA_PML_BFO_RDMA_HDR_FILL(h); \
(h).hdr_seg_cnt = htonl((h).hdr_seg_cnt); \
(h).hdr_rdma_offset = hton64((h).hdr_rdma_offset); \
} while (0)

#define MCA_PML_BFO_RDMA_HDR_NTOH | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_COMMON_HDR_NTOH((h).hdr_common); \
(h).hdr_seg_cnt = ntohl((h).hdr_seg_cnt); \
(h).hdr_rdma_offset = ntoh64((h).hdr_rdma_offset); \
} while (0)

#define MCA_PML_BFO_RGET_HDR_HTON | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_RNDV_HDR_HTON((h).hdr_rndv); \
MCA_PML_BFO_RGET_HDR_FILL(h); \
(h).hdr_seg_cnt = htonl((h).hdr_seg_cnt); \
} while (0)

#define MCA_PML_BFO_RGET_HDR_NTOH | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_RNDV_HDR_NTOH((h).hdr_rndv); \
(h).hdr_seg_cnt = ntohl((h).hdr_seg_cnt); \
} while (0)

#define MCA_PML_BFO_RNDV_HDR_HTON | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_MATCH_HDR_HTON((h).hdr_match); \
MCA_PML_BFO_RNDV_HDR_FILL(h); \
(h).hdr_msg_length = hton64((h).hdr_msg_length); \
} while (0)

#define MCA_PML_BFO_RNDV_HDR_NTOH | ( |  | h | ) |

Value:
do { \
MCA_PML_BFO_MATCH_HDR_NTOH((h).hdr_match); \
(h).hdr_msg_length = ntoh64((h).hdr_msg_length); \
} while (0)