2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License (GPL) Version 2 as
10 * published by the Free Software Foundation
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 #ifndef __BFA_DEFS_FCPIM_H__
18 #define __BFA_DEFS_FCPIM_H__
20 struct bfa_fcpim_stats_s
{
21 u32 total_ios
; /* Total IO count */
22 u32 qresumes
; /* IO waiting for CQ space */
23 u32 no_iotags
; /* NO IO contexts */
24 u32 io_aborts
; /* IO abort requests */
25 u32 no_tskims
; /* NO task management contexts */
26 u32 iocomp_ok
; /* IO completions with OK status */
27 u32 iocomp_underrun
; /* IO underrun (good) */
28 u32 iocomp_overrun
; /* IO overrun (good) */
29 u32 iocomp_aborted
; /* Aborted IO requests */
30 u32 iocomp_timedout
; /* IO timeouts */
31 u32 iocom_nexus_abort
; /* IO selection timeouts */
32 u32 iocom_proto_err
; /* IO protocol errors */
33 u32 iocom_dif_err
; /* IO SBC-3 protection errors */
34 u32 iocom_tm_abort
; /* IO aborted by TM requests */
35 u32 iocom_sqer_needed
; /* IO retry for SQ error
37 u32 iocom_res_free
; /* Delayed freeing of IO resources */
38 u32 iocomp_scsierr
; /* IO with non-good SCSI status */
39 u32 iocom_hostabrts
; /* Host IO abort requests */
40 u32 iocom_utags
; /* IO comp with unknown tags */
41 u32 io_cleanups
; /* IO implicitly aborted */
42 u32 io_tmaborts
; /* IO aborted due to TM commands */
45 #endif /*__BFA_DEFS_FCPIM_H__*/