bfa_fcptm.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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_FCPTM_H__
  18. #define __BFA_FCPTM_H__
  19. #include <bfa.h>
  20. #include <bfa_svc.h>
  21. #include <bfi/bfi_fcptm.h>
  22. /*
  23. * forward declarations
  24. */
  25. struct bfa_tin_s;
  26. struct bfa_iotm_s;
  27. struct bfa_tsktm_s;
  28. /*
  29. * bfa fcptm module API functions
  30. */
  31. void bfa_fcptm_path_tov_set(struct bfa_s *bfa, u16 path_tov);
  32. u16 bfa_fcptm_path_tov_get(struct bfa_s *bfa);
  33. void bfa_fcptm_qdepth_set(struct bfa_s *bfa, u16 q_depth);
  34. u16 bfa_fcptm_qdepth_get(struct bfa_s *bfa);
  35. /*
  36. * bfa tin API functions
  37. */
  38. void bfa_tin_get_stats(struct bfa_tin_s *tin, struct bfa_tin_stats_s *stats);
  39. void bfa_tin_clear_stats(struct bfa_tin_s *tin);
  40. #endif /* __BFA_FCPTM_H__ */