mmc: mmc_test: test to measure how sg_len affect performance
authorPer Forlin <per.forlin@linaro.org>
Fri, 1 Jul 2011 16:55:27 +0000 (18:55 +0200)
committerChris Ball <cjb@laptop.org>
Wed, 20 Jul 2011 21:21:12 +0000 (17:21 -0400)
commitbf043330362b1ccb0c0611b8fc394e06ba8498b0
tree487ce7a117c16e63d6d49cb74df21d7fdf3ce03f
parent9f9c4180f88d127e2bb83913d80750a8fbdb8f3e
mmc: mmc_test: test to measure how sg_len affect performance

Add a test that measures how the mmc bandwidth depends on the numbers of
sg elements in the sg list. The transfer size if fixed and sg length goes
from a few up to 512. The purpose is to measure overhead caused by
multiple sg elements.

Signed-off-by: Per Forlin <per.forlin@linaro.org>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Venkatraman S <svenkatr@ti.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/mmc_test.c