[Intel-wired-lan] [PATCH net] i40e: fix registers dump after run ethtool adapter self test

Arland, ArpanaX arpanax.arland at intel.com
Mon Mar 27 11:16:29 UTC 2023


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Tyl, RadoslawX
> Sent: Wednesday, March 22, 2023 6:18 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Tyl, RadoslawX <radoslawx.tyl at intel.com>
> Subject: [Intel-wired-lan] [PATCH net] i40e: fix registers dump after run ethtool adapter self test
>
> Fix invalid registers dump from ethtool -d ethX after adapter self test by ethtool -t ethY. It causes invalid data display.
>
> The problem was caused by overwriting i40e_reg_list[].elements which is common for ethtool self test and dump.
>
> Fixes: 22dd9ae8afcc ("i40e: Rework register diagnostic")
> Signed-off-by: Radoslaw Tyl <radoslawx.tyl at intel.com>
> Reviewed-by: Michal Swiatkowski <michal.swiatkowski at linux.intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_diag.c | 11 ++++++-----  drivers/net/ethernet/intel/i40e/i40e_diag.h |  2 +-
>  2 files changed, 7 insertions(+), 6 deletions(-)
>

Tested-by: Arpana Arland <arpanax.arland at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list