On 10/17/2016 07:17 PM, Tom Herbert wrote: >> > + err = ip6_dst_lookup(net, sk, &dst, &fl6); > Please look at the use of dst_cache that I added in ila_lwt.c, I think > the SR has similar properties and might be able to use dst_cache which > is a significant performance improvement when source packets from a > connected socket. The dst_cache will work in LWT as long as the new > destination address is the same and other input to routing (saddr, > flow label, mark, etc.) are either always the same or assumed to be > immaterial to lookup of the second route. >
Great, thanks :)
signature.asc
Description: OpenPGP digital signature