i40e: Collect PFC XOFF RX stats even in single TC case
authorNeerav Parikh <neerav.parikh@intel.com>
Fri, 17 Apr 2015 00:05:58 +0000 (20:05 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2015 10:35:27 +0000 (03:35 -0700)
commite120814d74bc805769d18ed7177f43a17a88fd40
treeb6707bbd4bded468c09df27c4477c3b1d7a9c874
parent7aac84259656c4f2dd805223659067b1504ed619
i40e: Collect PFC XOFF RX stats even in single TC case

When PFC is enabled for any UP in single TC configuration the driver didn't
collect the PFC XOFF RX stats. Though a single TC with PFC enabled is not a
common scenario do not prevent the driver from collecting stats if firmware
indicates that PFC is enabled.

Change-ID: Ie20bd58b07608b528f3c6d95894c9ae56b00077a
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c