diff --git a/prov/efa/src/efa_base_ep.h b/prov/efa/src/efa_base_ep.h index a7d1526919e..37a9a5924a8 100644 --- a/prov/efa/src/efa_base_ep.h +++ b/prov/efa/src/efa_base_ep.h @@ -27,6 +27,18 @@ struct efa_qp { uint32_t qkey; }; +#define EFA_GID_LEN 16 + +struct efa_ep_addr { + uint8_t raw[EFA_GID_LEN]; + uint16_t qpn; + uint16_t pad; + uint32_t qkey; + struct efa_ep_addr *next; +}; + +#define EFA_EP_ADDR_LEN sizeof(struct efa_ep_addr) + struct efa_av; struct efa_recv_wr { diff --git a/prov/efa/src/rdm/efa_rdm_protocol.h b/prov/efa/src/rdm/efa_rdm_protocol.h index 8840ce5f401..05fe40fd36a 100644 --- a/prov/efa/src/rdm/efa_rdm_protocol.h +++ b/prov/efa/src/rdm/efa_rdm_protocol.h @@ -16,18 +16,7 @@ #define EFA_RDM_PROTOCOL_VERSION (4) -/* raw address format. (section 1.4) */ -#define EFA_GID_LEN 16 -struct efa_ep_addr { - uint8_t raw[EFA_GID_LEN]; - uint16_t qpn; - uint16_t pad; - uint32_t qkey; - struct efa_ep_addr *next; -}; - -#define EFA_EP_ADDR_LEN sizeof(struct efa_ep_addr) /* * Extra Feature/Request Flags (section 2.1)