summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
diff options
context:
space:
mode:
authorAmir Hanania <amir.hanania@intel.com>2011-08-31 02:07:55 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-10-12 22:45:32 -0700
commit7b859ebc0a69a7d142f705bd4a8e5720b810f718 (patch)
tree741ddf53093be54bcbf51c1a09c3f711b458735d /drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
parent83c61fa97a7d4ef16506a760f9e52b3144978346 (diff)
downloadblackbird-op-linux-7b859ebc0a69a7d142f705bd4a8e5720b810f718.tar.gz
blackbird-op-linux-7b859ebc0a69a7d142f705bd4a8e5720b810f718.zip
ixgbe: Add FCoE DDP allocation failure counters to ethtool stats.
Add 2 new counters to ethtool: 1. Count DDP allocation failure since we max the number of buffers allowed in one DDP context. 2. Count DDP allocation failure since we max the number of buffers allowed in one DDP context when we alloc an extra buffer. Signed-off-by: Amir Hanania <amir.hanania@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
index 99de145e290d..261fd62dda18 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
@@ -73,6 +73,8 @@ struct ixgbe_fcoe {
unsigned char *extra_ddp_buffer;
dma_addr_t extra_ddp_buffer_dma;
unsigned long mode;
+ u64 __percpu *pcpu_noddp;
+ u64 __percpu *pcpu_noddp_ext_buff;
#ifdef CONFIG_IXGBE_DCB
u8 up;
#endif
OpenPOWER on IntegriCloud