Date: Sat, 22 Feb 2003 23:25:48 -0800 (PST) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netipsec xform_ah.c xform_esp.c xform_ipcomp.c src/sys/opencrypto crypto.c cryptodev.c cryptodev.h Message-ID: <200302230725.h1N7Pmw2027043@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2003/02/22 23:25:48 PST Modified files: sys/netipsec xform_ah.c xform_esp.c xform_ipcomp.c sys/opencrypto crypto.c cryptodev.c cryptodev.h Log: o add a CRYPTO_F_CBIMM flag to symmetric ops to indicate the callback should be done in crypto_done rather than in the callback thread o use this flag to mark operations from /dev/crypto since the callback routine just does a wakeup; this eliminates the last unneeded ctx switch o change CRYPTO_F_NODELAY to CRYPTO_F_BATCH with an inverted meaning so "0" becomes the default/desired setting (needed for user-mode compatibility with openbsd) o change crypto_dispatch to honor CRYPTO_F_BATCH instead of always dispatching immediately o remove uses of CRYPTO_F_NODELAY o define COP_F_BATCH for ops submitted through /dev/crypto and pass this on to the op that is submitted Similar changes and more eventually coming for asymmetric ops. MFC if re gives approval. Revision Changes Path 1.2 +1 -1 src/sys/netipsec/xform_ah.c 1.4 +1 -1 src/sys/netipsec/xform_esp.c 1.2 +1 -1 src/sys/netipsec/xform_ipcomp.c 1.9 +73 -27 src/sys/opencrypto/crypto.c 1.10 +2 -1 src/sys/opencrypto/cryptodev.c 1.4 +4 -2 src/sys/opencrypto/cryptodev.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302230725.h1N7Pmw2027043>