diff options
author | Vasu Dev <vasu.dev@intel.com> | 2012-05-25 13:26:48 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 03:31:48 -0400 |
commit | 0f02a6652803235a4893c7b01dd6eab862a913ec (patch) | |
tree | 21c80b2f5778a620da6c3e2599b6deee8e459ec0 /include/scsi | |
parent | 1bd49b482077e231842352621169dedff1f41931 (diff) |
[SCSI] libfc: adds FCP failures stats
Adds stats to track FCP pkt and frame alloc
failure.
Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Acked-by : Robert Love <robert.w.love@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index ea52ca203c95..f257a74e6de4 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
@@ -232,6 +232,9 @@ struct fc_rport_priv { | |||
232 | * @RxWords: Number of received words | 232 | * @RxWords: Number of received words |
233 | * @ErrorFrames: Number of received error frames | 233 | * @ErrorFrames: Number of received error frames |
234 | * @DumpedFrames: Number of dumped frames | 234 | * @DumpedFrames: Number of dumped frames |
235 | * @FcpPktAllocFails: Number of fcp packet allocation failures | ||
236 | * @FcpPktAborts: Number of fcp packet aborts | ||
237 | * @FcpFrameAllocFails: Number of fcp frame allocation failures | ||
235 | * @LinkFailureCount: Number of link failures | 238 | * @LinkFailureCount: Number of link failures |
236 | * @LossOfSignalCount: Number for signal losses | 239 | * @LossOfSignalCount: Number for signal losses |
237 | * @InvalidTxWordCount: Number of invalid transmitted words | 240 | * @InvalidTxWordCount: Number of invalid transmitted words |
@@ -252,6 +255,9 @@ struct fc_stats { | |||
252 | u64 RxWords; | 255 | u64 RxWords; |
253 | u64 ErrorFrames; | 256 | u64 ErrorFrames; |
254 | u64 DumpedFrames; | 257 | u64 DumpedFrames; |
258 | u64 FcpPktAllocFails; | ||
259 | u64 FcpPktAborts; | ||
260 | u64 FcpFrameAllocFails; | ||
255 | u64 LinkFailureCount; | 261 | u64 LinkFailureCount; |
256 | u64 LossOfSignalCount; | 262 | u64 LossOfSignalCount; |
257 | u64 InvalidTxWordCount; | 263 | u64 InvalidTxWordCount; |