IB/core: Use rdma_ah_attr accessor functions
Modify core and driver components to use accessor functions introduced to access individual fields of rdma_ah_attr Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Don Hiatt <don.hiatt@intel.com> Reviewed-by: Sean Hefty <sean.hefty@intel.com> Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Este commit está contenido en:

cometido por
Doug Ledford

padre
2224c47ace
commit
d8966fcd4c
@@ -480,12 +480,12 @@ void hfi1_process_ecn_slowpath(struct rvt_qp *qp, struct hfi1_packet *pkt,
|
||||
(dlid != be16_to_cpu(IB_LID_PERMISSIVE));
|
||||
break;
|
||||
case IB_QPT_UC:
|
||||
rlid = qp->remote_ah_attr.dlid;
|
||||
rlid = rdma_ah_get_dlid(&qp->remote_ah_attr);
|
||||
rqpn = qp->remote_qpn;
|
||||
svc_type = IB_CC_SVCTYPE_UC;
|
||||
break;
|
||||
case IB_QPT_RC:
|
||||
rlid = qp->remote_ah_attr.dlid;
|
||||
rlid = rdma_ah_get_dlid(&qp->remote_ah_attr);
|
||||
rqpn = qp->remote_qpn;
|
||||
svc_type = IB_CC_SVCTYPE_RC;
|
||||
break;
|
||||
|
Referencia en una nueva incidencia
Block a user