netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC]: xfrm by mark
@ 2010-02-07 18:32 jamal
  2010-02-08 13:30 ` Patrick McHardy
  0 siblings, 1 reply; 7+ messages in thread
From: jamal @ 2010-02-07 18:32 UTC (permalink / raw)
  To: Herbert Xu, David Miller; +Cc: Timo Teräs, netdev

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-02-08 15:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-07 18:32 [RFC]: xfrm by mark jamal
2010-02-08 13:30 ` 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

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).