<tt><font size=2>...<br>
> I'm afraid that your understanding is a little off.</font></tt>
<br><tt><font size=2>> <br>
> The rtems_bsdnet_event_receive routine simply blocks waiting for the<br>
> interrupt handler to send the event that indicates that a packet has<br>
> arrived.  The receive thread then passes the packet up to the
rest <br>
> of the network stack for further processing (and ultimately acknowledgement).</font></tt>
<br><tt><font size=2>> This is why I say that you really do not want
to change the <br>
> arguments to the rtems_bsdnet_event_receive routine since doing so
<br>
> will merely make the receive thread poll for packet arrival instead
<br>
> of blocking and waiting for an interrupt to occur.</font></tt>
<br><tt><font size=2>Thanks for all your explanations. Of course I've to
learn and dig deeper</font></tt>
<br><tt><font size=2>into it.</font></tt>
<br>
<br><tt><font size=2>Like to give you a bit of the background.</font></tt>
<br>
<br><tt><font size=2>I've experienced different problems when raising msg
speed or other traffic</font></tt>
<br><tt><font size=2>on the network. Unfortunatly not possible to establish
a reproducable</font></tt>
<br><tt><font size=2>test case. All I see was a kind of congestion starting
by retransmit</font></tt>
<br><tt><font size=2>TCP packages and reducing window size. In the end
sender or receiver</font></tt>
<br><tt><font size=2>hangs.</font></tt>
<br>
<br><tt><font size=2>To see if my network.c driver stuff is working I've
added in-memory</font></tt>
<br><tt><font size=2>trace to track the function flow. I was looking if
my low level</font></tt>
<br><tt><font size=2>ethernet parts have problems (interrupt, dma buffer
mgmt,...) or</font></tt>
<br><tt><font size=2>something else is going wrong. For now I could not
detect problems</font></tt>
<br><tt><font size=2>on this lower level.</font></tt>
<br>
<br><tt><font size=2>So I assume timing problems. The delayed TCP ack could
be removed</font></tt>
<br><tt><font size=2>to see if things get better. Another option I have
is to increase</font></tt>
<br><tt><font size=2>the clock speed. From 10 ms to 100 us as discussed
in another thread</font></tt>
<br><tt><font size=2>yesterday. Maybe this will change the behaviour as
well.</font></tt>
<br>
<br><tt><font size=2>But then I really have to start understanding what's
going on ;)</font></tt>
<br>
<br><tt><font size=2>regards</font></tt>
<br><tt><font size=2>Wolfgang R.</font></tt>
<br>
<br><tt><font size=2>  </font></tt>