IB/qib: Remove ibport and use rdmavt version
Remove several ibport members from qib and use the rdmavt version. rc_acks, rc_qacks, and rc_delayed_comp are defined as per CPU variables in rdmavt. Add support for these rdmavt per CPU variables which were not per cpu variables in qib ibport structure. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Harish Chegondi <harish.chegondi@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
这个提交包含在:
@@ -379,7 +379,7 @@ static u32 qib_rcv_hdrerr(struct qib_ctxtdata *rcd, struct qib_pportdata *ppd,
|
||||
/* Check for valid receive state. */
|
||||
if (!(ib_qib_state_ops[qp->state] &
|
||||
QIB_PROCESS_RECV_OK)) {
|
||||
ibp->n_pkt_drops++;
|
||||
ibp->rvp.n_pkt_drops++;
|
||||
goto unlock;
|
||||
}
|
||||
|
||||
@@ -399,7 +399,7 @@ static u32 qib_rcv_hdrerr(struct qib_ctxtdata *rcd, struct qib_pportdata *ppd,
|
||||
IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST) {
|
||||
diff = qib_cmp24(psn, qp->r_psn);
|
||||
if (!qp->r_nak_state && diff >= 0) {
|
||||
ibp->n_rc_seqnak++;
|
||||
ibp->rvp.n_rc_seqnak++;
|
||||
qp->r_nak_state =
|
||||
IB_NAK_PSN_ERROR;
|
||||
/* Use the expected PSN. */
|
||||
|
在新工单中引用
屏蔽一个用户