We can also do direct function call of ipsec_xsm or ipsec_rsm instead of using tasklet.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eran Ben-Avi Sent: Thursday, August 30, 2007 2:58 AM To: David McCullough Cc: linux-crypto@vger.kernel.org Subject: Re: Openswan 2.4.9 - tasklet or workqueue ? --- David McCullough <[EMAIL PROTECTED]> wrote: > > > > Jivin Eran Ben-Avi lays it down ... > > Hi, > > > > I tested IPSec(tunnel mode) routing performance > between 2 GbE ports using packet generator(SMARTBIT) on ARM 500MHz > with latest OCF patched on > Openswan2.4.9 and I noticed the callback functions are using > workqueue. > > Since RX was performed in NAPI mode with higher > priority then TX (in workqueue), the callback function(in ipsec_ocf.c) > was starved with zero routing. > > The problem was solved after I switched to use > tasklet instead of the workqueue. > > Is there a room for updating next OCF release ? > > Sure, send in a patch. This is against > ocf-linux-20070727 right ? Yes. Can you please estimate when next release will be ready? Thanks. > > Cheers, > Davidm > > -- > David McCullough, > [EMAIL PROTECTED], Ph:+61 > 734352815 > Secure Computing - SnapGear http://www.uCdot.org > http://www.cyberguard.com > - > To unsubscribe from this list: send the line "unsubscribe > linux-crypto" in the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > ____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html