<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 7, 2012, at 11:24 AM, William Montgomery wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Can anyone recommend specific NIC manufacturer and model that works well with the current EtherCAT master?<br><br>I have used the Intel PRO 1000 for a few years with good success but the driver doesnt work for me in recent kernels (2.6.37). I have seen other list traffic that indicates Realtek chipsets give good performance but my recent experience with Netgear GA311 (r8169) has lots of datagram UNMATCHED and datagram TIMEOUTS.<br></div></blockquote><br></div><div>I was recently testing a new industrial SBC with Realtek 8111 NICs for a client and discovered the same thing. The cause is a line that was must have been inadvertently dropped in the merge-up from 2.6.33.</div><div><br></div><div>Here's the context diff for the patch:</div><div><br></div><div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; ">*** r8169-2.6.37-ethercat.c<span class="Apple-tab-span" style="white-space: pre; "> </span>2012-01-10 05:03:51.000000000 -0500</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; ">--- r8169-2.6.37-ethercat-fixed.c<span class="Apple-tab-span" style="white-space: pre; "> </span>2012-06-07 13:17:55.018452791 -0400</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; ">***************</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; ">*** 4598,4603 ****</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; ">--- 4598,4604 ----</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; "> <span class="Apple-tab-span" style="white-space: pre; "> </span>prefetch(data);</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; "> <span class="Apple-tab-span" style="white-space: pre; "> </span>ecdev_receive(tp->ecdev, data, pkt_size);</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; "> <span class="Apple-tab-span" style="white-space: pre; "> </span>dma_sync_single_for_device(d, addr, pkt_size, DMA_FROM_DEVICE);</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; ">+ <span class="Apple-tab-span" style="white-space: pre; "> </span>rtl8169_mark_to_asic(desc, rx_buf_sz);</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; "> <span class="Apple-tab-span" style="white-space: pre; "> </span>} else {</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; "> <span class="Apple-tab-span" style="white-space: pre; "> </span>skb = rtl8169_try_rx_copy(tp->Rx_databuff[entry],</span></font></div><div><font class="Apple-style-span" face="'Andale Mono'"><span class="Apple-style-span" style="font-size: 12px; "> <span class="Apple-tab-span" style="white-space: pre; "> </span> tp, pkt_size, addr);</span></font></div></div><div><br></div><div>Without that line, the HW is never told to advance to the next buffer descriptor.</div><div><br></div><div>My apologies to the developers - I haven't had the opportunity to send this in to the list yet.</div><div><br></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 14px; "><div>Tom Nelson</div><div>Consulting Engineer</div><div>Granite Computer Sciences, LLC</div><div><br></div><div><span class="Apple-style-span" style="font-size: medium; "><br></span></div></span></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>