linux-bl808/drivers/net/ethernet/intel/iavf
Tony Nguyen 9358076642 iavf: Fix updating statistics
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>
2020-07-01 14:45:59 -07:00
..
iavf.h net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
iavf_adminq.c
iavf_adminq.h
iavf_adminq_cmd.h
iavf_alloc.h
iavf_client.c
iavf_client.h
iavf_common.c
iavf_devids.h
iavf_ethtool.c net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
iavf_main.c iavf: Fix updating statistics 2020-07-01 14:45:59 -07:00
iavf_osdep.h
iavf_prototype.h
iavf_register.h
iavf_status.h
iavf_trace.h
iavf_txrx.c ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
iavf_txrx.h
iavf_type.h net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
iavf_virtchnl.c iavf: Fix reporting 2.5 Gb and 5Gb speeds 2020-06-11 15:11:42 -07:00
Makefile