Fix wrong pointer passed problems when using test_ring_enqueue APIs to
enqueue one element into the ring.

Furthermore, add check to validate the dequeued objects in test_ring.c
when calling test_ring_enqueue APIs.

v2:
1. add check to validate the dequeued objects in test_ring.c and fix
some bugs of it. (David/Honnappa)
2. remove the patch to change the description for the param of
rte_ring_[sp/mp]_enqueue APIs. (David/Konstantin/Honnappa)

Feifei Wang (4):
  test/ring: fix wrong parameter passed to the enqueue APIs
  test/ring: fix wrong size used in memcmp
  test/ring: fix the wrong number of enq/deq elements
  test/ring: add check to validate the dequeued objects

 app/test/test_ring.c | 180 +++++++++++++++++++++++++++++++------------
 app/test/test_ring.h |   6 +-
 2 files changed, 135 insertions(+), 51 deletions(-)

-- 
2.17.1

Reply via email to