[v1,0/6] fix distributor synchronization issues
mbox series

Message ID 20200915193449.13310-1-l.wojciechow@partner.samsung.com
Headers show
Series
  • fix distributor synchronization issues
Related show

Message

Lukasz Wojciechowski Sept. 15, 2020, 7:34 p.m. UTC
During review and verification of the patch created by Sarosh Arif:
"test_distributor: prevent memory leakages from the pool" I found out
that running distributor unit tests multiple times in a row causes fails.
So I investigated all the issues I found.

There are few synchronization issues that might cause deadlocks
or corrupted data. They are fixed with this set of patches for both tests
and librte_distributor library.

Lukasz Wojciechowski (6):
  app/test: fix deadlock in distributor test
  app/test: synchronize statistics between lcores
  app/test: fix freeing mbufs in distributor tests
  app/test: collect return mbufs in distributor test
  distributor: fix missing handshake synchronization
  distributor: fix handshake deadlock

 app/test/test_distributor.c              | 98 ++++++++++++++----------
 lib/librte_distributor/rte_distributor.c | 23 +++++-
 2 files changed, 79 insertions(+), 42 deletions(-)