From b682119d432af1190699c56039f6584ac83ae7b9 Mon Sep 17 00:00:00 2001 From: Cristian Stoica Date: Fri, 28 Oct 2016 18:03:07 +0300 Subject: [PATCH 085/104] add notes about configured limits in SEC driver Signed-off-by: Cristian Stoica --- tests/async_speed.c | 3 ++- tests/async_speed_multi.sh | 2 ++ tests/sync_speed.c | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/async_speed.c b/tests/async_speed.c index eb8468d..d16d17e 100644 --- a/tests/async_speed.c +++ b/tests/async_speed.c @@ -47,7 +47,8 @@ const char usage_str[] = "Usage: %s [OPTION]... |\n" " -t \t" "time to run each test (default 10 secs)\n" " -n \t" "size of the test buffer\n" " -m\t\t" "output in a machine readable format\n" - " -h\t\t" "show this help\n" + " -h\t\t" "show this help\n\n" + "Note: SEC driver is configured to support buffers smaller than 512K\n" ; int run_null(int fdc, struct test_params tp); diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh index 1901620..f83e362 100755 --- a/tests/async_speed_multi.sh +++ b/tests/async_speed_multi.sh @@ -40,6 +40,8 @@ Usage: `basename $0` [OPTIONS] -h show this help alg_name: null, aes-128-cbc, aes-256-xts, sha1, sha256, crc32c + +Note: SEC driver is configured to support buffers smaller than 512K EOF } diff --git a/tests/sync_speed.c b/tests/sync_speed.c index ba1d170..ceae645 100644 --- a/tests/sync_speed.c +++ b/tests/sync_speed.c @@ -41,7 +41,8 @@ const char usage_str[] = "Usage: %s [OPTION]... |\n" "Run benchmark test for cipher or hash\n\n" " -t \t" "time to run each test (default 10 secs)\n" " -n \t" "size of the test buffer\n" - " -h\t\t" "show this help\n" + " -h\t\t" "show this help\n\n" + "Note: SEC driver is configured to support buffers smaller than 512K\n" ; int run_null(int fdc, struct test_params tp); -- 2.10.2