ethport_defs.h 951 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
  3. * All rights reserved.
  4. *
  5. * Linux driver for Brocade Fibre Channel Host Bus Adapter.
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License (GPL) Version 2 as
  9. * published by the Free Software Foundation
  10. *
  11. * This program is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. */
  16. #ifndef __ETHPORT_DEFS_H__
  17. #define __ETHPORT_DEFS_H__
  18. struct bnad_drv_stats {
  19. u64 netif_queue_stop;
  20. u64 netif_queue_wakeup;
  21. u64 tso4;
  22. u64 tso6;
  23. u64 tso_err;
  24. u64 tcpcsum_offload;
  25. u64 udpcsum_offload;
  26. u64 csum_help;
  27. u64 csum_help_err;
  28. u64 hw_stats_updates;
  29. u64 netif_rx_schedule;
  30. u64 netif_rx_complete;
  31. u64 netif_rx_dropped;
  32. };
  33. #endif