diff options
| author | Tvrtko Ursulin <[email protected]> | 2017-09-06 15:55:06 +0100 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2017-09-07 10:54:40 +0100 |
| commit | c9636244f86ae80b66e8ffb05ff755d85edf1988 (patch) | |
| tree | 9e48f5060e1391338943230d255743fb6950719a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 5602452e4c9943a81c9cd049d10d37d3f137b0c0 (diff) | |
tools/testing/scatterlist: Test new __sg_alloc_table_from_pages
Exercise the new __sg_alloc_table_from_pages API (and through
it also the old sg_alloc_table_from_pages), checking that the
created table has the expected number of segments depending on
the sequence of input pages and other conditions.
v2: Move to data driven for readability.
v3: Add some more testcases and -fsanitize=undefined. (Chris Wilson)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: [email protected]
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
[tursulin: whitespace fixup]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions