]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/nvme-fc-driver.h
Merge tag 'm68k-for-v5.3-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert...
[linux.git] / include / linux / nvme-fc-driver.h
index c48e96436f563f0034cfaa897d7150a4a9692322..98d904961b335dbbefdf3899c788795c8a70ff8c 100644 (file)
@@ -791,6 +791,11 @@ struct nvmet_fc_target_port {
  *       nvmefc_tgt_fcp_req.
  *       Entrypoint is Optional.
  *
+ * @discovery_event:  Called by the transport to generate an RSCN
+ *       change notifications to NVME initiators. The RSCN notifications
+ *       should cause the initiator to rescan the discovery controller
+ *       on the targetport.
+ *
  * @max_hw_queues:  indicates the maximum number of hw queues the LLDD
  *       supports for cpu affinitization.
  *       Value is Mandatory. Must be at least 1.
@@ -832,6 +837,7 @@ struct nvmet_fc_target_template {
                                struct nvmefc_tgt_fcp_req *fcpreq);
        void (*defer_rcv)(struct nvmet_fc_target_port *tgtport,
                                struct nvmefc_tgt_fcp_req *fcpreq);
+       void (*discovery_event)(struct nvmet_fc_target_port *tgtport);
 
        u32     max_hw_queues;
        u16     max_sgl_segments;