XFRM Policy lookup in flowcache

From: Naji M Abdulla <hidden>
Date: 2015-10-22 17:56:00

Hi All,

I have a question regarding speeding up xfrm policy lookup in flow cache.

We are working on a product where  3 policies (in,fwd and out) are
setup per tunnel.

Tunnels comes up and down all the time, so the policy data base will
be keep changing.

Looks like there is an impact in performance since every time policy
database is changed, policies in flow cache gets invalidated. This
eventually results in almost all lookups going to policy database.

Is there any mechanism to get around this to get faster policy lookup?

thanks

--naji
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help