Re: [PATCH net] net/smc: Fix pos miscalculation in statistics

patchwork-bot+netdevbpf
2023-10-11T09:40:29Z

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

On Mon, 9 Oct 2023 16:40:48 +0200 you wrote:
> From: Nils Hoppmann <niho@linux.ibm.com>
>
> SMC_STAT_PAYLOAD_SUB(_smc_stats, _tech, key, _len, _rc) will calculate
> wrong bucket positions for payloads of exactly 4096 bytes and
> (1 << (m + 12)) bytes, with m == SMC_BUF_MAX - 1.
>
> Intended bucket distribution:
> Assume l == size of payload, m == SMC_BUF_MAX - 1.
>
> [...]

Here is the summary with links:
- [net] net/smc: Fix pos miscalculation in statistics
https://git.kernel.org/netdev/net/c/a950a5921db4

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.