Thread (3 messages) flat view 3 messages, 3 authors, 2021-11-03

Re: [PATCH net v2] ethtool: fix ethtool msg len calculation for pause stats

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-03 14:10:12

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Tue,  2 Nov 2021 15:02:36 -0700 you wrote:
ETHTOOL_A_PAUSE_STAT_MAX is the MAX attribute id,
so we need to subtract non-stats and add one to
get a count (IOW -2+1 == -1).

Otherwise we'll see:

  ethnl cmd 21: calculated reply length 40, but consumed 52

[...]
Here is the summary with links:
  - [net,v2] ethtool: fix ethtool msg len calculation for pause stats
    https://git.kernel.org/netdev/net/c/1aabe578dd86

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help