RE: [PATCH v2 1/2] deque: add multi-thread unsafe double ended queue

2024-04-25 Thread Ali Alnubani
t; hof...@lysator.liu.se; wathsala.vithan...@arm.com; > dhruv.tripa...@arm.com; honnappa.nagaraha...@arm.com; n...@arm.com; > Morten Brørup > Subject: Re: [PATCH v2 1/2] deque: add multi-thread unsafe double ended > queue > > Hi Ali, > > Wathsala reached out asking how the checkpat

Re: [PATCH v2 1/2] deque: add multi-thread unsafe double ended queue

2024-04-24 Thread Mattias Rönnblom
On 2024-04-24 15:42, Aditya Ambadipudi wrote: From: Honnappa Nagarahalli Add a multi-thread unsafe double ended queue data structure. This library provides a simple and efficient alternative to multi-thread safe ring when multi-thread safety is not required. Signed-off-by: Aditya Ambadipudi S

Re: [PATCH v2 1/2] deque: add multi-thread unsafe double ended queue

2024-04-24 Thread Patrick Robb
Hi Ali, Wathsala reached out asking how the checkpatch CI check can be updated so that this series passes checkpatch. If building the dictionary is a 1 time operation for you, you may have to apply this patch and re-run devtools/build-dict.sh so that the new dictionary is in place for a V3 of thi

RE: [PATCH v2 1/2] deque: add multi-thread unsafe double ended queue

2024-04-24 Thread Morten Brørup
[...] > + > +/* mask of all valid flag values to deque_create() */ > +#define __RTE_DEQUE_F_MASK (RTE_DEQUE_F_EXACT_SZ) > +ssize_t > +rte_deque_get_memsize_elem(unsigned int esize, unsigned int count) > +{ > + ssize_t sz; > + > + /* Check if element size is a multiple of 4B */ > + if (