mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 13:42:05 +07:00
IB/cma: pass the port number to ib_create_qp
The new RW API will need this. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Tested-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
321aebb880
commit
0691a286d5
@ -800,6 +800,7 @@ int rdma_create_qp(struct rdma_cm_id *id, struct ib_pd *pd,
|
||||
if (id->device != pd->device)
|
||||
return -EINVAL;
|
||||
|
||||
qp_init_attr->port_num = id->port_num;
|
||||
qp = ib_create_qp(pd, qp_init_attr);
|
||||
if (IS_ERR(qp))
|
||||
return PTR_ERR(qp);
|
||||
|
Loading…
Reference in New Issue
Block a user