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

2021-01-22 Thread patchwork-bot+netdevbpf
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 aligne

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

2021-01-21 Thread Sunil Kovvuri
On Thu, Jan 21, 2021 at 5:26 PM Kevin Hao wrote: > > On Thu, Jan 21, 2021 at 09:53:08AM +, David Laight wrote: > > From: Kevin Hao > > > Sent: 21 January 2021 07:09 > > > > > > The octeontx2 hardware needs the buffer to be 128 byte aligned. > > > But in the current implementation of napi_alloc

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

2021-01-21 Thread Kevin Hao
On Thu, Jan 21, 2021 at 09:53:08AM +, David Laight wrote: > From: Kevin Hao > > Sent: 21 January 2021 07:09 > > > > 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

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

2021-01-21 Thread David Laight
From: Kevin Hao > Sent: 21 January 2021 07:09 > > 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

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

2021-01-21 Thread sundeep subbaraya
Hi Kevin, Tested at my end and works fine. Thanks for the patch. Tested-by: Subbaraya Sundeep Sundeep On Thu, Jan 21, 2021 at 12:51 PM Kevin Hao wrote: > > The octeontx2 hardware needs the buffer to be 128 byte aligned. > But in the current implementation of napi_alloc_frag(), it can't > guar