diff options
Diffstat (limited to 'drivers/scsi/bfa/include/bfa_svc.h')
-rw-r--r-- | drivers/scsi/bfa/include/bfa_svc.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/drivers/scsi/bfa/include/bfa_svc.h b/drivers/scsi/bfa/include/bfa_svc.h index f2c30858900b..1349b99a3c6d 100644 --- a/drivers/scsi/bfa/include/bfa_svc.h +++ b/drivers/scsi/bfa/include/bfa_svc.h | |||
@@ -36,7 +36,7 @@ struct bfa_fcxp_s; | |||
36 | struct bfa_rport_info_s { | 36 | struct bfa_rport_info_s { |
37 | u16 max_frmsz; /* max rcv pdu size */ | 37 | u16 max_frmsz; /* max rcv pdu size */ |
38 | u32 pid:24, /* remote port ID */ | 38 | u32 pid:24, /* remote port ID */ |
39 | lp_tag:8; | 39 | lp_tag:8; /* tag */ |
40 | u32 local_pid:24, /* local port ID */ | 40 | u32 local_pid:24, /* local port ID */ |
41 | cisc:8; /* CIRO supported */ | 41 | cisc:8; /* CIRO supported */ |
42 | u8 fc_class; /* supported FC classes. enum fc_cos */ | 42 | u8 fc_class; /* supported FC classes. enum fc_cos */ |
@@ -55,7 +55,7 @@ struct bfa_rport_s { | |||
55 | void *rport_drv; /* fcs/driver rport object */ | 55 | void *rport_drv; /* fcs/driver rport object */ |
56 | u16 fw_handle; /* firmware rport handle */ | 56 | u16 fw_handle; /* firmware rport handle */ |
57 | u16 rport_tag; /* BFA rport tag */ | 57 | u16 rport_tag; /* BFA rport tag */ |
58 | struct bfa_rport_info_s rport_info; /* rport info from *fcs/driver */ | 58 | struct bfa_rport_info_s rport_info; /* rport info from fcs/driver */ |
59 | struct bfa_reqq_wait_s reqq_wait; /* to wait for room in reqq */ | 59 | struct bfa_reqq_wait_s reqq_wait; /* to wait for room in reqq */ |
60 | struct bfa_cb_qe_s hcb_qe; /* BFA callback qelem */ | 60 | struct bfa_cb_qe_s hcb_qe; /* BFA callback qelem */ |
61 | struct bfa_rport_hal_stats_s stats; /* BFA rport statistics */ | 61 | struct bfa_rport_hal_stats_s stats; /* BFA rport statistics */ |
@@ -102,7 +102,7 @@ struct bfa_uf_buf_s { | |||
102 | struct bfa_uf_s { | 102 | struct bfa_uf_s { |
103 | struct list_head qe; /* queue element */ | 103 | struct list_head qe; /* queue element */ |
104 | struct bfa_s *bfa; /* bfa instance */ | 104 | struct bfa_s *bfa; /* bfa instance */ |
105 | u16 uf_tag; /* identifying tag f/w messages */ | 105 | u16 uf_tag; /* identifying tag fw msgs */ |
106 | u16 vf_id; | 106 | u16 vf_id; |
107 | u16 src_rport_handle; | 107 | u16 src_rport_handle; |
108 | u16 rsvd; | 108 | u16 rsvd; |
@@ -128,7 +128,7 @@ struct bfa_lps_s { | |||
128 | u8 reqq; /* lport request queue */ | 128 | u8 reqq; /* lport request queue */ |
129 | u8 alpa; /* ALPA for loop topologies */ | 129 | u8 alpa; /* ALPA for loop topologies */ |
130 | u32 lp_pid; /* lport port ID */ | 130 | u32 lp_pid; /* lport port ID */ |
131 | bfa_boolean_t fdisc; /* send FDISC instead of FLOGI*/ | 131 | bfa_boolean_t fdisc; /* send FDISC instead of FLOGI */ |
132 | bfa_boolean_t auth_en; /* enable authentication */ | 132 | bfa_boolean_t auth_en; /* enable authentication */ |
133 | bfa_boolean_t auth_req; /* authentication required */ | 133 | bfa_boolean_t auth_req; /* authentication required */ |
134 | bfa_boolean_t npiv_en; /* NPIV is allowed by peer */ | 134 | bfa_boolean_t npiv_en; /* NPIV is allowed by peer */ |
@@ -178,11 +178,6 @@ bfa_status_t bfa_fcport_trunk_disable(struct bfa_s *bfa); | |||
178 | bfa_boolean_t bfa_fcport_trunk_query(struct bfa_s *bfa, u32 *bitmap); | 178 | bfa_boolean_t bfa_fcport_trunk_query(struct bfa_s *bfa, u32 *bitmap); |
179 | void bfa_fcport_get_attr(struct bfa_s *bfa, struct bfa_pport_attr_s *attr); | 179 | void bfa_fcport_get_attr(struct bfa_s *bfa, struct bfa_pport_attr_s *attr); |
180 | wwn_t bfa_fcport_get_wwn(struct bfa_s *bfa, bfa_boolean_t node); | 180 | wwn_t bfa_fcport_get_wwn(struct bfa_s *bfa, bfa_boolean_t node); |
181 | bfa_status_t bfa_pport_get_stats(struct bfa_s *bfa, | ||
182 | union bfa_pport_stats_u *stats, | ||
183 | bfa_cb_pport_t cbfn, void *cbarg); | ||
184 | bfa_status_t bfa_pport_clear_stats(struct bfa_s *bfa, bfa_cb_pport_t cbfn, | ||
185 | void *cbarg); | ||
186 | void bfa_fcport_event_register(struct bfa_s *bfa, | 181 | void bfa_fcport_event_register(struct bfa_s *bfa, |
187 | void (*event_cbfn) (void *cbarg, | 182 | void (*event_cbfn) (void *cbarg, |
188 | bfa_pport_event_t event), void *event_cbarg); | 183 | bfa_pport_event_t event), void *event_cbarg); |
@@ -198,14 +193,21 @@ void bfa_fcport_busy(struct bfa_s *bfa, bfa_boolean_t status); | |||
198 | void bfa_fcport_beacon(struct bfa_s *bfa, bfa_boolean_t beacon, | 193 | void bfa_fcport_beacon(struct bfa_s *bfa, bfa_boolean_t beacon, |
199 | bfa_boolean_t link_e2e_beacon); | 194 | bfa_boolean_t link_e2e_beacon); |
200 | void bfa_cb_pport_event(void *cbarg, bfa_pport_event_t event); | 195 | void bfa_cb_pport_event(void *cbarg, bfa_pport_event_t event); |
201 | void bfa_fcport_qos_get_attr(struct bfa_s *bfa, struct bfa_qos_attr_s *qos_attr); | 196 | void bfa_fcport_qos_get_attr(struct bfa_s *bfa, |
197 | struct bfa_qos_attr_s *qos_attr); | ||
202 | void bfa_fcport_qos_get_vc_attr(struct bfa_s *bfa, | 198 | void bfa_fcport_qos_get_vc_attr(struct bfa_s *bfa, |
203 | struct bfa_qos_vc_attr_s *qos_vc_attr); | 199 | struct bfa_qos_vc_attr_s *qos_vc_attr); |
204 | bfa_status_t bfa_fcport_get_qos_stats(struct bfa_s *bfa, | 200 | bfa_status_t bfa_fcport_get_qos_stats(struct bfa_s *bfa, |
205 | union bfa_pport_stats_u *stats, | 201 | union bfa_fcport_stats_u *stats, |
206 | bfa_cb_pport_t cbfn, void *cbarg); | 202 | bfa_cb_pport_t cbfn, void *cbarg); |
207 | bfa_status_t bfa_fcport_clear_qos_stats(struct bfa_s *bfa, bfa_cb_pport_t cbfn, | 203 | bfa_status_t bfa_fcport_clear_qos_stats(struct bfa_s *bfa, bfa_cb_pport_t cbfn, |
208 | void *cbarg); | 204 | void *cbarg); |
205 | bfa_status_t bfa_fcport_get_fcoe_stats(struct bfa_s *bfa, | ||
206 | union bfa_fcport_stats_u *stats, | ||
207 | bfa_cb_pport_t cbfn, void *cbarg); | ||
208 | bfa_status_t bfa_fcport_clear_fcoe_stats(struct bfa_s *bfa, bfa_cb_pport_t cbfn, | ||
209 | void *cbarg); | ||
210 | |||
209 | bfa_boolean_t bfa_fcport_is_ratelim(struct bfa_s *bfa); | 211 | bfa_boolean_t bfa_fcport_is_ratelim(struct bfa_s *bfa); |
210 | bfa_boolean_t bfa_fcport_is_linkup(struct bfa_s *bfa); | 212 | bfa_boolean_t bfa_fcport_is_linkup(struct bfa_s *bfa); |
211 | bfa_status_t bfa_fcport_get_stats(struct bfa_s *bfa, | 213 | bfa_status_t bfa_fcport_get_stats(struct bfa_s *bfa, |