From owner-cvs-src@FreeBSD.ORG Fri Jun 27 13:07:11 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 5DCC937B401; Fri, 27 Jun 2003 13:07:11 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0929843FF7; Fri, 27 Jun 2003 13:07:11 -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 h5RK7A0U088215; Fri, 27 Jun 2003 13:07:10 -0700 (PDT) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5RK7AFY088214; Fri, 27 Jun 2003 13:07:10 -0700 (PDT) Message-Id: <200306272007.h5RK7AFY088214@repoman.freebsd.org> From: Sam Leffler Date: Fri, 27 Jun 2003 13:07:10 -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/opencrypto crypto.c cryptodev.h cryptosoft.c src/sys/dev/hifn hifn7751.c src/sys/dev/ubsec ubsec.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:07:11 -0000 sam 2003/06/27 13:07:10 PDT FreeBSD src repository Modified files: sys/opencrypto crypto.c cryptodev.h cryptosoft.c sys/dev/hifn hifn7751.c sys/dev/ubsec ubsec.c Log: Add support to eliminate a context switch per crypto op when using the software crypto device: o record crypto device capabilities in each session id o add a capability that indicates if the crypto driver operates synchronously o tag the software crypto driver as operating synchronously This commit also introduces crypto session id macros that cleanup their construction and querying. Revision Changes Path 1.17 +1 -1 src/sys/dev/hifn/hifn7751.c 1.23 +1 -1 src/sys/dev/ubsec/ubsec.c 1.12 +17 -19 src/sys/opencrypto/crypto.c 1.6 +14 -2 src/sys/opencrypto/cryptodev.h 1.4 +2 -2 src/sys/opencrypto/cryptosoft.c