diff options
author | Ahmed Zaki <ahmed.zaki@intel.com> | 2023-04-17 17:44:45 -0600 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-05-16 09:51:40 -0700 |
commit | ab7470bc6d8fb5f3004ccc8e4dfd49aab0f27561 (patch) | |
tree | df0323a6e5b0cedfd0ebee541cc337b53d4834dd /drivers/net/ethernet/intel/ice/ice_vf_lib.c | |
parent | 225c657945c4a6307741cb3cc89467eadcc26e9b (diff) | |
download | linux-ab7470bc6d8fb5f3004ccc8e4dfd49aab0f27561.tar.gz linux-ab7470bc6d8fb5f3004ccc8e4dfd49aab0f27561.tar.bz2 linux-ab7470bc6d8fb5f3004ccc8e4dfd49aab0f27561.zip |
ice: Fix stats after PF reset
After a core PF reset, the VFs were showing wrong Rx/Tx stats. This is a
regression in commit 6624e780a577 ("ice: split ice_vsi_setup into smaller
functions") caused by missing to set "stat_offsets_loaded = false" in the
ice_vsi_rebuild() path.
Fixes: 6624e780a577 ("ice: split ice_vsi_setup into smaller functions")
Signed-off-by: Ahmed Zaki <ahmed.zaki@intel.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_vf_lib.c')
0 files changed, 0 insertions, 0 deletions