[net-next PATCH v2] llc enhancements

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Octavian Purdila
Date: Wednesday, December 23, 2009 - 4:45 pm

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[net-next PATCH v2] llc enhancements, Octavian Purdila, (Wed Dec 23, 4:45 pm)
[net-next PATCH v2 1/9] llc: use dev_hard_header, Octavian Purdila, (Wed Dec 23, 4:45 pm)
[net-next PATCH v2 2/9] llc: add support for LLC_OPT_PKTINFO, Octavian Purdila, (Wed Dec 23, 4:45 pm)
[net-next PATCH v2 3/9] llc: add support for SO_BINDTODEVICE, Octavian Purdila, (Wed Dec 23, 4:45 pm)
[net-next PATCH v2 5/9] llc: optimize multicast delivery, Octavian Purdila, (Wed Dec 23, 4:45 pm)
[net-next PATCH v2 7/9] llc: replace the socket list with ..., Octavian Purdila, (Wed Dec 23, 4:45 pm)
[net-next PATCH v2 8/9] llc: convert llc_sap_list to RCU, Octavian Purdila, (Wed Dec 23, 4:45 pm)
Re: [net-next PATCH v2] llc enhancements, Eric Dumazet, (Thu Dec 24, 1:35 am)
Re: [net-next PATCH v2] llc enhancements, Octavian Purdila, (Thu Dec 24, 5:17 am)
Re: [net-next PATCH v2] llc enhancements, David Miller, (Fri Dec 25, 6:11 pm)