Date: Sat, 20 Feb 2010 00:43:20 +0100 From: Florian Kruegl <smeagle@bsdler.de> To: Oleksandr Tymoshenko <gonzo@bluezbox.com> Cc: freebsd-mips@freebsd.org Subject: Re: hifn support Message-ID: <1266623000.2149.83.camel@brain.lan.terror.local> In-Reply-To: <4B7EE17B.8040702@bluezbox.com> References: <1266442999.2149.42.camel@brain.lan.terror.local> <4B7C64D6.8070905@bluezbox.com> <1266604253.2149.55.camel@brain.lan.terror.local> <4B7EE17B.8040702@bluezbox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2010-02-19 at 11:07 -0800, Oleksandr Tymoshenko wrote: [ ... ] > IRQ numbering is a little messy on MIPS. And there were no IRQ > counters in AR71XX PCI code. Try this patch too: > http://people.freebsd.org/~gonzo/patches/ar71xx_pci_intrcnt.diff applied but no visible change, vmstat -i still shows no interrupt for hifn. > > You'll need the first one too. Also try running verified to be applied, checked using snv diff. > /usr/src/tools/tools/crypto tool for performance testing. goofy# cryptotest hifn0: abort, resetting. cryptotest: ioctl(CIOCCRYPT): Cannot allocate memory goofy# hifnstats input 8 bytes 1 packets output 0 bytes 0 packets invalid 0 nomem 0 abort 1 noirq 0 unaligned 0 totbatch 0 maxbatch 0 nomem: map 0 load 0 mbuf 0 mcl 0 cr 0 sd 0 goofy# cryptostats 1 symmetric crypto ops (1 errors, 0 times driver blocked) 0 key ops (0 errors, 0 times driver blocked) 0 crypto dispatch thread activations 0 crypto return thread activations dispatch->invoke: avg 1324 ns : min 0 ns : max 1324 ns [1 samps] invoke->done: avg 2620741 ns : min 0 ns : max 2620741 ns [1 samps] done->cb: avg 1069 ns : min 0 ns : max 1069 ns [1 samps] cb->finis: avg 5763 ns : min 0 ns : max 5763 ns [1 samps] goofy# vmstat -i interrupt total rate int0 pcib0 1 0 int1 ehci0 3755 9 int3 arge1 12 0 int4 apb0 2526 6 int5 clock0 405356 1000 apb intr3: uart0 2524 6 apb intr6: ohci0 2 0 ar71xx_pci intr0: + 1 0 Total 414177 1022 when I run cryptotest again it never returns and cannot be killed. goofy# cryptotest load: 0.00 cmd: cryptotest 1370 [crydev] 57.36r 0.00u 0.00s 0% 1156k load: 0.00 cmd: cryptotest 1370 [crydev] 57.50r 0.00u 0.00s 0% 1156k load: 0.00 cmd: cryptotest 1370 [crydev] 57.65r 0.00u 0.00s 0% 1156k ... > > I don't have RS Pro setup at the moment, so can't test it myself > right now :( But will do over weekend. > > thanks a lot, don't have much time this weekend, 8bit and 3kid calling ;)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1266623000.2149.83.camel>