public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: Herbert Xu <herbert@gondor.apana.org.au>,
	David Miller <davem@davemloft.net>
Cc: "Timo Teräs" <timo.teras@iki.fi>, netdev@vger.kernel.org
Subject: [RFC]: xfrm by mark
Date: Sun, 07 Feb 2010 13:32:02 -0500	[thread overview]
Message-ID: <1265567522.3688.27.camel@bigi> (raw)

Hi,

While catching up with old netdev threads I noticed this one:
http://marc.info/?l=linux-netdev&m=125621829709171&w=2
I had a chat with Timo and he is too busy on other things at
the moment. I have some cycles to burn and would like to pursue
this unless there is objection to the general idea. I am interested
because I would like to see most of the net stack capable of 
reference by mark. I am posting this so i can get a general
pulse before i go off coding.

Approach:
- introduce attribute XFRMA_MARK
- both SPD and SAD will have new entries ->mark
- by default mark is 0, so backward compat for 
control add/get/del as well as fast path lookup continues.
I dont plan to touch pfkey i.e anything injected by pfkey
will use default mark of 0.
- a sysctl to turn off this feature doesnt seem necessary
since the cycles added by the fast path lookup dont seem
to be much more..

Timo, please chime in with anything i may have missed.


cheers,
jamal


             reply	other threads:[~2010-02-07 18:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-07 18:32 jamal [this message]
2010-02-08 13:30 ` [RFC]: xfrm by mark Patrick McHardy
2010-02-08 14:58   ` jamal
2010-02-08 15:00     ` Patrick McHardy
2010-02-08 15:28       ` jamal
2010-02-08 15:35         ` Patrick McHardy
2010-02-08 15:56           ` jamal

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=1265567522.3688.27.camel@bigi \
    --to=hadi@cyberus.ca \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev@vger.kernel.org \
    --cc=timo.teras@iki.fi \
    /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