bfa_defs_im_common.h 989 B

1234567891011121314151617181920212223242526272829303132
  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_IM_COMMON_H__
  18. #define __BFA_DEFS_IM_COMMON_H__
  19. #define BFA_ADAPTER_NAME_LEN 256
  20. #define BFA_ADAPTER_GUID_LEN 256
  21. #define RESERVED_VLAN_NAME L"PORT VLAN"
  22. #define PASSTHRU_VLAN_NAME L"PASSTHRU VLAN"
  23. u64 tx_pkt_cnt;
  24. u64 rx_pkt_cnt;
  25. u32 duration;
  26. u8 status;
  27. } bfa_im_stats_t, *pbfa_im_stats_t;
  28. #endif /* __BFA_DEFS_IM_COMMON_H__ */