All of lore.kernel.org
 help / color / mirror / Atom feed
From: David McCullough <David_Mccullough@securecomputing.com>
To: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: linux-crypto@vger.kernel.org, Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: [1/1] HIFN 795x driver.
Date: Mon, 8 Oct 2007 11:19:26 +1000	[thread overview]
Message-ID: <20071008011926.GD31206@securecomputing.com> (raw)
In-Reply-To: <20071002105431.GA28803@2ka.mipt.ru>


Jivin Evgeniy Polyakov lays it down ...
...
> >   ACRYPTO_TYPE_AES_??? depending on ctx->current_key_len. Good.
> > - You need a software queue in case your HW queue is full and you receive
> >   a requests which you may not drop. Currently you don't consider
> >   CRYPTO_TFM_REQ_MAY_BACKLOG (it is fine if you can process all requests
> >   no mater what).
> 
> That is what I do not like, but will implement.

I have to agree, you cannot queue crypto forever (no drops),  it's too
slow.

There is a similar queue in OCF and unless you put a limit on it's size
you can easily run you system out of memory.  The Q needs a configurable
limit of some kind.  Flood ping an ipsec tunnel and the crypto is where
all the data will bank up.

If I understand what you are asking Evgeniy to do,  you will be
putting the logic for managing the Q into every driver.  Sounds like
something that needs to move up a level ?

Cheers,
Davidm

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

  reply	other threads:[~2007-10-08  1:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-01 12:48 [1/1] HIFN 795x driver Evgeniy Polyakov
2007-10-01 12:51 ` Tcrypt output for " Evgeniy Polyakov
2007-10-01 13:15   ` Herbert Xu
2007-10-01 13:23     ` Evgeniy Polyakov
2007-10-01 12:57 ` [1/1] " Evgeniy Polyakov
2007-10-01 20:22 ` Sebastian Siewior
2007-10-02 10:54   ` Evgeniy Polyakov
2007-10-08  1:19     ` David McCullough [this message]
2007-10-08  2:57       ` Herbert Xu

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=20071008011926.GD31206@securecomputing.com \
    --to=david_mccullough@securecomputing.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=johnpol@2ka.mipt.ru \
    --cc=linux-crypto@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.