bfa_defs_driver.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. struct bfa_driver_stats_s {
  23. u16 tm_io_abort;
  24. u16 tm_io_abort_comp;
  25. u16 tm_lun_reset;
  26. u16 tm_lun_reset_comp;
  27. u16 tm_target_reset;
  28. u16 tm_bus_reset;
  29. u16 ioc_restart; /* IOC restart count */
  30. u16 rsvd;
  31. u64 control_req;
  32. u64 input_req;
  33. u64 output_req;
  34. u64 input_words;
  35. u64 output_words;
  36. };
  37. #endif /* __BFA_DEFS_DRIVER_H__ */