Skip to content

Commit

Permalink
prov/efa: Return -FI_EINVAL when fi_cq_open() fails
Browse files Browse the repository at this point in the history
Signed-off-by: Darryl Abbate <[email protected]>
  • Loading branch information
darrylabbate authored and j-xiong committed Mar 21, 2024
1 parent bd891fc commit 87a1006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/efa/src/efa_cq.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static inline int efa_cq_ibv_cq_ex_open_with_ibv_create_cq_ex(

if (!*ibv_cq_ex) {
EFA_WARN(FI_LOG_CQ, "Unable to create extended CQ: %s\n", strerror(errno));
return -FI_ENOCQ;
return -FI_EINVAL;
}

*ibv_cq_ex_type = IBV_CQ;
Expand Down

0 comments on commit 87a1006

Please sign in to comment.