From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 18:02:08 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DB64106567B for ; Sun, 22 Jun 2008 18:02:08 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id 54A948FC15 for ; Sun, 22 Jun 2008 18:02:08 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so8961694rvf.43 for ; Sun, 22 Jun 2008 11:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=yMH3BBnsPTK5mFz1KHUOmyrnxZ3Il3CUIom9askwbYo=; b=R5YiQxglZRW1senGFKkchvgA+xHclIHAj0E4+PPWLm1VMJQNIQU7Bi3vjQOEMdbm/M bgtt83w2tO1Q9+x9OrAUvVYGQeh9835s3FDqvVBNmqeC/RKpx6rdZC8ptJjZyRRod2mY 4bjNBWJenFmlTkOckqxdF8uTjhGVXzZB712yo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NAOmTdyNFvpNh/diUlcL+AGAQriIlVlkJUrNJN/nZlnV5QLBDYWsAABShv4g1A75UT /JIP9C8cAHYzp4WHamPmRYR1nQSiapZ361+TLItqESxzXcZPIJ+XnZYd0pNkDHPuF/6R eZGMXsvxhjIwr2nTfZaKkxTy1nvJYVCtjk2wI= Received: by 10.141.128.19 with SMTP id f19mr11221382rvn.257.1214157715477; Sun, 22 Jun 2008 11:01:55 -0700 (PDT) Received: by 10.114.161.7 with HTTP; Sun, 22 Jun 2008 11:01:55 -0700 (PDT) Message-ID: <2e77fc10806221101q684baf47r9ee7208a676f59e@mail.gmail.com> Date: Sun, 22 Jun 2008 21:01:55 +0300 From: "Niki Denev" To: "=?ISO-8859-1?Q?Patrick_Lamaizi=E8re?=" In-Reply-To: <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> X-Mailman-Approved-At: Sun, 22 Jun 2008 18:17:57 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 18:02:08 -0000 On Sun, Jun 22, 2008 at 6:05 PM, Patrick Lamaizi=E8re wrote: > Le Fri, 6 Jun 2008 23:41:35 +0200, > Patrick Lamaizi=E8re a =E9crit : > > Hello, > >> I'm trying to port the glxsb driver from OpenBSD to FreeBSD 7-STABLE >> (via the NetBSD port). >> " The glxsb driver supports the security block of the Geode LX >> series processors. The Geode LX is a member of the AMD Geode family >> of integrated x86 system chips. >> >> Driven by periodic checks for available data from the generator, >> glxsb supplies entropy to the random(4) driver for common usage. >> >> glxsb also supports acceleration of AES-128-CBC operations for >> crypto(4)." > > Well, I hope this is the final version. > > http://user.lamaiziere.net/patrick/glxsb-220608.tar.gz > > I added a patch for FreeBSD 6 but i'am not able to test it. > > On 7-STABLE, I've tested with hundred openssl encryptions and some flood > pings under ipsec in the background. Looks good for me. > > If someone can test and review it, it would be cool. > > Thanks, Regards. It compiles on without a problem on 6.2 and loads on my Soekris Net5501-70 running pfSense (6.2-RELEASE-p11) glxsb0: mem 0xa0000000-0xa0003fff irq 10 at device 1.2 on pci0 Thanks!, Niki