[Accel-config] Re: [PATCH v1 0/5] Support the multi descriptor submit

Dave Jiang <dave.jiang at intel.com> Tue, 30 Nov 2021 12:53:42 -0700
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
On 11/30/2021 3:51 AM, Tony Zhu wrote:
> To support -n, the test code is re-constructed. The single task is
> replaced with multi tasks.
> Checked with checkpatch.pl, warnings and checks are reported. They
> are removed except kernel type checks u64, u32 and u8.
> No function change, the random pattern and tflags keep same.
>
> Tony Zhu (5):
>    accel-config/test: remove dsa_test code warnings scanned by
>      checkpatch.pl
>    accel-config/test: remove dsa_test code checks scanned by
>      checkpatch.pl
>    accel-config/test: add test_noop function to replace the test in main
>    accel-config/test: add test_memory function to remove 5 opcode test
>      duplicated parts
>    accel-config/test: add -n to input the submit descriptor number
>
>   test/dsa.c      | 452 ++++++++++++++++++++++++++-------------
>   test/dsa.h      |  62 +++---
>   test/dsa_test.c | 554 +++++++++++++++++++++++++-----------------------
>   test/prep.c     | 126 +++++------
>   4 files changed, 692 insertions(+), 502 deletions(-)

This looks fine. So is the default behavior if -n is not specified then 
it's 1?


Reviewed-by: Dave Jiang <dave.jiang(a)intel.com>