1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel/iavf
Tony Nguyen 67642ac2ac iavf: Fix updating statistics
[ Upstream commit 9358076642 ]

Commit bac8486116 ("iavf: Refactor the watchdog state machine") inverted
the logic for when to update statistics. Statistics should be updated when
no other commands are pending, instead they were only requested when a
command was processed. iavf_request_stats() would see a pending request
and not request statistics to be updated. This caused statistics to never
be updated; fix the logic.

Fixes: bac8486116 ("iavf: Refactor the watchdog state machine")
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:16:09 +02:00
..
Makefile iavf: Rename i40e_adminq* files to iavf_adminq* 2019-05-31 00:15:53 -07:00
iavf.h iavf: fix speed reporting over virtchnl 2020-06-24 17:50:44 +02:00
iavf_adminq.c iavf: change remaining i40e defines to be iavf 2019-05-31 01:03:17 -07:00
iavf_adminq.h iavf: change remaining i40e defines to be iavf 2019-05-31 01:03:17 -07:00
iavf_adminq_cmd.h iavf: replace i40e variables with iavf 2019-05-31 01:02:53 -07:00
iavf_alloc.h iavf: change iavf_status_code to iavf_status 2019-05-31 00:19:33 -07:00
iavf_client.c iavf: update comments and file checks to match iavf 2019-05-31 01:03:24 -07:00
iavf_client.h iavf: rename iavf_client.h defines to match driver name 2019-05-31 01:03:13 -07:00
iavf_common.c iavf: update comments and file checks to match iavf 2019-05-31 01:03:24 -07:00
iavf_devids.h
iavf_ethtool.c iavf: fix speed reporting over virtchnl 2020-06-24 17:50:44 +02:00
iavf_main.c iavf: Fix updating statistics 2020-08-19 08:16:09 +02:00
iavf_osdep.h iavf: Fix up debug print macro 2019-06-28 15:59:56 -07:00
iavf_prototype.h iavf: replace i40e variables with iavf 2019-05-31 01:02:53 -07:00
iavf_register.h
iavf_status.h iavf: rename iavf_status structure flags 2019-05-31 01:03:04 -07:00
iavf_trace.h iavf: update comments and file checks to match iavf 2019-05-31 01:03:24 -07:00
iavf_txrx.c net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00
iavf_txrx.h net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
iavf_type.h iavf: change remaining i40e defines to be iavf 2019-05-31 01:03:17 -07:00
iavf_virtchnl.c iavf: fix speed reporting over virtchnl 2020-06-24 17:50:44 +02:00