Thread (15 messages) flat view 15 messages, 3 authors, 2017-08-04

RE: [PATCH net-next 00/10] net: l3mdev: Support for sockets bound to enslaved device

From: David Laight <hidden>
Date: 2017-08-01 14:15:11

From: David Ahern
Sent: 01 August 2017 04:13
...
Existing code for socket lookups already pass in 6+ arguments. Rather
than add another for the enslaved device index, the existing lookups
are converted to use a new sk_lookup struct. From there, the enslaved
device index becomes another element of the struct.

Patch 1 introduces sk_lookup struct and helper.
I guess that socket lookup happens quite often!
Passing the lookup parameters in a structure might have a
measurable negative effect on performance - especially if the
structure isn't passed through to other functions.

Have you made any performance mearurements?

	David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help