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>