linux_dsm_epyc7002/net/ipv6/ila
Tom Herbert 79ff2fc31e ila: Cache a route to translated address
Add a dst_cache to ila_lwt structure. This holds a cached route for the
translated address. In ila_output we now perform a route lookup after
translation and if possible (destination in original route is full 128
bits) we set the dst_cache. Subsequent calls to ila_output can then use
the cache to avoid the route lookup.

This eliminates the need to set the gateway on ILA routes as previously
was being done. Now we can do something like:

./ip route add 3333::2000:0:0:2/128 encap ila 2222:0:0:2 \
    csum-mode neutral-map dev eth0  ## No via needed!

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-15 17:33:41 -04:00
..
ila_common.c kcm: Use stream parser 2016-08-17 19:36:23 -04:00
ila_lwt.c ila: Cache a route to translated address 2016-10-15 17:33:41 -04:00
ila_xlat.c ila: make nla_policy const 2016-09-01 14:09:01 -07:00
ila.h ila: Perform only one translation in forwarding path 2016-06-08 00:40:34 -07:00
Makefile ila: Add generic ILA translation facility 2015-12-15 23:25:20 -05:00