From: "David S. Miller" <davem@redhat.com> To: niv@us.ibm.com Cc: linux-kernel@vger.kernel.org Subject: Re: [ANNOUNCE] NF-HIPAC: High Performance Packet Classification Date: Wed, 25 Sep 2002 17:03:36 -0700 (PDT) [thread overview] Message-ID: <20020925.170336.77023245.davem@redhat.com> (raw) In-Reply-To: <3D924F9D.C2DCF56A@us.ibm.com> From: "Nivedita Singhvi" <niv@us.ibm.com> Date: 25 Sep 2002 17:06:53 -0700 ... > Everything, from packet forwarding, to firewalling, to TCP socket > packet receive, can be described with routes. It doesn't make sense > for forwarding, TCP, netfilter, and encapsulation schemes to duplicate > all of this table lookup logic and in fact it's entirely superfluous. Are you saying combine the tables themselves? One of the tradeoffs would be serialization of the access, then, right? i.e. Much less stuff could happen in parallel? Or am I completely misunderstanding your proposal? In fact the exact opposite, such a suggested flow cache is about as parallel as you can make it. Even if the per-cpu toplevel flow cache idea were not implemented and we used the current top-level route lookup infrastructure, it is fully parallelized since the toplevel hash table uses per-hashchain locks. Please see net/ipv4/route.c:ip_route_input() and friends. I don't understand why you think using the routing tables to their full potential would imply serialization. If you still believe this you have to describe why in more detail.
next prev parent reply other threads:[~2002-09-26 0:04 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-09-26 0:06 Nivedita Singhvi 2002-09-26 0:03 ` David S. Miller [this message] 2002-09-26 0:50 ` Nivedita Singhvi 2002-09-26 0:40 ` David S. Miller 2002-09-26 1:09 ` Nivedita Singhvi [not found] <3D924F9D.C2DCF56A@us.ibm.com.suse.lists.linux.kernel> [not found] ` <20020925.170336.77023245.davem@redhat.com.suse.lists.linux.kernel> 2002-09-26 0:31 ` Andi Kleen 2002-09-26 0:29 ` David S. Miller 2002-09-26 0:46 ` Andi Kleen 2002-09-26 0:44 ` David S. Miller 2002-09-26 9:00 ` Roberto Nibali 2002-09-26 9:06 ` David S. Miller 2002-09-26 9:24 ` Roberto Nibali 2002-09-26 9:21 ` David S. Miller 2002-09-26 15:13 ` James Morris 2002-09-26 20:51 ` Roberto Nibali 2002-09-26 10:25 ` Roberto Nibali 2002-09-26 10:20 ` David S. Miller 2002-09-26 10:49 ` Roberto Nibali 2002-09-26 12:03 ` jamal 2002-09-26 20:23 ` Roberto Nibali 2002-09-27 13:57 ` jamal 2002-09-26 12:04 ` Andi Kleen 2002-09-26 20:49 ` Roberto Nibali 2002-09-30 17:36 ` Bill Davidsen 2002-10-02 17:37 ` Roberto Nibali 2002-09-26 1:17 ` Nivedita Singhvi 2002-09-26 1:15 ` Andi Kleen
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=20020925.170336.77023245.davem@redhat.com \ --to=davem@redhat.com \ --cc=linux-kernel@vger.kernel.org \ --cc=niv@us.ibm.com \ --subject='Re: [ANNOUNCE] NF-HIPAC: High Performance Packet Classification' \ /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
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).