Thread (3 messages) 3 messages, 3 authors, 2024-08-12

Re: [PATCH net] net: mana: Fix RX buf alloc_size alignment and atomic op panic

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-08-12 12:30:27
Also in: bpf, linux-hyperv, linux-rdma, lkml, stable

Hello:

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

On Fri,  9 Aug 2024 14:01:24 -0700 you wrote:
The MANA driver's RX buffer alloc_size is passed into napi_build_skb() to
create SKB. skb_shinfo(skb) is located at the end of skb, and its alignment
is affected by the alloc_size passed into napi_build_skb(). The size needs
to be aligned properly for better performance and atomic operations.
Otherwise, on ARM64 CPU, for certain MTU settings like 4000, atomic
operations may panic on the skb_shinfo(skb)->dataref due to alignment fault.

[...]
Here is the summary with links:
  - [net] net: mana: Fix RX buf alloc_size alignment and atomic op panic
    https://git.kernel.org/netdev/net/c/32316f676b4e

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