<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><br><pre>At&nbsp;2011-07-22&nbsp;01:27:14,"Jeff&nbsp;Haran"&nbsp;&lt;jharan@bytemobile.com&gt;&nbsp;wrote:
&gt;&gt;&nbsp;-----Original&nbsp;Message-----
&gt;&gt;&nbsp;From:&nbsp;kernelnewbies-bounces@kernelnewbies.org&nbsp;[mailto:kernelnewbies-
&gt;&gt;&nbsp;bounces@kernelnewbies.org]&nbsp;On&nbsp;Behalf&nbsp;Of&nbsp;bill
&gt;&gt;&nbsp;Sent:&nbsp;Wednesday,&nbsp;July&nbsp;20,&nbsp;2011&nbsp;11:11&nbsp;PM
&gt;&gt;&nbsp;To:&nbsp;kernelnewbies
&gt;&gt;&nbsp;Subject:&nbsp;How&nbsp;to&nbsp;generate&nbsp;PAUSE&nbsp;frame
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;Hi,&nbsp;all
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;I&nbsp;have&nbsp;a&nbsp;10G&nbsp;NIC&nbsp;card&nbsp;with&nbsp;fiber&nbsp;interface,&nbsp;this&nbsp;NIC&nbsp;is&nbsp;drived&nbsp;by&nbsp;a
&gt;private&nbsp;os
&gt;&gt;&nbsp;with&nbsp;l2&nbsp;rxonly&nbsp;forwarding&nbsp;function,
&gt;&gt;&nbsp;and&nbsp;I&nbsp;want&nbsp;to&nbsp;test&nbsp;this&nbsp;NIC&nbsp;could&nbsp;sent&nbsp;out&nbsp;PAUSE&nbsp;frame.
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;&nbsp;&nbsp;host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client
&gt;&gt;&nbsp;+--------+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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SE&nbsp;frame&nbsp;received.
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;How&nbsp;could&nbsp;I&nbsp;do&nbsp;this&nbsp;without&nbsp;any&nbsp;faster&nbsp;NIC&nbsp;card&nbsp;than&nbsp;10G?
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;thanks
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;bill
&gt;
&gt;I&nbsp;think&nbsp;you&nbsp;are&nbsp;going&nbsp;to&nbsp;have&nbsp;a&nbsp;hard&nbsp;time&nbsp;finding&nbsp;any&nbsp;host&nbsp;in&nbsp;the&nbsp;form
&gt;of&nbsp;a&nbsp;general&nbsp;purpose&nbsp;computer&nbsp;that&nbsp;can&nbsp;saturate&nbsp;a&nbsp;10G&nbsp;link.
&gt;
&gt;You&nbsp;probably&nbsp;want&nbsp;to&nbsp;look&nbsp;into&nbsp;commercial&nbsp;frame&nbsp;generators&nbsp;from
&gt;companies&nbsp;like&nbsp;Smartbits&nbsp;or&nbsp;Ixia.&nbsp;They&nbsp;have&nbsp;special&nbsp;hardware&nbsp;for&nbsp;doing
&gt;this&nbsp;kind&nbsp;of&nbsp;thing.&nbsp;These&nbsp;solutions&nbsp;aren't&nbsp;cheap&nbsp;though.
&gt;
&gt;You&nbsp;*MIGHT*&nbsp;be&nbsp;able&nbsp;to&nbsp;do&nbsp;this&nbsp;if&nbsp;you&nbsp;replaced&nbsp;host&nbsp;with&nbsp;the&nbsp;right&nbsp;10G
&gt;switch.&nbsp;I&nbsp;am&nbsp;thinking&nbsp;if&nbsp;you&nbsp;turned&nbsp;off&nbsp;spanning&nbsp;tree&nbsp;and&nbsp;then&nbsp;looped&nbsp;a
&gt;fiber&nbsp;from&nbsp;one&nbsp;of&nbsp;the&nbsp;switch&nbsp;ports&nbsp;back&nbsp;to&nbsp;another&nbsp;one,&nbsp;and&nbsp;then&nbsp;caused
&gt;a&nbsp;broadcast&nbsp;frame&nbsp;(say&nbsp;an&nbsp;ARP&nbsp;request)&nbsp;to&nbsp;be&nbsp;injected&nbsp;into&nbsp;a&nbsp;third
&gt;switch&nbsp;port,&nbsp;you&nbsp;might&nbsp;be&nbsp;able&nbsp;to&nbsp;cause&nbsp;a&nbsp;broadcast&nbsp;storm&nbsp;which&nbsp;would
&gt;hit&nbsp;client's&nbsp;interface&nbsp;and&nbsp;that&nbsp;might&nbsp;be&nbsp;a&nbsp;high&nbsp;enough&nbsp;packet&nbsp;rate&nbsp;to
&gt;make&nbsp;it&nbsp;generate&nbsp;a&nbsp;pause.&nbsp;The&nbsp;question&nbsp;then&nbsp;would&nbsp;be&nbsp;if&nbsp;the&nbsp;switch&nbsp;has
&gt;the&nbsp;right&nbsp;software&nbsp;to&nbsp;report&nbsp;whether&nbsp;it&nbsp;received&nbsp;a&nbsp;pause&nbsp;from&nbsp;client.
&gt;And&nbsp;I&nbsp;really&nbsp;don't&nbsp;know&nbsp;if&nbsp;this&nbsp;solution&nbsp;would&nbsp;be&nbsp;cheaper&nbsp;than&nbsp;getting
&gt;one&nbsp;of&nbsp;the&nbsp;frame&nbsp;generators.
&gt;
&gt;Jeff&nbsp;Haran
&gt;
<br>Thanks Jeff<br>&nbsp;I'll try to use two 10NIC cross connected to each other, see whether this way could generate PAUSE frame.<br><br>bill<br><br><br>&gt;
&gt;
&gt;
&gt;_______________________________________________
&gt;Kernelnewbies&nbsp;mailing&nbsp;list
&gt;Kernelnewbies@kernelnewbies.org
&gt;http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>