Skip to content

Commit

Permalink
Merge pull request #779 from amzn/qp-ex-notsupp-pr
Browse files Browse the repository at this point in the history
efa: Update correct errno return on create extended QP function
  • Loading branch information
jgunthorpe committed Jun 22, 2020
2 parents 9fc7152 + adfff41 commit f18feb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/efa/verbs.c
Expand Up @@ -927,7 +927,7 @@ struct ibv_qp *efa_create_qp_ex(struct ibv_context *ibvctx,
struct ibv_qp_init_attr_ex *attr_ex)
{
if (attr_ex->qp_type != IBV_QPT_UD) {
errno = EINVAL;
errno = EOPNOTSUPP;
return NULL;
}

Expand Down

0 comments on commit f18feb6

Please sign in to comment.