From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: James Morris <jmorris@redhat.com>
Cc: jamal <hadi@cyberus.ca>, Michal Ludvig <michal@logix.cz>,
netdev@oss.sgi.com, cryptoapi@lists.logix.cz
Subject: Re: Asynchronous crypto layer.
Date: Tue, 14 Dec 2004 11:07:18 +0300 [thread overview]
Message-ID: <1103011638.3430.33.camel@uganda> (raw)
In-Reply-To: <Xine.LNX.4.44.0412140159470.30724-100000@thoron.boston.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]
On Tue, 2004-12-14 at 02:23 -0500, James Morris wrote:
> On Tue, 2 Nov 2004, Evgeniy Polyakov wrote:
>
> Some feedback:
>
> +#define session_completed(s) (s->ci.flags & SESSION_COMPLETED)
> +#define complete_session(s) do {s->ci.flags |= SESSION_COMPLETED;} while(0)
> +#define uncomplete_session(s) do {s->ci.flags &= ~SESSION_COMPLETED;} while (0)
> etc.
>
> Please use static inlines for all of these things.
> Are these supposed to be exported to userspace? Why?
No, they are not supposed to be exported, I will convert them.
>
> +struct crypto_conn_data
> +{
> + char name[SCACHE_NAMELEN];
> + __u16 cmd;
>
> Again, exporting to userspace?
Yes, it is part of the acrypto control over connector(netlink) protocol.
>
> + list_for_each_entry_safe(__dev, n, &cdev_list, cdev_entry)
> + {
> + if (compare_device(__dev, dev))
> + {
>
> Incorrect coding style (and many more).
Sigh... :)
<very sadly> I know, know, and will change it. </very sadly>
> As mentioned before, pluggable load balacers are not needed now, and
> complicate the code.
I am still not giving up :) -
we have several TCP congestion models, we have different IO schedulers,
we can tune routing code(although we can not change hash to tree in
runtime).
>
> - James
--
Evgeniy Polyakov
Crash is better than data corruption -- Arthur Grabowski
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-12-14 8:07 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
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 [this message]
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=1103011638.3430.33.camel@uganda \
--to=johnpol@2ka.mipt.ru \
--cc=cryptoapi@lists.logix.cz \
--cc=hadi@cyberus.ca \
--cc=jmorris@redhat.com \
--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 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.