tools/testing/scatterlist: Test dynamic __sg_alloc_table_from_pages
authorMaor Gottlieb <maorg@nvidia.com>
Sun, 15 Nov 2020 12:06:50 +0000 (14:06 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 23 Nov 2020 20:51:30 +0000 (16:51 -0400)
commit93035242d9e22f2aad6ac0b886f19444713c0089
tree98c26113251f27324ecdb99b2b6f6564e34ad21b
parented92f6a52b84c0c03ae9d829cf118c6e38e456fb
tools/testing/scatterlist: Test dynamic __sg_alloc_table_from_pages

Add few cases to test the dynamic allocation flow of
__sg_alloc_table_from_pages.

Link: https://lore.kernel.org/r/20201115120650.139277-1-leon@kernel.org
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
tools/testing/scatterlist/main.c