Hi Scott,<br><br>Your issue may come from data setup (or corruption) instead of code path: babbling error may occurs when a TSEC TX descriptor hasn't its "last frame" bit set or when the data length is greated than max frame length.<br>
<br>--<br>sj <br><br><div class="gmail_quote">2009/2/19 Scott Coulter <span dir="ltr"><<a href="mailto:scott.coulter@cyclone.com" target="_blank">scott.coulter@cyclone.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Kumar,<br>
<div><br>
><br>
> can't think of any. How about adding a BUG_ON() in the tx path to see<br>
> if the buffer size > MTU and re-run your tests.<br>
><br>
<br>
</div>So, here are the checks I've tried in gfar_start_xmit():<br>
<br>
BUG_ON(skb->len > DEFAULT_RX_BUFFER_SIZE)<br>
<br>
BUG_ON(skb->len > priv->regs->maxfrm)<br>
<br>
Neither produces a bug check yet ethtool reports non-zero<br>
tx-babbling-errors. The last check appears to be the definition of<br>
tx-babbling-errors. Is there a transmit path that I have missed?<br>
<div><br>
Scott<br>
<br>
___________________________________________________________________<br>
<br>
Scott N. Coulter<br>
Senior Software Engineer<br>
<br>
Cyclone Microsystems<br>
370 James Street Phone: 203.786.5536 ext. 118<br>
New Haven, CT 06513-3051 Email: <a href="mailto:scott.coulter@cyclone.com" target="_blank">scott.coulter@cyclone.com</a><br>
U.S.A. Web: <a href="http://www.cyclone.com" target="_blank">http://www.cyclone.com</a><br>
___________________________________________________________________<br>
<br>
_______________________________________________<br>
</div><div><div></div><div>Linuxppc-dev mailing list<br>
<a href="mailto:Linuxppc-dev@ozlabs.org" target="_blank">Linuxppc-dev@ozlabs.org</a><br>
<a href="https://ozlabs.org/mailman/listinfo/linuxppc-dev" target="_blank">https://ozlabs.org/mailman/listinfo/linuxppc-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>------------------<br>Sylvain JOYEAU<br>Freelance Engineer<br>Software RT-OS R&D<br><a href="mailto:sylvain.joyeau@gmail.com" target="_blank">sylvain.joyeau@gmail.com</a><br>
Tél: +33-(0)667 477 052<br>"A good idea is one side of the coin. The other side is the practical usefulness". J. Liedke.<br>