raw/ioat: add unit tests for completion batching
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 4 May 2021 13:14:47 +0000 (14:14 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 May 2021 14:06:35 +0000 (16:06 +0200)
commit55918bff36c08fd8b8665f7f6a96116ba35cbd50
tree5eeebb9cb66c1be79c834c7046ec0dc4b9d72878
parent5f760b7dccd85c7da78c6e4ee3517a912861d424
raw/ioat: add unit tests for completion batching

Add in additional unit tests to verify that we can get completion reports
of multiple batches in a single completed_ops() call. Also verify we can
get smaller number of completions if that is requested too.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/raw/ioat/ioat_rawdev_test.c