bfa_defs_driver.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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_DRIVER_H__
  18. #define __BFA_DEFS_DRIVER_H__
  19. /**
  20. * Driver statistics
  21. */
  22. u16 tm_io_abort;
  23. u16 tm_io_abort_comp;
  24. u16 tm_lun_reset;
  25. u16 tm_lun_reset_comp;
  26. u16 tm_target_reset;
  27. u16 tm_bus_reset;
  28. u16 ioc_restart; /* IOC restart count */
  29. u16 io_pending; /* outstanding io count per-IOC */
  30. u64 control_req;
  31. u64 input_req;
  32. u64 output_req;
  33. u64 input_words;
  34. u64 output_words;
  35. } bfa_driver_stats_t;
  36. #endif /* __BFA_DEFS_DRIVER_H__ */