|
@@ -3246,6 +3246,11 @@ lpfc_update_rport_devloss_tmo(struct lpfc_vport *vport)
|
|
|
continue;
|
|
continue;
|
|
|
if (ndlp->rport)
|
|
if (ndlp->rport)
|
|
|
ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo;
|
|
ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo;
|
|
|
|
|
+#if (IS_ENABLED(CONFIG_NVME_FC))
|
|
|
|
|
+ if (ndlp->nrport)
|
|
|
|
|
+ nvme_fc_set_remoteport_devloss(ndlp->nrport->remoteport,
|
|
|
|
|
+ vport->cfg_devloss_tmo);
|
|
|
|
|
+#endif
|
|
|
}
|
|
}
|
|
|
spin_unlock_irq(shost->host_lock);
|
|
spin_unlock_irq(shost->host_lock);
|
|
|
}
|
|
}
|