Re: [PATCH v3 03/14] ring: eliminate duplication of size and mask fields
From: Thomas Monjalon <hidden> Date: 2017-03-27 09:52:59
2017-03-24 17:09, Bruce Richardson:
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) {
~~~~~~~ ^