netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jamal Hadi Salim <jhs@mojatatu.com>
To: John Fastabend <john.fastabend@gmail.com>,
	David Miller <davem@davemloft.net>
Cc: therbert@google.com, davidch@broadcom.com,
	simon.horman@netronome.com, dev@openvswitch.org,
	netdev@vger.kernel.org, pablo@netfilter.org
Subject: Re: [ovs-dev] OVS Offload Decision Proposal
Date: Thu, 05 Mar 2015 07:37:53 -0500	[thread overview]
Message-ID: <54F84E21.7030207@mojatatu.com> (raw)
In-Reply-To: <54F80815.5030208@gmail.com>

On 03/05/15 02:39, John Fastabend wrote:

>
> The intent was to reserve space in the tables for l2, l3, user space,
> and whatever else is needed. This reservation needs to come from the
> administrator because even the kernel doesn't know how much of my
> table space I want to reserve for l2 vs l3 vs tc vs ... The sizing
> of each of these tables will depend on the use case. If I'm provisioning
> L3 networks I may want to create a large l3 table and no 'tc' table.
> If I'm building a firewall box I might want a small l3 table and a
> large 'tc' table. Also depending on how wide I want my matches in the
> 'tc' case I may consume more or less resources in the hardware.
>

Would kernel boot/module options passed to the driver not suffice?
That implies a central authority that decides what these table size
slicing looks like.

> Once the reservation of resources occurs we wouldn't let user space
> arbitrarily write to any table but only tables that have been
> explicitly reserved for user space to write to.
>

How would one allow for a bypass to create tables (a write command)
but not to write to said tables? likely i am missing something
subtle.

cheers,
jamal

  reply	other threads:[~2015-03-05 12:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04  1:18 OVS Offload Decision Proposal Simon Horman
2015-03-04 16:45 ` Tom Herbert
2015-03-04 19:07   ` John Fastabend
2015-03-04 21:36     ` Tom Herbert
2015-03-05  1:58       ` John Fastabend
2015-03-06  0:44         ` Neil Horman
     [not found]           ` <20150306004425.GB6785-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-06-17 14:44             ` Neelakantam Gaddam
2015-03-05  0:04   ` [ovs-dev] " David Christensen
     [not found]     ` <3A5015FE9E557D448AF7238AF0ACE20A2D8AE08A-Wwdb2uEOBX+nNEFK5l6JbL1+IgudQmzARxWJa1zDYLQ@public.gmane.org>
2015-03-05  1:54       ` John Fastabend
2015-03-05  5:00         ` [ovs-dev] " David Miller
2015-03-05  5:20           ` Tom Herbert
2015-03-05  6:42             ` David Miller
2015-03-05  7:39               ` John Fastabend
2015-03-05 12:37                 ` Jamal Hadi Salim [this message]
2015-03-05 13:16                   ` Jamal Hadi Salim
2015-03-05 14:52                     ` John Fastabend
2015-03-05 16:33                       ` B Viswanath
2015-03-05 17:45                         ` B Viswanath
     [not found]                           ` <CAN+pFw+LDAiebOzFF+DD81vJp7y0OfVg=5BE0m47B2ZUp6zpeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-05 19:21                             ` David Miller

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=54F84E21.7030207@mojatatu.com \
    --to=jhs@mojatatu.com \
    --cc=davem@davemloft.net \
    --cc=davidch@broadcom.com \
    --cc=dev@openvswitch.org \
    --cc=john.fastabend@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=simon.horman@netronome.com \
    --cc=therbert@google.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).