[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6DD00482E4@AcuExch.aculab.com>
Date: Tue, 1 Aug 2017 14:15:05 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'David Ahern' <dsahern@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH net-next 00/10] net: l3mdev: Support for sockets bound
to enslaved device
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
Powered by blists - more mailing lists