RE: [PATCH v2 05/10] baseband/acc: enhance SW ring alignment

2024-10-08 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 8, 2024 12:52 AM > To: Vargas, Hernan ; dev@dpdk.org; > gak...@marvell.com; t...@redhat.com > Cc: Chautru, Nicolas ; Zhang, Qi Z > > Subject: Re: [PATCH v2 05/10] baseband/acc: e

Re: [PATCH v2 05/10] baseband/acc: enhance SW ring alignment

2024-10-08 Thread Maxime Coquelin
On 10/3/24 22:49, Hernan Vargas wrote: Calculate the aligned total size required for queue rings, ensuring that the size is a power of two for proper memory allocation. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 7 --- 1 file changed, 4 insertions(+), 3 delet

[PATCH v2 05/10] baseband/acc: enhance SW ring alignment

2024-10-03 Thread Hernan Vargas
Calculate the aligned total size required for queue rings, ensuring that the size is a power of two for proper memory allocation. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/baseband/acc/acc