Re: [etherlab-users] Waiting for network receive?

2012-07-03 Thread Shahbaz Youssefi
for network receive? To: etherlab-users@etherlab.org Message-ID: cab0klgunw_ist0z0u51wwrwzumjcbo2kvchbabugofb1uks...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Hi Shahbaz, I was just about to delete myself from the mailing list today, then I saw your email. Thanks

Re: [etherlab-users] Waiting for network receive?

2012-07-01 Thread Raz Ben Yehuda
I was looking at the code and they map the datagram directly to user space and has a skb ring size of 2 frames. data cannot be available for a re-write until it is acked by the interrupt completion of the ethernet device. You need to query the skb-users counter and check when it is decremented

Re: [etherlab-users] Waiting for network receive?

2012-07-01 Thread Shahbaz Youssefi
I don't specifically know about user-space, but Jun Yuan wrote a patch for me, adding a function called `ecrt_domain_received` that tells you whether the domain has been received or not (in kernel-space). I have tested this function with domains spanning into multiple packets and calling it while

[etherlab-users] Waiting for network receive?

2012-06-28 Thread Johnathan Van Why
The software system we are setting up needs to be able to send an EtherCAT frame, then wait until the network data is available for processing to resume (rather than wait until the next cycle time). Is there any way to do that with the EtherCAT Master? This is a userspace application. Thanks for

Re: [etherlab-users] Waiting for network receive?

2012-06-28 Thread Yan Prochazka
Hello Jonathan, you have asked the million dollar question. You can search the archive, there are several quite heated discussions on that topic. We use EtherCAT for real time motion control application and would appreciate exactly the functionality you were asking for. As far as I