Hi Alex,

After a bit a googling it looks like tx_queue_len is the number of skb's 
that the transmit queue can hold whilst it is stopped. Is this correct?  
I'll try a smaller value and see if it locks up quicker and then try 
increasing it.  I would have thought 300 would have been ample for a 
ping. :)

I had a thought, when you did your overnight testing did you see any 
packet loss or do you have the devices fairly close to each other? it's 
just that on our boards we have no CCA yet transmitting packets over 
powerline which is fairly hostile so there are probably quite a few 
packets being lost over a long period, I'm wondering if this is why I'm 
seeing the lock ups and you are not.

Another thing I do is to decrease the interval on the ping6 using -i 0.3 
to try and stress things a bit more.

Cheers,
Martin.

On 13/02/14 18:23, Alexander Aring wrote:
> On Thu, Feb 13, 2014 at 06:12:14PM +0000, Martin Townsend wrote:
>> Hi,
>>
>> An update on the lock up problem.  In my driver I've ensured that the rx
>> processes everything in the interrupt before calling ieee802154_rx_irqsafe.
>> Then in the tx I don't think you need any synchronisation except between my
>> interrupt and the xmit routine but I've put some in there just to be sure
>> and I'm still getting lockups.
>>
>> So I tried ping from iputils and not the one from busy box and this time I
>> get a load of
>>
>> |ping: sendmsg: No buffer space available|
>>
>>
> mhhh, try to increase the tx queue of an wpan device. I think I had the
> same issue some time ago.
>
> dev->tx_queue_len     = 300;
>
> in
>
> net/mac802154/wpan.c
>
> Maybe 300 isn't enough. I think in some time your tx queue will be
> full. Tell me about if this helps or not, it would be interesting!
>
> - Alex


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to