Re: [PATCH v3 03/14] ring: eliminate duplication of size and mask fields
From: Bruce Richardson <hidden>
Date: 2017-03-27 10:13:43
From: Bruce Richardson <hidden>
Date: 2017-03-27 10:13:43
On Mon, Mar 27, 2017 at 11:52:58AM +0200, Thomas Monjalon wrote:
2017-03-24 17:09, Bruce Richardson:quoted
The size and mask fields are duplicated in both the producer and consumer data structures. Move them out of that into the top level structure so they are not duplicated. Signed-off-by: Bruce Richardson <redacted> Acked-by: Olivier Matz <redacted>Sorry Bruce, I encounter this error: fatal error: no member named 'size' in 'struct rte_ring_headtail' if (r->prod.size >= ring_size) { ~~~~~~~ ^
Hi Thomas, again I need more information here. I've just revalidated these first three patches doing 7 builds with each one (gcc, clang, debug, shared library, old ABI, default-machine and 32-bit), as well as compiling the apps for gcc and clang, and I see no errors. /Bruce