On 14-Nov-2003 Brooks Davis wrote:
> 
> I think is should work, but performance may be poor.  Currently,
> vlan_input() finds the correct vlan by searching the list of all vlans
> until it finds the correct one.  For that many vlans, it might be
> necessicary to modify the code to use some form of balanced tree instead
> of a simple list.  This should be fairly straight forward to fix.

Why not simply index directly into an array of 4096 pointers?  Anybody
running that many VLANs can afford the extra 16 kB per physical
interface.

John
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to