Skip to contentSkip to conversation

qla2xxx: enable FPIN notification for NVMe

PATCH Superseded Bryan Gurney 2 participants 2 messages Jun 20, 2025 – Jun 23, 2025

Subsystems (3)

v6 of 9 Superseded Latest is v9 →

lore
Share & tools
lore
#0 lore raw

PATCH v6 5/6 qla2xxx: enable FPIN notification for NVMe

From: Hannes Reinecke <[email protected]>

Call 'nvme_fc_fpin_rcv()' to enable FPIN notifications for NVMe.

---
 drivers/scsi/qla2xxx/qla_isr.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/scsi/qla2xxx/qla_isr.c +3 -0
index fe98c76e9be3..cfe7afc905b4 100644
@@ -46,6 +46,9 @@ qla27xx_process_purex_fpin(struct scsi_qla_host *vha, struct purex_item *item)
 		       pkt, pkt_size);
 
 	fc_host_fpin_rcv(vha->host, pkt_size, (char *)pkt, 0);
+#if (IS_ENABLED(CONFIG_NVME_FC))
+	nvme_fc_fpin_rcv(vha->nvme_local_port, pkt_size, (char *)pkt);
+#endif
 }
 
 const char *const port_state_str[] = {
Signature · 1 line
2.49.0
Reviewed-by on v6 5/6
#1 lore raw
Quoted 23 lines · Bryan Gurney

From: Hannes Reinecke <[email protected]>

Call 'nvme_fc_fpin_rcv()' to enable FPIN notifications for NVMe.

---
  drivers/scsi/qla2xxx/qla_isr.c | 3 +++
  1 file changed, 3 insertions(+)
drivers/scsi/qla2xxx/qla_isr.c +3 -0
index fe98c76e9be3..cfe7afc905b4 100644
@@ -46,6 +46,9 @@ qla27xx_process_purex_fpin(struct scsi_qla_host *vha, struct purex_item *item)
  		       pkt, pkt_size);
 
  	fc_host_fpin_rcv(vha->host, pkt_size, (char *)pkt, 0);
+#if (IS_ENABLED(CONFIG_NVME_FC))
+	nvme_fc_fpin_rcv(vha->nvme_local_port, pkt_size, (char *)pkt);
+#endif
  }
 
  const char *const port_state_str[] = {