netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eugene Surovegin <ebs@ebshome.net>
To: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: Michal Ludvig <michal@logix.cz>,
	netdev@oss.sgi.com, cryptoapi@lists.logix.cz
Subject: Re: Asynchronous crypto layer.
Date: Sat, 30 Oct 2004 14:09:15 -0700	[thread overview]
Message-ID: <20041030210915.GE6256@gate.ebshome.net> (raw)
In-Reply-To: <20041031011719.07858890@zanzibar.2ka.mipt.ru>

On Sun, Oct 31, 2004 at 01:17:19AM +0400, Evgeniy Polyakov wrote:
> On Sat, 30 Oct 2004 13:39:06 -0700
> Eugene Surovegin <ebs@ebshome.net> wrote:
> 
> > On Fri, Oct 29, 2004 at 07:27:41PM +0400, Evgeniy Polyakov wrote:
> > > but it was designed to be usefull only in custom MX box, 
> > 
> > This is not true. I coded it using Hifn PCI card plugged in 440GP eval 
> > board as well in P4 2.6 GHz box.
> > 
> > Driver isn't perfect, it's quite simple, I suspended all work on it 
> > because without async crypto it doesn't make a lot of sense.
> > 
> > > so it has some design notes that I do not agree with.
> > 
> > And they are (I know there are problems, just curious which ones you 
> > "don't agree with") ? 
> 
> It supports only one card, 

Yes, and comment says it trivially fixed  :)

> it has very nontrivial locking, 

locking is really simple, it was obviously done for current sync 
crypto layer.

> which may(I'm not sure after just finished diagonal review) lead to 
> too big latencies,

Huh?
 
> hifn_cipher() can not work with any other crypto design, 

Well, this funny one :). Of course it cannot, because none existed 
when I wrote it. 

If your async stuff will be accepted into the official kernel tree 
I'll re-write it ASAP.

> I doubt it can  work with other card capabilities other then you 
> have implemented without major rewrite.

Hmm, what do you mean "other" card? It's written for particular 
Hifn chip. I wrote it for IPSec acceleration in mind. Some algorithms 
aren't supported (compression for example), because we don't use 
them.

> I'm quite sure it is good driver for current crypto schema, but if
> acrypto will be committed it could not work without complete rewrite.

Yes, that's true :). That's the reason I never officially announced it, 
because current one is quite trivial, and there are a lot of things 
which can be improved upon, after async crypto is in, and IPSec uses 
it.

--
Eugene

  reply	other threads:[~2004-10-30 21:09 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-29  6:22 Asynchronous crypto layer Evgeniy Polyakov
2004-10-29 12:42 ` jamal
2004-10-29 14:06   ` Evgeniy Polyakov
2004-10-29 14:03     ` Michal Ludvig
2004-10-29 14:36       ` Evgeniy Polyakov
2004-10-29 14:53         ` Michal Ludvig
2004-10-29 15:11           ` jamal
2004-10-29 15:27           ` Evgeniy Polyakov
2004-10-30 20:39             ` Eugene Surovegin
2004-10-30 21:17               ` Evgeniy Polyakov
2004-10-30 21:09                 ` Eugene Surovegin [this message]
2004-10-30 21:46                   ` Evgeniy Polyakov
2004-10-29 15:08     ` jamal
2004-10-29 15:37       ` Evgeniy Polyakov
2004-10-29 15:28         ` Michal Ludvig
2004-10-29 16:16       ` James Morris
2004-10-29 16:45         ` Evgeniy Polyakov
2004-10-29 20:00           ` Sam Leffler
2004-10-31  6:09             ` James Morris
2004-10-31  6:35               ` Sam Leffler
2004-10-30 20:35     ` Eugene Surovegin
2004-10-30 21:04       ` Evgeniy Polyakov
2004-10-30 20:56         ` Eugene Surovegin
2004-10-30 21:24           ` Evgeniy Polyakov
2004-10-30 23:41             ` jamal
2004-10-31  9:13               ` Evgeniy Polyakov
2004-10-31 10:46                 ` Michal Ludvig
2004-10-31 15:03                   ` jamal
2004-10-31 16:07                     ` James Morris
2004-11-01  6:01                     ` Evgeniy Polyakov
2004-10-31 15:36                   ` Michael Richardson
2004-10-31 16:09                     ` James Morris
2004-10-31 14:56                 ` jamal
2004-11-01  5:12                   ` Evgeniy Polyakov
2004-10-29 17:44 ` James Morris
2004-10-29 17:46   ` James Morris
2004-10-30  5:20     ` Evgeniy Polyakov
2004-10-31  5:43       ` James Morris
2004-10-30  5:19   ` Evgeniy Polyakov
2004-10-30  8:34     ` Evgeniy Polyakov
2004-10-30  8:36       ` Evgeniy Polyakov
2004-10-30 16:57     ` Michal Ludvig
2004-10-30 17:40       ` Evgeniy Polyakov
2004-10-30 20:17         ` Michal Ludvig
2004-10-30 20:56           ` Evgeniy Polyakov
2004-10-30 19:42       ` James Morris
2004-10-29 19:56 ` Sam Leffler
2004-10-30  6:16   ` Christoph Hellwig
2004-10-30 20:37 ` Evgeniy Polyakov
2004-10-31 16:05 ` James Morris
2004-11-01  5:58   ` Evgeniy Polyakov
2004-12-14  6:56     ` James Morris
2004-12-14  7:58       ` Evgeniy Polyakov
2004-11-02 15:24 ` Evgeniy Polyakov
2004-11-02 16:12 ` Evgeniy Polyakov
2004-12-14  7:23   ` James Morris
2004-12-14  8:07     ` Evgeniy Polyakov

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=20041030210915.GE6256@gate.ebshome.net \
    --to=ebs@ebshome.net \
    --cc=cryptoapi@lists.logix.cz \
    --cc=johnpol@2ka.mipt.ru \
    --cc=michal@logix.cz \
    --cc=netdev@oss.sgi.com \
    /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;
as well as URLs for NNTP newsgroup(s).