mirror_ubuntu-kernels/drivers/net/ethernet/intel/ice
Dave Ertman 3d57fd10f2 ice: Report stats when VSI is down
There is currently a check in get_ndo_stats that
returns before updating stats if the VSI is down
or there are no Tx or Rx queues.  This causes the
netdev to report zero stats with the netdev is down.

Remove the check so that the behavior of reporting
stats is the same as it was in IXGBE.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-09-03 17:07:50 -07:00
..
ice_adminq_cmd.h ice: Limit Max TCs on devices with more than 4 ports 2019-09-03 16:35:58 -07:00
ice_common.c ice: Limit Max TCs on devices with more than 4 ports 2019-09-03 16:35:58 -07:00
ice_common.h ice: separate out control queue lock creation 2019-07-31 10:23:04 -07:00
ice_controlq.c ice: separate out control queue lock creation 2019-07-31 10:23:04 -07:00
ice_controlq.h ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_dcb_lib.c ice: Correctly handle return values for init DCB 2019-09-03 17:02:23 -07:00
ice_dcb_lib.h ice: Fix hang when ethtool disables FW LLDP 2019-05-23 10:51:53 -07:00
ice_dcb.c ice: Deduce TSA value from the priority value in the CEE mode 2019-09-03 16:16:36 -07:00
ice_dcb.h ice: Refactor the LLDP MIB change event handling 2019-05-23 10:51:53 -07:00
ice_devids.h ice: Change device ID define names to align with branding string 2018-10-24 13:53:30 -07:00
ice_ethtool.c ice: Report what the user set for coalesce [tx|rx]-usecs 2019-09-03 16:11:10 -07:00
ice_hw_autogen.h ice: Set WB_ON_ITR when we don't re-enable interrupts 2019-08-20 14:21:21 -07:00
ice_lan_tx_rx.h ice: Always set prefena when configuring an Rx queue 2019-07-31 10:23:04 -07:00
ice_lib.c ice: Alloc queue management bitmaps and arrays dynamically 2019-08-26 23:45:54 -07:00
ice_lib.h ice: add support for virtchnl_queue_select.[tx|rx]_queues bitmap 2019-08-26 23:37:16 -07:00
ice_main.c ice: Report stats when VSI is down 2019-09-03 17:07:50 -07:00
ice_nvm.c ice: Add handler for ethtool selftest 2019-05-29 02:44:12 -07:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c ice: added sibling head to parse nodes 2019-08-26 22:59:00 -07:00
ice_sched.h ice: Add code for DCB initialization part 3/4 2019-04-18 08:38:47 -07:00
ice_sriov.c ice: Add support for new PHY types 2019-01-15 12:38:44 -08:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: Add handler for ethtool selftest 2019-05-29 02:44:12 -07:00
ice_switch.c ice: Fix resource leak in ice_remove_rule_internal() 2019-09-03 16:08:54 -07:00
ice_switch.h ice: Minor cleanup in ice_switch.h 2019-05-29 02:55:34 -07:00
ice_txrx.c ice: Allow egress control packets from PF_VSI 2019-08-23 09:17:45 -07:00
ice_txrx.h ice: Set WB_ON_ITR when we don't re-enable interrupts 2019-08-20 14:21:21 -07:00
ice_type.h ice: Limit Max TCs on devices with more than 4 ports 2019-09-03 16:35:58 -07:00
ice_virtchnl_pf.c ice: Always notify FW of VF reset 2019-09-03 17:04:14 -07:00
ice_virtchnl_pf.h ice: add support for virtchnl_queue_select.[tx|rx]_queues bitmap 2019-08-26 23:37:16 -07:00
ice.h ice: Alloc queue management bitmaps and arrays dynamically 2019-08-26 23:45:54 -07:00
Makefile ice: Add code for DCB initialization part 1/4 2019-04-18 08:38:47 -07:00