Skip to content

Commit

Permalink
scsi: lpfc: NVME Initiator: Merge into FC discovery
Browse files Browse the repository at this point in the history
NVME Initiator: Merge into FC discovery

Adds NVME PRLI support and Nameserver registrations and Queries for NVME

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
James Smart authored and Martin K. Petersen committed Feb 22, 2017
1 parent 895427b commit a0f2d3e
Show file tree
Hide file tree
Showing 10 changed files with 851 additions and 279 deletions.
6 changes: 4 additions & 2 deletions drivers/scsi/lpfc/lpfc.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ struct perf_prof {
uint16_t wqidx[40];
};

#define LPFC_FC4_TYPE_BITMASK 0x00000100

/* Provide DMA memory definitions the driver uses per port instance. */
struct lpfc_dmabuf {
struct list_head list;
Expand Down Expand Up @@ -390,7 +392,8 @@ struct lpfc_vport {
int32_t stopped; /* HBA has not been restarted since last ERATT */
uint8_t fc_linkspeed; /* Link speed after last READ_LA */

uint32_t num_disc_nodes; /*in addition to hba_state */
uint32_t num_disc_nodes; /* in addition to hba_state */
uint32_t gidft_inp; /* cnt of outstanding GID_FTs */

uint32_t fc_nlp_cnt; /* outstanding NODELIST requests */
uint32_t fc_rscn_id_cnt; /* count of RSCNs payloads in list */
Expand Down Expand Up @@ -443,7 +446,6 @@ struct lpfc_vport {
uint32_t cfg_max_scsicmpl_time;
uint32_t cfg_tgt_queue_depth;
uint32_t cfg_first_burst_size;

uint32_t dev_loss_tmo_changed;

struct fc_vport *fc_vport;
Expand Down
Loading

0 comments on commit a0f2d3e

Please sign in to comment.