[etherlab-users] r8169 patch - packet timeout boot failures

Raz raziebe at gmail.com
Mon Dec 2 10:08:55 CET 2013


The timeouts happens after the system boots and not while slaves are in in
OP mode. So my transmit is irrelevant here, even though a transmit happens
only from a single thread of through an ioctl ( SDO reads and so on..)




On Mon, Dec 2, 2013 at 11:01 AM, Jeroen Van den Keybus <
jeroen.vandenkeybus at gmail.com> wrote:

>
>> 1. why do you disable the rtl8169_phy_timer  timer ?
>>
>
> The rtl8169_phy_timer is regularly polled in ec_poll instead.
>
>
>
>> 2.  In rtl_hw_start_8168 : why do disable RTL_W16(IntrMask,
>> tp->intr_event); ?
>>
>>
> The drivers are all non-blocking and interrupt-free. All work that
> interrupt handlers normally do is done in ec_poll instead.
>
> If you cannot send packets anymore, I suspect that you may have overrun
> the tx queue, i.e. sent a packet before the previous one has been
> completed. You're also not calling the ethercat transmission functions from
> different threads, right ?
>
>
> thank you
>> raz
>>
>> --
>> https://sites.google.com/site/ironspeedlinux/
>>
>> _______________________________________________
>> etherlab-users mailing list
>> etherlab-users at etherlab.org
>> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>>
>>
>


-- 
https://sites.google.com/site/ironspeedlinux/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20131202/d4522d64/attachment-0003.htm>


More information about the Etherlab-users mailing list