]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Remove separate functions gathering XOFF Rx stats
authorNeerav Parikh <neerav.parikh@intel.com>
Fri, 6 Nov 2015 23:26:09 +0000 (15:26 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:36:32 +0000 (08:36 -0800)
commit4185bd90eef0bdfbc6f92905e42cff24b0958e7e
tree9b3203848c51cf9b611e61b47fec273bfaeae99c
parent525bfd6fc4f5ac5444dc10020d22f868794435b8
i40e: Remove separate functions gathering XOFF Rx stats

Orabug: 22342532

The separate functions to gather Flow control Rx XOFF stats was to
determine if the Tx for a queue was paused due to Link Flow Control(LFC)
or Priority Flow Control(PFC).

But, with recent change in the i40e driver the logic for checking th Tx
hang has been removed and these functions don't do anything meaningful.
Hence, there is no need to keep these separate functions to gather Rx
XOFF stats for LFC or PFC.

This patch removes these functions and moves the stat collection for
XOFF Rx to the i40e_update_pf_stats() that collects all the PF stats.

Change-ID: Iec1452dac3a6766f0d968e754cb407530d7c60cd
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 95db239f4fc664d9ce4ba9a6a3e87d2a3d856a23)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c