mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 12:51:07 -05:00
geli does all of its crypto operations in a separate thread pool, so g_eli_start, g_eli_read_done, and g_eli_write_done don't actually do very much work. Enabling direct dispatch eliminates the g_up/g_down bottlenecks, doubling IOPs on my system. This change does not affect the thread pool. Reviewed by: markj MFC after: 2 weeks Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D25587
41 lines
805 B
Makefile
41 lines
805 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/geom/eli ${SRCTOP}/sys/crypto/sha2
|
|
|
|
PACKAGE= tests
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/geom/class/${.CURDIR:T}
|
|
|
|
ATF_TESTS_C= pbkdf2_test
|
|
ATF_TESTS_SH+= attach_test
|
|
ATF_TESTS_SH+= configure_test
|
|
ATF_TESTS_SH+= delkey_test
|
|
ATF_TESTS_SH+= detach_test
|
|
ATF_TESTS_SH+= init_test
|
|
ATF_TESTS_SH+= integrity_test
|
|
ATF_TESTS_SH+= kill_test
|
|
ATF_TESTS_SH+= misc_test
|
|
ATF_TESTS_SH+= onetime_test
|
|
ATF_TESTS_SH+= online_resize_test
|
|
ATF_TESTS_SH+= reentrancy_test
|
|
ATF_TESTS_SH+= resize_test
|
|
ATF_TESTS_SH+= setkey_test
|
|
|
|
${PACKAGE}FILES+= conf.sh
|
|
|
|
CFLAGS.pbkdf2_test= -I${SRCTOP}/sys
|
|
|
|
SRCS.pbkdf2_test= \
|
|
hmac_test.c \
|
|
g_eli_crypto.c \
|
|
g_eli_hmac.c \
|
|
pkcs5v2.c \
|
|
sha512c.c \
|
|
sha256c.c
|
|
|
|
LIBADD.pbkdf2_test= crypto
|
|
|
|
testvect.h:
|
|
python gentestvect.py > ${.TARGET}
|
|
|
|
.include <bsd.test.mk>
|