From owner-freebsd-hackers@FreeBSD.ORG Wed May 21 17:46:16 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 84A2A1065685 for ; Wed, 21 May 2008 17:46:16 +0000 (UTC) (envelope-from richard@vanmansom.net) Received: from mta-fe.casema.nl (cas-mta4-fe.casema.nl [83.80.1.32]) by mx1.freebsd.org (Postfix) with ESMTP id 41AC38FC1C for ; Wed, 21 May 2008 17:46:16 +0000 (UTC) (envelope-from richard@vanmansom.net) Received: from localhost (cas-filter3.mgmt.casema.nl [10.42.32.98]) by mta-fe.casema.nl (Postfix) with ESMTP id 01F4D3FCC for ; Wed, 21 May 2008 19:19:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at casema.nl Received: from mta-fe.casema.nl ([10.42.32.32]) by localhost (cas-filter3.mgmt.casema.nl [10.42.32.211]) (amavisd-new, port 20024) with ESMTP id wXEm3n0SkIad for ; Wed, 21 May 2008 19:19:02 +0200 (CEST) Received: from SATIS2301087C9 (535334A9.cable.casema.nl [83.83.52.169]) by mta-fe.casema.nl (Postfix) with ESMTP id C4B82401D for ; Wed, 21 May 2008 19:19:02 +0200 (CEST) From: "Richard van Mansom" To: Date: Wed, 21 May 2008 19:19:03 +0200 Message-ID: <001001c8bb66$c4713170$4d539450$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Aci7ZsQzwHWw5+rsTby9iNK91T8ICw== Content-Language: en-us Subject: Hifn 7955 doesn't work with Freebsd 7.0-release 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: Wed, 21 May 2008 17:46:16 -0000 Hi, I am trying to setup two Soekris 4521 with a minipci vpn1411 (Hi/fn 7955) in a vpn. I understood that the crypto card should automatically work with only three kernel configuration file modification. So I added these three lines device crypto device cryptodev device hifn I tested with openvpn (the one release with pkg_add). I used the default cipher (I think this is BF-CBC - Blowfish 128 bit). The VPN works but I didn't notice any difference in performance (with or without the crypto card). I also tested the crypto card with AES128 but the performance only got worse (didn't have a baseline for that one) Relevant output: dmesg | grep hifn hifn0 mem 0xa0000000-0xa0000fff,0xa0002000-0xa0003fff,0xa0008000-0xa000ffff irq 10 at device 16.0 on pci0 hifn0: [ITHREAD] hifn0: Hifn 7955, rev 0, 32KB dram, pll=0x801 dmesg | grep crypto cryptosoft0: on motherboard uname -a FreeBSD Soekris 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat May 17 10:53:38 UTC 2008 root@One:/usr/obj/usr/src/sys/C5 i386 Any help would be appreciated Richard