<div>Just a few more top results from Google:</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-size: medium; font-family: arial, sans-serif; "><ol id="rso" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; ">
<li class="g w0" id="mbb4" style="margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; line-height: 1.2; list-style-type: none; list-style-position: initial; list-style-image: initial; font-size: small; font-family: arial, sans-serif; ">
</li><li class="g w0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; line-height: 1.2; list-style-type: none; list-style-position: initial; list-style-image: initial; font-size: small; font-family: arial, sans-serif; ">
<div class="vsc" style="display: inline-block; position: relative; width: 711px; "><span class="b w xsm" style="color: rgb(34, 0, 193); font-weight: bold; font-size: x-small; cursor: pointer; ">PDF]</span>&nbsp;<span class="tl" style="position: relative; "><h3 class="r" style="font-size: medium; font-weight: normal; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">
<a href="http://www.ecsl.cs.sunysb.edu/elibrary/linux/network/LinuxKernel.pdf" class="l vst" style="color: rgb(85, 26, 139); cursor: pointer; "><em style="font-weight: bold; font-style: normal; ">Linux Networking Kernel</em></a></h3>
<button class="esw eswd eswh" title="Recommend this page" id="gbpwm_0" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; display: inline; height: 15px; margin-left: 5px; overflow-x: hidden; overflow-y: hidden; width: 24px; vertical-align: 0px; background-image: url(http://www.google.com/images/experiments/p1/p1sprite.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: -400px 0px; background-repeat: initial initial; "></button><button class="vspib" style="background-image: url(http://www.google.com/images/experiments/nav_logo78.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; padding-right: 0px; cursor: pointer; display: inline; height: 13px; margin-left: 5px; margin-right: 3px; vertical-align: 0px; width: 13px; background-position: -35px -213px; background-repeat: no-repeat no-repeat; "></button></span><div class="s" style="max-width: 42em; ">
<div class="f kv" style="color: rgb(156, 156, 156); display: block; margin-bottom: 2px; "><cite style="color: rgb(14, 119, 74); font-style: normal; "><a href="http://www.ecsl.cs.sunysb.edu/elibrary/">www.ecsl.cs.sunysb.edu/elibrary/</a><b>linux</b>/<b>network</b>/<b>LinuxKernel</b>.pdf</cite></div>
<span class="f" style="color: rgb(156, 156, 156); ">File Format:</span>&nbsp;PDF/Adobe Acrobat -&nbsp;<a href="http://docs.google.com/viewer?a=v&amp;q=cache:rPjsDeXMwX4J:www.ecsl.cs.sunysb.edu/elibrary/linux/network/LinuxKernel.pdf+site:edu+linux+network+kernel&amp;hl=en&amp;pid=bl&amp;srcid=ADGEESjbe8Z2URFw5UVSwywP7yHT9n8RsezQIDPbPpZDRwLy_VXiV1EuY7cFeoqO9wYVB8nsY8EYsabzFk3b7yNp1LBQK490GrzWNcaTs-Oj9xJaVNg5xhj04-sXkjQcZMp2mobveUn5&amp;sig=AHIEtbSWXp4miewJqdrcaUOawia3aOYxnA" class="fl" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">Quick View</a><br>
<span class="st" style="line-height: 1.24; "><em style="font-weight: bold; font-style: normal; ">Linux Networking Kernel</em>. Version 0.1. February, 12, 2003&nbsp;<b>...</b>&nbsp;This report tries to describe the Networking part of the&nbsp;<em style="font-weight: bold; font-style: normal; ">linux networking kernel</em>. We try&nbsp;<b>...</b><br>
</span></div></div><div><span class="so f" style="color: rgb(156, 156, 156); margin-top: 4px; position: relative; white-space: normal; ">You visited this page on 7/21/11.</span></div></li><li class="g w0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; line-height: 1.2; list-style-type: none; list-style-position: initial; list-style-image: initial; font-size: small; font-family: arial, sans-serif; ">
<div class="vsc" style="display: inline-block; position: relative; width: 711px; "><div class="vspi" style="bottom: -5px; left: -8px; position: absolute; right: -8px; top: -5px; z-index: -1; "></div><span class="tl" style="position: relative; "><h3 class="r" style="font-size: medium; font-weight: normal; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">
<a href="http://www.cs.utexas.edu/users/ygz/378-03S/" class="l" style="color: rgb(34, 0, 193); cursor: pointer; ">CS378 (Spring 03):&nbsp;<em style="font-weight: bold; font-style: normal; ">Linux Kernel</em>&nbsp;Programming</a></h3>
<button class="esw eswd" title="Recommend this page" id="gbpwm_1" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; display: inline; height: 15px; margin-left: 5px; overflow-x: hidden; overflow-y: hidden; width: 24px; vertical-align: 0px; background-image: url(http://www.google.com/images/experiments/nav_logo78.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 0px -243px; background-repeat: initial initial; "></button><button class="vspib" style="background-image: url(http://www.google.com/images/experiments/nav_logo78.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; padding-right: 0px; cursor: pointer; display: inline; height: 13px; margin-left: 5px; margin-right: 3px; vertical-align: 0px; width: 13px; background-position: -19px -213px; background-repeat: no-repeat no-repeat; "></button></span><div class="s" style="max-width: 42em; ">
<div class="f kv" style="color: rgb(156, 156, 156); display: block; margin-bottom: 2px; "><cite style="color: rgb(14, 119, 74); font-style: normal; "><a href="http://www.cs.utexas.edu/users/ygz/378-03S/">www.cs.utexas.edu/users/ygz/378-03S/</a></cite><span class="gl" style="white-space: nowrap; ">&nbsp;-&nbsp;<a href="http://webcache.googleusercontent.com/search?q=cache:WVgIqgkOU3AJ:www.cs.utexas.edu/users/ygz/378-03S/+site:edu+linux+network+kernel&amp;cd=2&amp;hl=en&amp;ct=clnk&amp;source=www.google.com" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">Cached</a></span></div>
<span class="st" style="line-height: 1.24; ">CS378&nbsp;<em style="font-weight: bold; font-style: normal; ">Linux Kernel</em>&nbsp;Programming (Spring 03). MF 12:00-1:30P&nbsp;<b>...</b>&nbsp;Mar/17 M, 16:&nbsp;<em style="font-weight: bold; font-style: normal; ">Linux Networking</em>, Group Project 4 due. Mar/21 F, 17:&nbsp;<em style="font-weight: bold; font-style: normal; ">Linux Networking</em>&nbsp;<b>...</b><br>
</span></div></div></li><li class="g w0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 16px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; line-height: 1.2; list-style-type: none; list-style-position: initial; list-style-image: initial; font-size: small; font-family: arial, sans-serif; ">
<div class="vsc" style="display: inline-block; position: relative; width: 711px; "><div class="vspi" style="bottom: -5px; left: -8px; position: absolute; right: -8px; top: -5px; z-index: -1; "></div><span class="b w xsm" style="color: rgb(34, 0, 193); font-weight: bold; font-size: x-small; cursor: pointer; ">[PDF]</span>&nbsp;<span class="tl" style="position: relative; "><h3 class="r" style="font-size: medium; font-weight: normal; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">
<a href="http://www.cs.illinois.edu/~caesar/courses/CS598.S11/slides/raoul_kernel_slides.pdf" class="l" style="color: rgb(34, 0, 193); cursor: pointer; "><em style="font-weight: bold; font-style: normal; ">Linux Kernel Networking</em></a></h3>
<button class="esw eswd" title="Recommend this page" id="gbpwm_2" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; display: inline; height: 15px; margin-left: 5px; overflow-x: hidden; overflow-y: hidden; width: 24px; vertical-align: 0px; background-image: url(http://www.google.com/images/experiments/nav_logo78.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 0px -243px; background-repeat: initial initial; "></button><button class="vspib" style="background-image: url(http://www.google.com/images/experiments/nav_logo78.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; padding-right: 0px; cursor: pointer; display: inline; height: 13px; margin-left: 5px; margin-right: 3px; vertical-align: 0px; width: 13px; background-position: -19px -213px; background-repeat: no-repeat no-repeat; "></button></span><div class="s" style="max-width: 42em; ">
<div class="f kv" style="color: rgb(156, 156, 156); display: block; margin-bottom: 2px; "><cite style="color: rgb(14, 119, 74); font-style: normal; "><a href="http://www.cs.illinois.edu/~caesar/courses/CS598.S11/.../raoul_">www.cs.illinois.edu/~caesar/courses/CS598.S11/.../raoul_</a><b>kernel</b>_slides.pdf</cite></div>
<span class="f" style="color: rgb(156, 156, 156); ">File Format:</span>&nbsp;PDF/Adobe Acrobat -&nbsp;<a href="http://docs.google.com/viewer?a=v&amp;q=cache:4CLlPrhKgE8J:www.cs.illinois.edu/~caesar/courses/CS598.S11/slides/raoul_kernel_slides.pdf+site:edu+linux+network+kernel&amp;hl=en&amp;pid=bl&amp;srcid=ADGEESjx6BIUgUseVN9FgNr0yUl16tRCDvmEBeVPbAu6zPmrlmtlxRWJj60MSggNSd8z4grxSCR8nTZBo7RT3UOCE2aedUT4SnBx-f6B5TA849kJA5SZ9fXaZ7gFtAlHh9ULO7zEBaL-&amp;sig=AHIEtbQxihNgeGeylYvCZgZ6aBUjryWnJg" class="fl" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">Quick View</a><br>
<span class="st" style="line-height: 1.24; ">User Space and&nbsp;<em style="font-weight: bold; font-style: normal; ">Kernel</em>&nbsp;Space. ●. Running Context in the&nbsp;<em style="font-weight: bold; font-style: normal; ">Kernel</em>. ●. Locking. ●. Deferring Work. ●.&nbsp;<em style="font-weight: bold; font-style: normal; ">Linux Network</em>&nbsp;Architecture&nbsp;<b>...</b><br>
</span></div></div></li><li class="g w0" id="mbb4" style="margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; line-height: 1.2; list-style-type: none; list-style-position: initial; list-style-image: initial; font-size: small; font-family: arial, sans-serif; ">
<div class="vsc" style="display: inline-block; position: relative; width: 711px; "><div class="vspi" style="bottom: -5px; left: -8px; position: absolute; right: -8px; top: -5px; z-index: -1; "></div><span class="b w xsm" style="color: rgb(34, 0, 193); font-weight: bold; font-size: x-small; cursor: pointer; ">[PDF]</span>&nbsp;<span class="tl" style="position: relative; "><h3 class="r" style="font-size: medium; font-weight: normal; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: inline; ">
<a href="http://courses.engr.illinois.edu/ece435/Labs/lab3_notes_kernel.pdf" class="l" style="color: rgb(34, 0, 193); cursor: pointer; "><em style="font-weight: bold; font-style: normal; ">Network</em>&nbsp;Operations in the 2.6&nbsp;<em style="font-weight: bold; font-style: normal; ">Linux Kernel</em></a></h3>
<button class="esw eswd" title="Recommend this page" id="gbpwm_3" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; display: inline; height: 15px; margin-left: 5px; overflow-x: hidden; overflow-y: hidden; width: 24px; vertical-align: 0px; background-image: url(http://www.google.com/images/experiments/nav_logo78.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 0px -243px; background-repeat: initial initial; "></button></span><div class="s" style="max-width: 42em; ">
<div class="f kv" style="color: rgb(156, 156, 156); display: block; margin-bottom: 2px; "><cite style="color: rgb(14, 119, 74); font-style: normal; "><a href="http://courses.engr.illinois.edu/ece435/Labs/lab3_notes_">courses.engr.illinois.edu/ece435/Labs/lab3_notes_</a><b>kernel</b>.pdf</cite></div>
<span class="f" style="color: rgb(156, 156, 156); ">File Format:</span>&nbsp;PDF/Adobe Acrobat -&nbsp;<a href="http://webcache.googleusercontent.com/search?q=cache:iGcAb6FiPjQJ:courses.engr.illinois.edu/ece435/Labs/lab3_notes_kernel.pdf+site:edu+linux+network+kernel&amp;cd=4&amp;hl=en&amp;ct=clnk&amp;source=www.google.com" class="fl" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">View as HTML</a><br>
<span class="st" style="line-height: 1.24; ">Lab 3:&nbsp;<em style="font-weight: bold; font-style: normal; ">Networks</em>&nbsp;Operations in&nbsp;<em style="font-weight: bold; font-style: normal; ">Linux Kernel</em>. 1.&nbsp;<em style="font-weight: bold; font-style: normal; ">Network</em>&nbsp;Operations in the 2.6&nbsp;<b>...</b><br>
</span></div></div><div class="mbl" style="margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><div class="bl" style="display: inline; "><span class="ch" id="mbl4" style="cursor: pointer; display: inline-block; "></span></div>
</div></li></ol></span><br><div class="gmail_quote">On Tue, Jul 19, 2011 at 8:32 PM, jiangtao.jit <span dir="ltr">&lt;<a href="mailto:jiangtao.jit@gmail.com">jiangtao.jit@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Peter:<br>
<br>
Thank you for your guide<br>
these info is really helpful for me<br>
i&#39;ll trying to learn more about networking<br>
<br>
<br>
2011-07-19<br>
jiangtao.jit<br>
<br>
发件人: Peter Teoh<br>
发送时间: 2011-07-19 &nbsp;07:37:18<br>
收件人: jiangtao.jit<br>
抄送: kernelnewbies<br>
主题: Re: problem with queue numbers between bridge, bonding and lo devices<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
On Sat, Jul 16, 2011 at 9:04 PM, jiangtao.jit &lt;<a href="mailto:jiangtao.jit@gmail.com">jiangtao.jit@gmail.com</a>&gt; wrote:<br>
<br>
Hi, all<br>
<br>
recently, i read some of the Kernel codes<br>
and i noticed that a bridge and lo device have only one queue when allocated<br>
but a bonding device can have multi queues<br>
they are all virtual devices<br>
why they can have diffrent queue numbers<br>
it confused me a lot<br>
i would really appreciate if someone could give me some guidelines<br>
thanks very much<br>
<br>
<br>
<br>
<br>
what is the purpose of a &quot;queue&quot;? &nbsp; reading the documentation:<br>
<br>
<br>
<a href="http://www.kernel.org/doc/Documentation/networking/bonding.txt" target="_blank">http://www.kernel.org/doc/Documentation/networking/bonding.txt</a><br>
<br>
<br>
each queue correspond to each physical interface &quot;ethX&quot;. &nbsp; and as all these &quot;slave&quot; interfaces share the same MAC address, packets can be sent out through any of these interface and received via another - allowing redundancies in terms of physical links. &nbsp; multiple interfaces in the same multi-queue all share the same MAC address.<br>

<br>
<br>
but the case of bridging is not really for load balancing purposes. &nbsp; &quot;bridge&quot; literally means bridging two different physical interface, so that network traffic can hop from one to the other (independent or ignorant of L3 protocol). &nbsp; each physical interface must have different MAC address, so that each &quot;queue&quot; is actually ONE interface.<br>

<br>
<br>
See:<br>
<br>
<br>
<a href="http://www.youtube.com/watch?v=luOFxh1awiA&amp;feature=related" target="_blank">http://www.youtube.com/watch?v=luOFxh1awiA&amp;feature=related</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
2011-07-16<br>
<br>
<br>
<br>
jiangtao.jit<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
Regards,<br>
Peter Teoh<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Peter Teoh<br>