Merge branch 'for-linus' of git://neil.brown.name/md
[cascardo/linux.git] / include / scsi / libfc.h
index a3cbda4..7d96829 100644 (file)
@@ -510,6 +510,14 @@ struct libfc_function_template {
         * STATUS: OPTIONAL
         */
        int (*ddp_done)(struct fc_lport *, u16);
+       /*
+        * Sets up the DDP context for a given exchange id on the given
+        * scatterlist if LLD supports DDP for FCoE target.
+        *
+        * STATUS: OPTIONAL
+        */
+       int (*ddp_target)(struct fc_lport *, u16, struct scatterlist *,
+                         unsigned int);
        /*
         * Allow LLD to fill its own Link Error Status Block
         *