aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfad_drv.h
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2010-07-08 22:46:26 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 13:04:04 -0400
commitd9883548a0b0afec4786e6c5cd8d03d43a30b779 (patch)
treed7ec50fa682ef49063c80f8d77ca85a4fa38b052 /drivers/scsi/bfa/bfad_drv.h
parented96932470e4ca3aab29518a748dc1162853b456 (diff)
[SCSI] bfa: PBC vport create
This patch enables creating PBC vport. During fcs init, fcs will read PBC vport using bfa iocfc API and invoke fcb callback to add the pbc vport entries into a list. The pbc vport list will be traversed in the subsequent pci probe process and vport will be created using fc transport provided vport create function. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfad_drv.h')
-rw-r--r--drivers/scsi/bfa/bfad_drv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfad_drv.h b/drivers/scsi/bfa/bfad_drv.h
index 6c920c1b53a4..2b58b29fe303 100644
--- a/drivers/scsi/bfa/bfad_drv.h
+++ b/drivers/scsi/bfa/bfad_drv.h
@@ -120,6 +120,8 @@ struct bfad_vport_s {
120 struct bfad_port_s drv_port; 120 struct bfad_port_s drv_port;
121 struct bfa_fcs_vport_s fcs_vport; 121 struct bfa_fcs_vport_s fcs_vport;
122 struct completion *comp_del; 122 struct completion *comp_del;
123 struct list_head list_entry;
124 struct bfa_port_cfg_s port_cfg;
123}; 125};
124 126
125/* 127/*
@@ -195,6 +197,12 @@ struct bfad_s {
195 bfa_boolean_t ipfc_enabled; 197 bfa_boolean_t ipfc_enabled;
196 union bfad_tmp_buf tmp_buf; 198 union bfad_tmp_buf tmp_buf;
197 struct fc_host_statistics link_stats; 199 struct fc_host_statistics link_stats;
200 struct list_head pbc_pcfg_list;
201};
202
203struct bfad_pcfg_s {
204 struct list_head list_entry;
205 struct bfa_port_cfg_s port_cfg;
198}; 206};
199 207
200/* 208/*