From owner-cvs-src@FreeBSD.ORG Fri Jun 27 13:10:04 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACBA537B401; Fri, 27 Jun 2003 13:10:04 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4613243FE0; Fri, 27 Jun 2003 13:10:04 -0700 (PDT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5RKA40U088293; Fri, 27 Jun 2003 13:10:04 -0700 (PDT) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5RKA3kt088292; Fri, 27 Jun 2003 13:10:03 -0700 (PDT) Message-Id: <200306272010.h5RKA3kt088292@repoman.freebsd.org> From: Sam Leffler Date: Fri, 27 Jun 2003 13:10:03 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netipsec xform_ah.c xform_esp.c xform_ipcomp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 20:10:05 -0000 sam 2003/06/27 13:10:03 PDT FreeBSD src repository Modified files: sys/netipsec xform_ah.c xform_esp.c xform_ipcomp.c Log: Check crypto driver capabilities and if the driver operates synchronously mark crypto requests with ``callback immediately'' to avoid doing a context switch to return crypto results. This completes the work to eliminate context switches for using software crypto via the crypto subsystem (with symmetric crypto ops). Revision Changes Path 1.3 +18 -0 src/sys/netipsec/xform_ah.c 1.5 +18 -0 src/sys/netipsec/xform_esp.c 1.3 +18 -0 src/sys/netipsec/xform_ipcomp.c