Hi,

I've ported BF537-stamp on-chip mac driver to RTNet. It seems, works
with Xenomai 3.3.2, RTNet 0.9.9 and uClinux 2007R1. You can find
the ported code at http://garzoand.web.elte.hu/rtnetdev-bf537.tgz .

But I have an interesting problem, while I'm using RTNet on blackfin: too
many UDP packages disappear. I trying to send 10 000 UDP packages to
blackfin with 20ms pause, but not all of them arrive.  About between 150 and
1000 packages are always lost. I made some debug,
and turned out, the mac driver got the packages, but it's dropped by the
ipv4 layer,
at line 83 of ip_input.c:

     err = rtskb_acquire(skb, &sock->skb_pool);

       /* Socket is now implicitely locked by the rtskb */
       rt_socket_dereference(sock);

       if (err) {
           kfree_rtskb(skb);
           return;
       }

So, __rtskb_deque(skb_pool) (called  by rtskb_acquire) returns with
error, in some case (but - i think -  too many case).
Has anyone any idea, why does it happen?

Thanks,
Andras
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to