[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B727D@saturn3.aculab.com>
Date: Fri, 7 Jun 2013 15:09:02 +0100
From: "David Laight" <David.Laight@...LAB.COM>
To: "Eric Dumazet" <eric.dumazet@...il.com>
Cc: "Mike Galbraith" <bitbucket@...ine.de>,
"Vitaly V. Bursov" <vitalyb@...enet.dn.ua>,
<linux-kernel@...r.kernel.org>, "netdev" <netdev@...r.kernel.org>
Subject: RE: Scaling problem with a lot of AF_PACKET sockets on different interfaces
> > Looks like the ptype_base[] should be per 'dev'?
> > Or just put entries where ptype->dev != null_or_dev on a per-interface
> > list and do two searches?
>
> Yes, but then we would have two searches instead of one in fast path.
Usually it would be empty - so the search would be very quick!
David
Powered by blists - more mailing lists