Linux cryptographic layer development
 help / color / mirror / Atom feed
From: David McCullough <David_Mccullough@securecomputing.com>
To: Kabir Ahsan-r9aahw <Ahsan.Kabir@freescale.com>
Cc: Eran Ben-Avi <eranpublic@yahoo.com>,
	linux-crypto@vger.kernel.org,
	ocf-linux-users@lists.sourceforge.net
Subject: Re: Openswan 2.4.9 - tasklet or workqueue ?
Date: Wed, 12 Sep 2007 22:13:42 +1000	[thread overview]
Message-ID: <20070912121342.GG26940@securecomputing.com> (raw)
In-Reply-To: <351763BE49AC8743AFCCF925821FF6BE01CCB6AC@az33exm22.fsl.freescale.net>


Jivin Kabir Ahsan-r9aahw lays it down ...
> We can also do direct function call of ipsec_xsm or ipsec_rsm instead
> of using tasklet. 

Care to come up with something that still works for 2.4 but it targetted
more at 2.6 ?  I wasn't all the happy with the double function thing
going on there,

Cheers,
Davidm


> -----Original Message-----
> From: linux-crypto-owner@vger.kernel.org [mailto:linux-crypto-owner@vger.kernel.org] 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
> <David_Mccullough@securecomputing.com> 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, 
> > david_mccullough@securecomputing.com,   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 majordomo@vger.kernel.org 
> > 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 
> 

-- 
David McCullough,  david_mccullough@securecomputing.com,   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org http://www.cyberguard.com

  reply	other threads:[~2007-09-12 12:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070827224021.GA23450@securecomputing.com>
2007-08-30  7:58 ` Openswan 2.4.9 - tasklet or workqueue ? Eran Ben-Avi
2007-08-30 22:44   ` David McCullough
2007-09-11 19:19   ` Kabir Ahsan-r9aahw
2007-09-12 12:13     ` David McCullough [this message]
2007-09-26 14:26   ` David McCullough
2007-11-01 14:34 Eran Ben-Avi
2007-11-05  3:35 ` David McCullough
  -- strict thread matches above, loose matches on Subject: below --
2007-08-27  7:26 Eran Ben-Avi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070912121342.GG26940@securecomputing.com \
    --to=david_mccullough@securecomputing.com \
    --cc=Ahsan.Kabir@freescale.com \
    --cc=eranpublic@yahoo.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=ocf-linux-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox