mbox

[v2,0/4] wrong pointer passed and add check

Message ID 20200805061421.13037-1-feifei.wang2@arm.com (mailing list archive)
Headers

Message

Feifei Wang Aug. 5, 2020, 6:14 a.m. UTC
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(-)