From owner-freebsd-hackers Fri Nov 6 05:30:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA29897 for freebsd-hackers-outgoing; Fri, 6 Nov 1998 05:30:22 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from st-lcremean.tidalwave.net (st-lcremean.tidalwave.net [208.213.203.186]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA29892 for ; Fri, 6 Nov 1998 05:30:20 -0800 (PST) (envelope-from lee@st-lcremean.tidalwave.net) Received: (from lee@localhost) by st-lcremean.tidalwave.net (8.9.1/8.8.8) id IAA03023; Fri, 6 Nov 1998 08:30:18 -0500 (EST) (envelope-from lee) Message-ID: <19981106083018.B2926@tidalwave.net> Date: Fri, 6 Nov 1998 08:30:18 -0500 From: Lee Cremeans To: "Ron G. Minnich" Cc: hackers@FreeBSD.ORG Subject: Re: Coprocessor board--which I/O method should I use? Reply-To: lcremean@tidalwave.net References: <199811052338.PAA00845@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Ron G. Minnich on Fri, Nov 06, 1998 at 02:32:51AM -0500 X-OS: FreeBSD 3.0-CURRENT X-Evil: microsoft.com Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 06, 1998 at 02:32:51AM -0500, Ron G. Minnich wrote: > > > I'm writing a device driver for a board we're de3veloping at work that does > > > encryption and compression in hardware. This board is going to be used in > > > embedded applications (it's a PCI board), like VPNs and firewalls, so it'll > > > be handling a good amount of data. For something like this, what would be > > > the best way to do I/O from userland to the card? I'm thinking character > > > would do, but I'd appreciate other opinions, and also being told if I'm > > > off-base. Also, I'd need to know which interrupt level (net, bio, tty, etc.) > > > this thing should be in. > > If you want to handle lots of data over pci you're not going to do it via > userland read/writes. PCI reads from the host run about 56 Mbits/sec. So > the question is what data rates are you after? > ron The chip itself can handle 27 MBytes/s in single DES, 10 Mbytes/s in triple DES. THere's a data sheet for it if you want to see it; go look at www.hifn.com, it's the 7751. -- Lee Cremeans -- Manassas, VA, USA (WakkyMouse on DALnet and WTnet) A! JW223 YWD+++^ri P&B++ SL+++^i GDF B&M KK--i MD+++i P++ I++++ Did $++ E5/10/70/3c/73ac/95/96 H2 PonPippi Ay77 M | mailto:lcremean@tidalwave.net http://st-lcremean.tidalwave.net | Powered by FreeBSD 3.0-CURRENT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message