aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli4.h
diff options
context:
space:
mode:
authorJames Smart <james.smart@avagotech.com>2015-05-21 13:55:21 -0400
committerJames Bottomley <JBottomley@Odin.com>2015-06-06 01:34:55 -0400
commit86478875eb4d2e7108b914f8a5e53be260816d5c (patch)
tree9f97de6ec770e84e276bfd83d147243ec1428477 /drivers/scsi/lpfc/lpfc_sli4.h
parenta1efe163102fed8a3b5990a67cadb1193e630820 (diff)
lpfc: Add support for RDP ELS command.
Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com> Signed-off-by: James Smart <james.smart@avagotech.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli4.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli4.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h
index 2ce6cb58fa8d..d1a5b057c6f3 100644
--- a/drivers/scsi/lpfc/lpfc_sli4.h
+++ b/drivers/scsi/lpfc/lpfc_sli4.h
@@ -652,6 +652,16 @@ struct lpfc_rsrc_blks {
652 uint16_t rsrc_used; 652 uint16_t rsrc_used;
653}; 653};
654 654
655struct lpfc_rdp_context {
656 struct lpfc_nodelist *ndlp;
657 uint16_t ox_id;
658 uint16_t rx_id;
659 READ_LNK_VAR link_stat;
660 uint8_t page_a0[DMP_SFF_PAGE_A0_SIZE];
661 uint8_t page_a2[DMP_SFF_PAGE_A2_SIZE];
662 void (*cmpl)(struct lpfc_hba *, struct lpfc_rdp_context*, int);
663};
664
655struct lpfc_lcb_context { 665struct lpfc_lcb_context {
656 uint8_t sub_command; 666 uint8_t sub_command;
657 uint8_t type; 667 uint8_t type;