This patch modifies the LLC code to scale the socket lookup code for a large number of interfaces and large number of sockets bound to the same SAP. We use it for STP traffic generation from a large number of virtual STP ports, via virtual network interfaces. In the process we converted the socket lookup code and sap list to use RCU. It also contains some general cleanups (use dev_hard_header instead of handcrafting the headers) and enhancements (LLC_OPT_PKTINFO). This is the 2nd version. Changes from the previous version: - added SO_BINDTODEVICE support for faster bind operations - converted the socket lookup code and sap list to RCU - optimized multicast delivery ala Eric - remove some unused APIs (which should be private anyway) Many thanks to Eric Dumazet for his continuous guidance and to Jarek Poplawski for spotting a locking bug in the previous version. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
