Netdev List
 help / color / mirror / Atom feed
* Regarding Routing cache
@ 2011-11-17  5:00 Ajith Adapa
  2011-11-17  6:04 ` Ajith Adapa
  0 siblings, 1 reply; 4+ messages in thread
From: Ajith Adapa @ 2011-11-17  5:00 UTC (permalink / raw)
  To: netdev

Hi,

I have a small doubt regarding routing cache in linux kernel.

It seems ip_route_connect is the way we have to access routing cache
entries. In case of all locally generated packets I see that struct
dst_entry is filled up with a lookup in routing cache.

What about in case of forwarding packets ? I dont see any usage of
routing cache mechanism to fill up the struct dst_entry. So it seems
we directly check the fib_rules or fib table to fill the structure.
If it is true then it would be very slow right ?

Sorry if I am wrong about above findings. Do correct me if I am wrong about it ?

Regards,
Ajith

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-17  7:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17  5:00 Regarding Routing cache Ajith Adapa
2011-11-17  6:04 ` Ajith Adapa
2011-11-17  6:26   ` Eric Dumazet
     [not found]     ` <CADAe=+Jc0YinguPhTuv3sNA2bgEuuTpY9ocE7-_z-uKnsyC7Lw@mail.gmail.com>
2011-11-17  7:26       ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox