]> www.infradead.org Git - users/dwmw2/linux.git/commit
ice: Fix incorrect assigns of FEC counts
authorMateusz Polchlopek <mateusz.polchlopek@intel.com>
Fri, 26 Jul 2024 10:19:28 +0000 (06:19 -0400)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 7 Aug 2024 17:57:19 +0000 (10:57 -0700)
commitc181da18a7302c5de510fe975a3a333299c6e4b7
treec7522d5a20864e32237c57c7141926e5fa96f76a
parentbca515d58367494d8699ab53c645b57b71fb4785
ice: Fix incorrect assigns of FEC counts

Commit ac21add2540e ("ice: Implement driver functionality to dump fec
statistics") introduces obtaining FEC correctable and uncorrectable
stats per netdev in ICE driver. Unfortunately the assignment of values
to fec_stats structure has been done incorrectly. This commit fixes the
assignments.

Fixes: ac21add2540e ("ice: Implement driver functionality to dump fec statistics")
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c