[dpdk-dev] [PATCH v5 0/4] test/lpm: fix rcu qsbr perf test

Dharmik Thakkar dharmik.thakkar at arm.com
Wed Nov 4 19:58:54 CET 2020


Fix LPM adds, LPM deletes, and cycle calculation.
Return error if LPM add/delete fails in multi-writer test.
Return error if single or multi writer test fails
Remove redundant error checking for readers.
Combine single and multi threaded test cases to avoid code duplication.
---
v5:
 - Update logic for routes inserted by each writer in multi writer
   test to avoid possibility of routes getting skipped

v4:
 - Return error if rcu qsbr test fails
 - Improve multi writer test to enable more than 2 writers

v3:
 - Add 'goto error'
 - Remove unnecessary if statement

v2:
 - Add more details about the fix to the commit message
 - Replace hard coded values with an enum
 - Remove lock acquire/release for single writer

Dharmik Thakkar (4):
  test/lpm: fix cycle calculation in rcu qsbr perf
  test/lpm: return error on failure in rcu qsbr perf
  test/lpm: remove error checking in rcu qsbr perf
  test/lpm: avoid code duplication in rcu qsbr perf

 app/test/test_lpm_perf.c | 380 +++++++++------------------------------
 1 file changed, 88 insertions(+), 292 deletions(-)

-- 
2.17.1



More information about the dev mailing list