Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prov/efa: Move struct efa_ep_addr to efa_base_ep #10702

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions prov/efa/src/efa_base_ep.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
11 changes: 0 additions & 11 deletions prov/efa/src/rdm/efa_rdm_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading