diff options
author | Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> | 2009-11-23 01:32:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-23 13:44:35 -0500 |
commit | 94b982b2e4be9661fe1c3893aa780a711b09cd30 (patch) | |
tree | 5971d1a319805376569c944b78d19801725f3331 /drivers/net/ixgbe/ixgbe.h | |
parent | 713d039426a80ed78e71294cfb5d0a009bb20b42 (diff) |
ixgbe: Modify 82599 HWRSC statistics counters
Divide 82599 HWRSC counters into aggregated and flushed to count number of
packets getting coalesced per TCP connection.
Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 7eb08a6d3f99..76b052fa3643 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -159,6 +159,7 @@ struct ixgbe_ring { | |||
159 | struct ixgbe_queue_stats stats; | 159 | struct ixgbe_queue_stats stats; |
160 | unsigned long reinit_state; | 160 | unsigned long reinit_state; |
161 | u64 rsc_count; /* stat for coalesced packets */ | 161 | u64 rsc_count; /* stat for coalesced packets */ |
162 | u64 rsc_flush; /* stats for flushed packets */ | ||
162 | 163 | ||
163 | unsigned int size; /* length in bytes */ | 164 | unsigned int size; /* length in bytes */ |
164 | dma_addr_t dma; /* phys. address of descriptor ring */ | 165 | dma_addr_t dma; /* phys. address of descriptor ring */ |
@@ -375,7 +376,8 @@ struct ixgbe_adapter { | |||
375 | #ifdef IXGBE_FCOE | 376 | #ifdef IXGBE_FCOE |
376 | struct ixgbe_fcoe fcoe; | 377 | struct ixgbe_fcoe fcoe; |
377 | #endif /* IXGBE_FCOE */ | 378 | #endif /* IXGBE_FCOE */ |
378 | u64 rsc_count; | 379 | u64 rsc_total_count; |
380 | u64 rsc_total_flush; | ||
379 | u32 wol; | 381 | u32 wol; |
380 | u16 eeprom_version; | 382 | u16 eeprom_version; |
381 | }; | 383 | }; |