From: Patrick McHardy <kaber@trash.net>
To: hadi@cyberus.ca
Cc: "Herbert Xu" <herbert@gondor.apana.org.au>,
"David Miller" <davem@davemloft.net>,
"Timo Teräs" <timo.teras@iki.fi>,
netdev@vger.kernel.org
Subject: Re: [RFC]: xfrm by mark
Date: Mon, 08 Feb 2010 14:30:44 +0100 [thread overview]
Message-ID: <4B701204.6000106@trash.net> (raw)
In-Reply-To: <1265567522.3688.27.camel@bigi>
jamal wrote:
> 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.
If you simply add the mark to the lookup key, it will break
existing setups already using marks. I'd suggest to also add
a mask which is initialized to 0 when no mark attribute is
present.
next prev parent reply other threads:[~2010-02-08 13:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-07 18:32 [RFC]: xfrm by mark jamal
2010-02-08 13:30 ` Patrick McHardy [this message]
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=4B701204.6000106@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=hadi@cyberus.ca \
--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 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.