Re: [PATCH net-next 2/2] ila: Cache a route to translated address

2016-10-14 Thread Jiri Benc
On Thu, 13 Oct 2016 23:22:14 -0700, Roopa Prabhu wrote: > This removes the last and only user of lwt orig_output. we can drop it > subsequently. But since orig_input is still in use, probably better to keep it > around for symmetry and for other uses in the future. If it's no longer used, let's

Re: [PATCH net-next 2/2] ila: Cache a route to translated address

2016-10-14 Thread Roopa Prabhu
On 10/13/16, 5:57 PM, Tom Herbert wrote: > 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.

[PATCH net-next 2/2] ila: Cache a route to translated address

2016-10-13 Thread Tom Herbert
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