]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Add FCoE DDP allocation failure counters to ethtool stats.
authorAmir Hanania <amir.hanania@intel.com>
Wed, 31 Aug 2011 02:07:55 +0000 (02:07 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:19:10 +0000 (22:19 +0800)
commit5963394d3526a695eae3416cbebc6e485955963c
tree9e1a78b70ed2041a25e70eac5fc2a51427e2d1b1
parent363fb7c5435b4c968a2621116280e74f34f6a37e
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.

(cherry picked from commit 7b859ebc0a69a7d142f705bd4a8e5720b810f718)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_fcoe.h
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h