<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/net/llc.h, branch v3.0.62</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/net/llc.h?h=v3.0.62</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/net/llc.h?h=v3.0.62'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-12-27T04:46:28Z</updated>
<entry>
<title>llc: convert llc_sap_list to RCU</title>
<updated>2009-12-27T04:46:28Z</updated>
<author>
<name>Octavian Purdila</name>
<email>opurdila@ixiacom.com</email>
</author>
<published>2009-12-26T11:51:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8beb9ab6c2df203e8d68cb1f48cf42604a6bed86'/>
<id>urn:sha1:8beb9ab6c2df203e8d68cb1f48cf42604a6bed86</id>
<content type='text'>
Signed-off-by: Octavian Purdila &lt;opurdila@ixiacom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>llc: replace the socket list with a local address based hash</title>
<updated>2009-12-27T04:45:32Z</updated>
<author>
<name>Octavian Purdila</name>
<email>opurdila@ixiacom.com</email>
</author>
<published>2009-12-26T11:51:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=52d58aef5ee460fedd7f250f05e79081019f2c79'/>
<id>urn:sha1:52d58aef5ee460fedd7f250f05e79081019f2c79</id>
<content type='text'>
For the cases where a lot of interfaces are used in conjunction with a
lot of LLC sockets bound to the same SAP, the iteration of the socket
list becomes prohibitively expensive.

Replacing the list with a a local address based hash significantly
improves the bind and listener lookup operations as well as the
datagram delivery.

Connected sockets delivery is also improved, but this patch does not
address the case where we have lots of sockets with the same local
address connected to different remote addresses.

In order to keep the socket sanity checks alive and fast a socket
counter was added to the SAP structure.

Signed-off-by: Octavian Purdila &lt;opurdila@ixiacom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>llc: use a device based hash table to speed up multicast delivery</title>
<updated>2009-12-27T04:43:57Z</updated>
<author>
<name>Octavian Purdila</name>
<email>opurdila@ixiacom.com</email>
</author>
<published>2009-12-26T11:51:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6d2e3ea284463d5ab34e9cf2a41d0b8627b95d02'/>
<id>urn:sha1:6d2e3ea284463d5ab34e9cf2a41d0b8627b95d02</id>
<content type='text'>
This patch adds a per SAP device based hash table to solve the
multicast delivery scalability issue when we have large number of
interfaces and a large number of sockets bound to the same SAP.

Signed-off-by: Octavian Purdila &lt;opurdila@ixiacom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>llc: convert the socket list to RCU locking</title>
<updated>2009-12-27T04:41:43Z</updated>
<author>
<name>Octavian Purdila</name>
<email>opurdila@ixiacom.com</email>
</author>
<published>2009-12-26T11:51:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b76f5a8427ac2928c07fa4ff2144bb8db072c240'/>
<id>urn:sha1:b76f5a8427ac2928c07fa4ff2144bb8db072c240</id>
<content type='text'>
For the reclamation phase we use the SLAB_DESTROY_BY_RCU mechanism,
which require some extra checks in the lookup code:

a) If the current socket was released, reallocated &amp; inserted in
another list it will short circuit the iteration for the current list,
thus we need to restart the lookup.

b) If the current socket was released, reallocated &amp; inserted in the
same list we just need to recheck it matches the look-up criteria and
if not we can skip to the next element.

In this case there is no need to restart the lookup, since sockets are
inserted at the start of the list and the worst that will happen is
that we will iterate throught some of the list elements more then
once.

Note that the /proc and multicast delivery was not yet converted to
RCU, it still uses spinlocks for protection.

Signed-off-by: Octavian Purdila &lt;opurdila@ixiacom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[LLC]: station source mac address</title>
<updated>2008-03-28T23:28:36Z</updated>
<author>
<name>Joonwoo Park</name>
<email>joonwpark81@gmail.com</email>
</author>
<published>2008-03-28T23:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a5a04819c5740cb1aa217af2cc8f5ef26f33d744'/>
<id>urn:sha1:a5a04819c5740cb1aa217af2cc8f5ef26f33d744</id>
<content type='text'>
kill unnecessary llc_station_mac_sa.

Signed-off-by: Joonwoo Park &lt;joonwpark81@gmail.com&gt;
Acked-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[LLC]: llc_mac_hdr_init const arguments</title>
<updated>2006-03-21T06:59:36Z</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@osdl.org</email>
</author>
<published>2006-03-21T06:59:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f4ad2b162d653e4a6e57d598119e3820c65fef71'/>
<id>urn:sha1:f4ad2b162d653e4a6e57d598119e3820c65fef71</id>
<content type='text'>
Cleanup of LLC.  llc_mac_hdr_init can take constant arguments,
and it is defined twice once in llc_output.h that is otherwise unused.

Signed-off-by: Stephen Hemminger &lt;shemminger@osdl.org&gt;
Acked-by: Arnaldo Carvalho de Melo &lt;acme@mandriva.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[LLC]: Fix sparse warnings</title>
<updated>2005-09-22T08:14:33Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
<email>acme@mandriva.com</email>
</author>
<published>2005-09-22T08:14:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2928c19e1086e2f1e90d05931437ab6f1e4cfdc8'/>
<id>urn:sha1:2928c19e1086e2f1e90d05931437ab6f1e4cfdc8</id>
<content type='text'>
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@mandriva.com&gt;
</content>
</entry>
<entry>
<title>[LLC]: Use refcounting with struct llc_sap</title>
<updated>2005-09-22T07:43:05Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
<email>acme@mandriva.com</email>
</author>
<published>2005-09-22T07:43:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6e2144b76840be09924de1626e2dcd7b315f75b3'/>
<id>urn:sha1:6e2144b76840be09924de1626e2dcd7b315f75b3</id>
<content type='text'>
Signed-off-by: Jochen Friedrich &lt;jochen@scram.de&gt;
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@mandriva.com&gt;
</content>
</entry>
<entry>
<title>[LLC]: Add sysctl support for the LLC timeouts</title>
<updated>2005-09-22T07:30:44Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
<email>acme@mandriva.com</email>
</author>
<published>2005-09-22T07:30:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=590232a7150674b2036291eaefce085f3f9659c8'/>
<id>urn:sha1:590232a7150674b2036291eaefce085f3f9659c8</id>
<content type='text'>
Signed-off-by: Jochen Friedrich &lt;jochen@scram.de&gt;
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@mandriva.com&gt;
</content>
</entry>
<entry>
<title>[NET]: Kill skb-&gt;real_dev</title>
<updated>2005-08-29T22:32:25Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2005-08-10T02:34:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f2ccd8fa06c8e302116e71df372f5c1f83432e03'/>
<id>urn:sha1:f2ccd8fa06c8e302116e71df372f5c1f83432e03</id>
<content type='text'>
Bonding just wants the device before the skb_bond()
decapsulation occurs, so simply pass that original
device into packet_type-&gt;func() as an argument.

It remains to be seen whether we can use this same
exact thing to get rid of skb-&gt;input_dev as well.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
