Thread (5 messages) flat view 5 messages, 2 authors, 2012-07-23

Re: [PATCH 11/16] ipv4: Cache input routes in fib_info nexthops.

From: Julian Anastasov <ja@ssi.bg>
Date: 2012-07-23 19:53:24

	Hello,

On Mon, 23 Jul 2012, Julian Anastasov wrote:
	The problem with rt_iif is worse. May be we
can cache only the first iif, other packets will see
different iif in nh_rth_input and will get non-cached
result. For boxes with 2 or more interfaces only one
can use the cache. One setup can have large traffic
from LAN, other can be server for remote clients.
	May be we can replace rt_iif with skb->dev->ifindex ?
If we have dst, there must be skb->dev ? Only for
output routes we should check places that rely on
inet_iif().

Regards

--
Julian Anastasov [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help