RE: Scaling problem with a lot of AF_PACKET sockets on different interfaces
From: David Laight
Date: Fri Jun 07 2013 - 10:09:52 EST
> > 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!