Lines Matching defs:lpfc_vport
338 struct lpfc_vport { struct
339 struct lpfc_hba *phba;
340 struct list_head listentry;
341 uint8_t port_type;
345 enum discovery_state port_state;
347 uint16_t vpi;
348 uint16_t vfi;
349 uint8_t vpi_state;
352 uint32_t fc_flag; /* FC flags */
380 uint32_t ct_flags;
387 struct list_head fc_nodes;
390 uint16_t fc_plogi_cnt;
391 uint16_t fc_adisc_cnt;
392 uint16_t fc_reglogin_cnt;
393 uint16_t fc_prli_cnt;
394 uint16_t fc_unmap_cnt;
395 uint16_t fc_map_cnt;
396 uint16_t fc_npr_cnt;
397 uint16_t fc_unused_cnt;
398 struct serv_parm fc_sparam; /* buffer for our service parameters */
400 uint32_t fc_myDID; /* fibre channel S_ID */
401 uint32_t fc_prevDID; /* previous fibre channel S_ID */
402 struct lpfc_name fabric_portname;
403 struct lpfc_name fabric_nodename;
405 int32_t stopped; /* HBA has not been restarted since last ERATT */
406 uint8_t fc_linkspeed; /* Link speed after last READ_LA */
408 uint32_t num_disc_nodes; /* in addition to hba_state */
409 uint32_t gidft_inp; /* cnt of outstanding GID_FTs */
411 uint32_t fc_nlp_cnt; /* outstanding NODELIST requests */
412 uint32_t fc_rscn_id_cnt; /* count of RSCNs payloads in list */
413 uint32_t fc_rscn_flush; /* flag use of fc_rscn_id_list */
414 struct lpfc_dmabuf *fc_rscn_id_list[FC_MAX_HOLD_RSCN];
415 struct lpfc_name fc_nodename; /* fc nodename */
416 struct lpfc_name fc_portname; /* fc portname */
418 struct lpfc_work_evt disc_timeout_evt;
420 struct timer_list fc_disctmo; /* Discovery rescue timer */
421 uint8_t fc_ns_retry; /* retries for fabric nameserver */
422 uint32_t fc_prli_sent; /* cntr for outstanding PRLIs */
424 spinlock_t work_port_lock;
425 uint32_t work_port_events; /* Timeout to be handled */
437 struct timer_list els_tmofunc;
438 struct timer_list delayed_disc_tmo;
440 int unreg_vpi_cmpl;
442 uint8_t load_flag;
447 uint32_t cfg_scan_down;
448 uint32_t cfg_lun_queue_depth;
449 uint32_t cfg_nodev_tmo;
450 uint32_t cfg_devloss_tmo;
451 uint32_t cfg_restrict_login;
452 uint32_t cfg_peer_port_login;
453 uint32_t cfg_fcp_class;
454 uint32_t cfg_use_adisc;
455 uint32_t cfg_discovery_threads;
456 uint32_t cfg_log_verbose;
457 uint32_t cfg_max_luns;
458 uint32_t cfg_enable_da_id;
459 uint32_t cfg_max_scsicmpl_time;
460 uint32_t cfg_tgt_queue_depth;
461 uint32_t cfg_first_burst_size;
462 uint32_t dev_loss_tmo_changed;
464 struct fc_vport *fc_vport;
467 struct dentry *debug_disc_trc;
468 struct dentry *debug_nodelist;
469 struct dentry *debug_nvmestat;
470 struct dentry *debug_nvmektime;
471 struct dentry *debug_cpucheck;
472 struct dentry *vport_debugfs_root;
473 struct lpfc_debugfs_trc *disc_trc;
474 atomic_t disc_trc_cnt;
476 uint8_t stat_data_enabled;
477 uint8_t stat_data_blocked;
478 struct list_head rcv_buffer_list;
479 unsigned long rcv_buffer_time_stamp;
480 uint32_t vport_flag;
485 uint16_t fdmi_num_disc;
486 uint32_t fdmi_hba_mask;
487 uint32_t fdmi_port_mask;
490 struct nvme_fc_local_port *localport;
491 uint8_t nvmei_support; /* driver supports NVME Initiator */
492 uint32_t last_fcp_wqidx;