Skip to content

Commit

Permalink
prov/efa: Fix cq_data data type
Browse files Browse the repository at this point in the history
This field only corresponds to fi_cq_tagged_entry.data, which is a
uint64_t.

Signed-off-by: Darryl Abbate <drl@amazon.com>
  • Loading branch information
darrylabbate authored and shijin-aws committed Apr 26, 2024
1 parent 882113d commit 717ebc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prov/efa/src/rdm/efa_rdm_pke_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ uint32_t *efa_rdm_pke_get_req_connid_ptr(struct efa_rdm_pke *pkt_entry)
* @return
* an integer
*/
int64_t efa_rdm_pke_get_req_cq_data(struct efa_rdm_pke *pkt_entry)
uint64_t efa_rdm_pke_get_req_cq_data(struct efa_rdm_pke *pkt_entry)
{
char *opt_hdr;
struct efa_rdm_base_hdr *base_hdr;
Expand Down
2 changes: 1 addition & 1 deletion prov/efa/src/rdm/efa_rdm_pke_req.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void efa_rdm_pke_init_req_hdr_common(struct efa_rdm_pke *pkt_entry,

void *efa_rdm_pke_get_req_raw_addr(struct efa_rdm_pke *pkt_entry);

int64_t efa_rdm_pke_get_req_cq_data(struct efa_rdm_pke *pkt_entry);
uint64_t efa_rdm_pke_get_req_cq_data(struct efa_rdm_pke *pkt_entry);

uint32_t *efa_rdm_pke_get_req_connid_ptr(struct efa_rdm_pke *pkt_entry);

Expand Down
2 changes: 1 addition & 1 deletion prov/efa/src/rdm/efa_rdm_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ struct efa_rdm_req_opt_raw_addr_hdr {
};

struct efa_rdm_req_opt_cq_data_hdr {
int64_t cq_data;
uint64_t cq_data;
};

struct efa_rdm_req_opt_connid_hdr {
Expand Down

0 comments on commit 717ebc5

Please sign in to comment.