.. | .. |
---|
121 | 121 | /** |
---|
122 | 122 | * struct zfcp_fc_req - Container for FC ELS and CT requests sent from zfcp |
---|
123 | 123 | * @ct_els: data required for issuing fsf command |
---|
124 | | - * @sg_req: scatterlist entry for request data |
---|
125 | | - * @sg_rsp: scatterlist entry for response data |
---|
126 | | - * @u: request specific data |
---|
| 124 | + * @sg_req: scatterlist entry for request data, refers to embedded @u submember |
---|
| 125 | + * @sg_rsp: scatterlist entry for response data, refers to embedded @u submember |
---|
| 126 | + * @u: request and response specific data |
---|
| 127 | + * @u.adisc: ADISC specific data |
---|
| 128 | + * @u.adisc.req: ADISC request |
---|
| 129 | + * @u.adisc.rsp: ADISC response |
---|
| 130 | + * @u.gid_pn: GID_PN specific data |
---|
| 131 | + * @u.gid_pn.req: GID_PN request |
---|
| 132 | + * @u.gid_pn.rsp: GID_PN response |
---|
| 133 | + * @u.gpn_ft: GPN_FT specific data |
---|
| 134 | + * @u.gpn_ft.sg_rsp2: GPN_FT response, not embedded here, allocated elsewhere |
---|
| 135 | + * @u.gpn_ft.req: GPN_FT request |
---|
| 136 | + * @u.gspn: GSPN specific data |
---|
| 137 | + * @u.gspn.req: GSPN request |
---|
| 138 | + * @u.gspn.rsp: GSPN response |
---|
| 139 | + * @u.rspn: RSPN specific data |
---|
| 140 | + * @u.rspn.req: RSPN request |
---|
| 141 | + * @u.rspn.rsp: RSPN response |
---|
127 | 142 | */ |
---|
128 | 143 | struct zfcp_fc_req { |
---|
129 | 144 | struct zfcp_fsf_ct_els ct_els; |
---|
.. | .. |
---|
170 | 185 | /** |
---|
171 | 186 | * struct zfcp_fc_wka_port - representation of well-known-address (WKA) FC port |
---|
172 | 187 | * @adapter: Pointer to adapter structure this WKA port belongs to |
---|
173 | | - * @completion_wq: Wait for completion of open/close command |
---|
| 188 | + * @opened: Wait for completion of open command |
---|
| 189 | + * @closed: Wait for completion of close command |
---|
174 | 190 | * @status: Current status of WKA port |
---|
175 | 191 | * @refcount: Reference count to keep port open as long as it is in use |
---|
176 | 192 | * @d_id: FC destination id or well-known-address |
---|
.. | .. |
---|
180 | 196 | */ |
---|
181 | 197 | struct zfcp_fc_wka_port { |
---|
182 | 198 | struct zfcp_adapter *adapter; |
---|
183 | | - wait_queue_head_t completion_wq; |
---|
| 199 | + wait_queue_head_t opened; |
---|
| 200 | + wait_queue_head_t closed; |
---|
184 | 201 | enum zfcp_fc_wka_status status; |
---|
185 | 202 | atomic_t refcount; |
---|
186 | 203 | u32 d_id; |
---|