<br><br><div class="gmail_quote">On Thu, Dec 8, 2011 at 3:33 AM, Benjamin Herrenschmidt <span dir="ltr"><<a href="mailto:benh@kernel.crashing.org" target="_blank">benh@kernel.crashing.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Wed, 2011-12-07 at 13:35 +0530, Prashant Bhole wrote:<br>
> Still couldn't find anything like fifo overflow...<br>
> I noticed one more thing, this problem happens only when mtu size on<br>
> the initiator (the other end) is set to 4088, regardless of any mtu<br>
> size set for EMAC.<br>
<br>
</div>Did you check all the registers that may carry errors ? Nothing showed<br>
up ? Did you check that things like Pause frames were properly<br>
negociated on both sides ? Tried playing with the pause and FIFO<br>
thresholds ?<br>
<br>
Other than using the tx timeout to perform resets I don't see a good way<br>
to fix that problem.<br>
<br>
Cheers,<br>
Ben.<br>
<br></blockquote><div> <br>I checked RX descriptor status and TX descriptor status and ethtool output.<br>However I don't know about pause packet/frame, how do I check if pause<br>frames are properly negotiated on both sides? <br>

I need to try changing pause and FIFO thresholds.<br><br>ethtool output after disconnection is as follows:<br># ethtool -S eth0<br>NIC statistics:<br>     rx_packets: 330939<br>     rx_bytes: 804963241<br>     tx_packets: 248554<br>

     tx_bytes: 798853638<br>     rx_packets_csum: 330716<br>     tx_packets_csum: 179526<br>     tx_undo: 0<br>     rx_dropped_stack: 0<br>     rx_dropped_oom: 0<br>     rx_dropped_error: 0<br>     rx_dropped_resize: 0<br>

     rx_dropped_mtu: 0<br>     rx_stopped: 0<br>     rx_bd_errors: 0<br>     rx_bd_overrun: 0<br>     rx_bd_bad_packet: 0<br>     rx_bd_runt_packet: 0<br>     rx_bd_short_event: 0<br>     rx_bd_alignment_error: 0<br>     rx_bd_bad_fcs: 0<br>

     rx_bd_packet_too_long: 0<br>     rx_bd_out_of_range: 0<br>     rx_bd_in_range: 0<br>     rx_parity: 0<br>     rx_fifo_overrun: 0<br>     rx_overrun: 0<br>     rx_bad_packet: 0<br>     rx_runt_packet: 0<br>     rx_short_event: 0<br>

     rx_alignment_error: 0<br>     rx_bad_fcs: 0<br>     rx_packet_too_long: 0<br>     rx_out_of_range: 0<br>     rx_in_range: 0<br>     tx_dropped: 0<br>     tx_bd_errors: 0<br>     tx_bd_bad_fcs: 0<br>     tx_bd_carrier_loss: 0<br>

     tx_bd_excessive_deferral: 0<br>     tx_bd_excessive_collisions: 0<br>     tx_bd_late_collision: 0<br>     tx_bd_multple_collisions: 0<br>     tx_bd_single_collision: 0<br>     tx_bd_underrun: 0<br>     tx_bd_sqe: 0<br>

     tx_parity: 0<br>     tx_underrun: 0<br>     tx_sqe: 0<br>     tx_errors: 0<br></div></div><br><br>Thanks,<br>Prashant<br>