|
@@ -2910,8 +2910,8 @@ static void qib_setup_7322_cleanup(struct qib_devdata *dd)
|
|
spin_unlock_irqrestore(&dd->cspec->gpio_lock, flags);
|
|
spin_unlock_irqrestore(&dd->cspec->gpio_lock, flags);
|
|
qib_qsfp_deinit(&dd->pport[i].cpspec->qsfp_data);
|
|
qib_qsfp_deinit(&dd->pport[i].cpspec->qsfp_data);
|
|
}
|
|
}
|
|
- if (dd->pport[i].ibport_data.rvp.smi_ah)
|
|
|
|
- ib_destroy_ah(&dd->pport[i].ibport_data.rvp.smi_ah->ibah);
|
|
|
|
|
|
+ if (dd->pport[i].ibport_data.smi_ah)
|
|
|
|
+ ib_destroy_ah(&dd->pport[i].ibport_data.smi_ah->ibah);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -5507,7 +5507,7 @@ static void try_7322_ipg(struct qib_pportdata *ppd)
|
|
if (IS_ERR(send_buf))
|
|
if (IS_ERR(send_buf))
|
|
goto retry;
|
|
goto retry;
|
|
|
|
|
|
- if (!ibp->rvp.smi_ah) {
|
|
|
|
|
|
+ if (!ibp->smi_ah) {
|
|
struct ib_ah *ah;
|
|
struct ib_ah *ah;
|
|
|
|
|
|
ah = qib_create_qp0_ah(ibp, be16_to_cpu(IB_LID_PERMISSIVE));
|
|
ah = qib_create_qp0_ah(ibp, be16_to_cpu(IB_LID_PERMISSIVE));
|
|
@@ -5515,11 +5515,11 @@ static void try_7322_ipg(struct qib_pportdata *ppd)
|
|
ret = PTR_ERR(ah);
|
|
ret = PTR_ERR(ah);
|
|
else {
|
|
else {
|
|
send_buf->ah = ah;
|
|
send_buf->ah = ah;
|
|
- ibp->rvp.smi_ah = ibah_to_rvtah(ah);
|
|
|
|
|
|
+ ibp->smi_ah = ibah_to_rvtah(ah);
|
|
ret = 0;
|
|
ret = 0;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- send_buf->ah = &ibp->rvp.smi_ah->ibah;
|
|
|
|
|
|
+ send_buf->ah = &ibp->smi_ah->ibah;
|
|
ret = 0;
|
|
ret = 0;
|
|
}
|
|
}
|
|
|
|
|