Thread (6 messages) flat view 6 messages, 5 authors, 2021-01-23

Re: [PATCH] net: octeontx2: Make sure the buffer is 128 byte aligned

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-01-23 02:11:35

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Thu, 21 Jan 2021 15:09:06 +0800 you wrote:
The octeontx2 hardware needs the buffer to be 128 byte aligned.
But in the current implementation of napi_alloc_frag(), it can't
guarantee the return address is 128 byte aligned even the request size
is a multiple of 128 bytes, so we have to request an extra 128 bytes and
use the PTR_ALIGN() to make sure that the buffer is aligned correctly.

Fixes: 7a36e4918e30 ("octeontx2-pf: Use the napi_alloc_frag() to alloc the pool buffers")
Reported-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Kevin Hao <redacted>

[...]
Here is the summary with links:
  - net: octeontx2: Make sure the buffer is 128 byte aligned
    https://git.kernel.org/netdev/net/c/db2805150a0f

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