Date: Fri, 6 Nov 1998 08:30:18 -0500 From: Lee Cremeans <lee@st-lcremean.tidalwave.net> To: "Ron G. Minnich" <rminnich@Sarnoff.COM> Cc: hackers@FreeBSD.ORG Subject: Re: Coprocessor board--which I/O method should I use? Message-ID: <19981106083018.B2926@tidalwave.net> In-Reply-To: <Pine.SUN.3.91.981106023104.27246A-100000@terra>; from Ron G. Minnich on Fri, Nov 06, 1998 at 02:32:51AM -0500 References: <199811052338.PAA00845@dingo.cdrom.com> <Pine.SUN.3.91.981106023104.27246A-100000@terra>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981106083018.B2926>