Should VLANs be devices or some other thing?
I strongly feel that they should be devices for many reasons.
1) It makes integration with user-space tools (ip, ifconfig, arp...) a non-issue.
2) It is logically correct, a VLAN is a (net_)device and in all ways acts like one.
3) It introduces no fast-path performance degradation that I know of. The one
slow path involves the linear lookup of a device by name (or id??). This can
be fixed by hashing the list, if needed.
4) Both VLAN patches have used VLANs-as-devices from the beginning, and have
seen no ill affects to this approach that would be mitigated by some other
architecture.
However, we need the community as a whole to agree more-or-less that my
(and others who share them) arguments are sound. So please, bring your
complaints fowards now...or forever patch by hand!
Also, any other complaints or suggestions for the VLAN code should be
mentioned too, of course!
If you wish to view the patch, get the 1.0.1 release from my vlan page:
http://scry.wanfear.com/~greear/vlan.html
I will release a new one shortly with the fast-dev-lookup code
(which is already #ifdef'd out) completely removed, as per Dave's
wish.
Thanks,
Ben
-- Ben Greear <greearb@candelatech.com> <Ben_Greear@excite.com> President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/