• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/bfa/include/defs/
1/*
2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
3 * All rights reserved
4 * www.brocade.com
5 *
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
7 *
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
11 *
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.
16 */
17#ifndef __BFA_DEFS_FCPIM_H__
18#define __BFA_DEFS_FCPIM_H__
19
20struct 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
36						 *recovery */
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 */
43	u32        rsvd;
44};
45#endif /*__BFA_DEFS_FCPIM_H__*/
46