diff options
Diffstat (limited to 'include/scsi/libfc.h')
-rw-r--r-- | include/scsi/libfc.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 32063389c4b0..53b38814d38a 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
@@ -368,6 +368,7 @@ struct fc_seq { | |||
368 | */ | 368 | */ |
369 | struct fc_exch { | 369 | struct fc_exch { |
370 | struct fc_exch_mgr *em; /* exchange manager */ | 370 | struct fc_exch_mgr *em; /* exchange manager */ |
371 | struct fc_exch_pool *pool; /* per cpu exches pool */ | ||
371 | u32 state; /* internal driver state */ | 372 | u32 state; /* internal driver state */ |
372 | u16 xid; /* our exchange ID */ | 373 | u16 xid; /* our exchange ID */ |
373 | struct list_head ex_list; /* free or busy list linkage */ | 374 | struct list_head ex_list; /* free or busy list linkage */ |
@@ -1045,10 +1046,12 @@ struct fc_exch *fc_exch_alloc(struct fc_lport *lport, struct fc_frame *fp); | |||
1045 | */ | 1046 | */ |
1046 | struct fc_seq *fc_seq_start_next(struct fc_seq *sp); | 1047 | struct fc_seq *fc_seq_start_next(struct fc_seq *sp); |
1047 | 1048 | ||
1049 | |||
1048 | /* | 1050 | /* |
1049 | * Reset an exchange manager, completing all sequences and exchanges. | 1051 | * Reset all EMs of a lport, releasing its all sequences and |
1050 | * If s_id is non-zero, reset only exchanges originating from that FID. | 1052 | * exchanges. If sid is non-zero, then reset only exchanges |
1051 | * If d_id is non-zero, reset only exchanges sending to that FID. | 1053 | * we sourced from that FID. If did is non-zero, reset only |
1054 | * exchanges destined to that FID. | ||
1052 | */ | 1055 | */ |
1053 | void fc_exch_mgr_reset(struct fc_lport *, u32 s_id, u32 d_id); | 1056 | void fc_exch_mgr_reset(struct fc_lport *, u32 s_id, u32 d_id); |
1054 | 1057 | ||