public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH ethtool] Fix index calculation in RTTPT2C register dump loop
@ 2026-03-18  8:35 Alok Tiwari
  2026-03-23 19:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Alok Tiwari @ 2026-03-18  8:35 UTC (permalink / raw)
  To: kuba, netdev, mkubecek; +Cc: alok.a.tiwari, alok.a.tiwarilinux

Correct regs_buff indexing in ixgbe_dump_regs for RTTPT2C loop to use
regs_buff[865 + i] instead of regs_buff[865]

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
---
 ixgbe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ixgbe.c b/ixgbe.c
index 6d509c8..fd374a1 100644
--- a/ixgbe.c
+++ b/ixgbe.c
@@ -732,7 +732,7 @@ ixgbe_dump_regs(struct ethtool_drvinfo *info __maybe_unused,
 		for (i = 0; i < 8; i++)
 			fprintf(stdout,
 			"0x%05X: RTTPT2C%d    (Tx Packet Plane T2 Config %d)    0x%08X\n",
-			0x0CD20 + (4 * i), i, i, regs_buff[865]);
+			0x0CD20 + (4 * i), i, i, regs_buff[865 + i]);
 
 		if (mac_type < ixgbe_mac_x550)
 			for (i = 0; i < 8; i++)
-- 
2.50.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH ethtool] Fix index calculation in RTTPT2C register dump loop
  2026-03-18  8:35 [PATCH ethtool] Fix index calculation in RTTPT2C register dump loop Alok Tiwari
@ 2026-03-23 19:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-03-23 19:10 UTC (permalink / raw)
  To: Alok Tiwari; +Cc: kuba, netdev, mkubecek, alok.a.tiwarilinux

Hello:

This patch was applied to ethtool/ethtool.git (master)
by Michal Kubecek <mkubecek@suse.cz>:

On Wed, 18 Mar 2026 01:35:06 -0700 you wrote:
> Correct regs_buff indexing in ixgbe_dump_regs for RTTPT2C loop to use
> regs_buff[865 + i] instead of regs_buff[865]
> 
> Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
> ---
>  ixgbe.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [ethtool] Fix index calculation in RTTPT2C register dump loop
    https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=8bb78214bdd3

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-23 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18  8:35 [PATCH ethtool] Fix index calculation in RTTPT2C register dump loop Alok Tiwari
2026-03-23 19:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox