Re: [dpdk-dev] [PATCH v2 3/4] test/ring: fix the wrong number of enq/deq elements

2020-08-26 Thread Honnappa Nagarahalli
> Subject: [PATCH v2 3/4] test/ring: fix the wrong number of enq/deq elements > > The actual capacity of ring should be the (RING_SIZE - 1), thus only > (RING_SIZE > - 1) elements can be enqueued into the ring. > > Fixes: a9fe152363e2 ("test/ring: add custom element size functional tests") Thi

[dpdk-dev] [PATCH v2 3/4] test/ring: fix the wrong number of enq/deq elements

2020-08-04 Thread Feifei Wang
The actual capacity of ring should be the (RING_SIZE - 1), thus only (RING_SIZE - 1) elements can be enqueued into the ring. Fixes: a9fe152363e2 ("test/ring: add custom element size functional tests") Cc: honnappa.nagaraha...@arm.com Cc: sta...@dpdk.org Signed-off-by: Feifei Wang Reviewed-by: Ru