]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Strip VEB stats if they are disabled in HW
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Thu, 23 Jul 2015 20:54:40 +0000 (16:54 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:06 +0000 (08:32 -0800)
commit71e3b436f098b4fdc93e4d91d18715ebbc894419
tree558501cf6bd1e4eb9bc7a818955ccf6ab002fb17
parent3b24e95043b1a00532a91dec02346ea29d5df988
i40e: Strip VEB stats if they are disabled in HW

Orabug: 22342532

Due to performance reasons, VEB stats have been disabled in the hw. This
patch adds code to check for that condition before accumulating these
stats.

Change-ID: I7d805669476fedabb073790403703798ae5d878e
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit d1a8d275340470b89fa3a3f7c47433caf1286336)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c