bfa_defs_fcpim.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. struct bfa_fcpim_stats_s {
  20. u32 total_ios; /* Total IO count */
  21. u32 qresumes; /* IO waiting for CQ space */
  22. u32 no_iotags; /* NO IO contexts */
  23. u32 io_aborts; /* IO abort requests */
  24. u32 no_tskims; /* NO task management contexts */
  25. u32 iocomp_ok; /* IO completions with OK status */
  26. u32 iocomp_underrun; /* IO underrun (good) */
  27. u32 iocomp_overrun; /* IO overrun (good) */
  28. u32 iocomp_aborted; /* Aborted IO requests */
  29. u32 iocomp_timedout; /* IO timeouts */
  30. u32 iocom_nexus_abort; /* IO selection timeouts */
  31. u32 iocom_proto_err; /* IO protocol errors */
  32. u32 iocom_dif_err; /* IO SBC-3 protection errors */
  33. u32 iocom_tm_abort; /* IO aborted by TM requests */
  34. u32 iocom_sqer_needed; /* IO retry for SQ error
  35. *recovery */
  36. u32 iocom_res_free; /* Delayed freeing of IO resources */
  37. u32 iocomp_scsierr; /* IO with non-good SCSI status */
  38. u32 iocom_hostabrts; /* Host IO abort requests */
  39. u32 iocom_utags; /* IO comp with unknown tags */
  40. u32 io_cleanups; /* IO implicitly aborted */
  41. u32 io_tmaborts; /* IO aborted due to TM commands */
  42. u32 rsvd;
  43. };
  44. #endif /*__BFA_DEFS_FCPIM_H__*/