diff options
author | Yi Zou <yi.zou@intel.com> | 2009-05-13 09:12:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-17 15:00:09 -0400 |
commit | 6d45522c532be430b2ed63ed48a6a9e15328af66 (patch) | |
tree | 3237ae3c78ad55a050a8d97c72e548b9ca4f95fe /drivers/net/ixgbe/ixgbe_ethtool.c | |
parent | 332d4a7d981e25d239c5d723a4f35020397dc606 (diff) |
ixgbe: Add FCoE related statistics to 82599
This adds FCoE related statistics to 82599, including number Rx-ed and Tx-ed
FCoE packets, number of Rx-ed and Tx-ed FCoE packets in dwords, number of bad
Fiber Channel CRCs detected in FCoE packets, and number of FCoE packets dropped
on the Rx side.
Signed-off-by: Yi Zou <yi.zou@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_ethtool.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_ethtool.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c index c0167d617b1e..39fb98faffd0 100644 --- a/drivers/net/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ixgbe/ixgbe_ethtool.c | |||
@@ -91,6 +91,14 @@ static struct ixgbe_stats ixgbe_gstrings_stats[] = { | |||
91 | {"alloc_rx_page_failed", IXGBE_STAT(alloc_rx_page_failed)}, | 91 | {"alloc_rx_page_failed", IXGBE_STAT(alloc_rx_page_failed)}, |
92 | {"alloc_rx_buff_failed", IXGBE_STAT(alloc_rx_buff_failed)}, | 92 | {"alloc_rx_buff_failed", IXGBE_STAT(alloc_rx_buff_failed)}, |
93 | {"rx_no_dma_resources", IXGBE_STAT(hw_rx_no_dma_resources)}, | 93 | {"rx_no_dma_resources", IXGBE_STAT(hw_rx_no_dma_resources)}, |
94 | #ifdef IXGBE_FCOE | ||
95 | {"fcoe_bad_fccrc", IXGBE_STAT(stats.fccrc)}, | ||
96 | {"rx_fcoe_dropped", IXGBE_STAT(stats.fcoerpdc)}, | ||
97 | {"rx_fcoe_packets", IXGBE_STAT(stats.fcoeprc)}, | ||
98 | {"rx_fcoe_dwords", IXGBE_STAT(stats.fcoedwrc)}, | ||
99 | {"tx_fcoe_packets", IXGBE_STAT(stats.fcoeptc)}, | ||
100 | {"tx_fcoe_dwords", IXGBE_STAT(stats.fcoedwtc)}, | ||
101 | #endif /* IXGBE_FCOE */ | ||
94 | }; | 102 | }; |
95 | 103 | ||
96 | #define IXGBE_QUEUE_STATS_LEN \ | 104 | #define IXGBE_QUEUE_STATS_LEN \ |