RE: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-10-29 Thread Amitkumar Karwar
Hi Marek, We have one fix in Rx reorder logic and have handled dev_alloc_skb failure by resubmitting the urbs. Could you please test attached experimental patches? [ 76.769662] usb 1-1: Received between 2 BAR:2918 [ 76.775047] usb 1-1: Networking send size:2914 [ 77.067491] usb 1-1:

Re: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-10-28 Thread Belisko Marek
Hi Amitkumar, On Thu, Oct 23, 2014 at 2:40 PM, Amitkumar Karwar akar...@marvell.com wrote: Hi Marek, I tried to capture logs but when enable DYNAMIC_DEBUG I cannot reproduce issue (running test 30 minutes without allocation failure). Thanks for the testing. Yes. Sometimes timing issues

RE: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-10-23 Thread Amitkumar Karwar
Hi Marek, I tried to capture logs but when enable DYNAMIC_DEBUG I cannot reproduce issue (running test 30 minutes without allocation failure). Thanks for the testing. Yes. Sometimes timing issues won't get reproduced with debug messages enabled. Any update on this? Should I provide some

Re: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-10-14 Thread James Cameron
On Tue, Oct 14, 2014 at 10:25:01AM +0200, Belisko Marek wrote: Hi Amitkumar, On Tue, Oct 14, 2014 at 9:08 AM, Amitkumar Karwar akar...@marvell.com wrote: Hi Marek, I tried both (slightly modified as we're in 3.9 kernel) but issue is still reproducible. My patch against 3.9 sources:

Re: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-10-14 Thread Belisko Marek
Dear James Cameron, On Tue, Oct 14, 2014 at 12:20 PM, James Cameron qu...@laptop.org wrote: On Tue, Oct 14, 2014 at 10:25:01AM +0200, Belisko Marek wrote: Hi Amitkumar, On Tue, Oct 14, 2014 at 9:08 AM, Amitkumar Karwar akar...@marvell.com wrote: Hi Marek, I tried both (slightly

RE: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-10-13 Thread Amitkumar Karwar
Hi Marek, That's good :) Actually kernel will take care of freeing skb when driver submits received packet using netif_rx(). Could you please share your hack? Yes it should be freed when netif_rx() is processed but I have feeling that sometimes (my case) during high load (-b 100m) packets are

Re: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-10-09 Thread Belisko Marek
Dear Amitkumar Karwar, On Wed, Sep 17, 2014 at 12:52 PM, Amitkumar Karwar akar...@marvell.com wrote: Hi BR, Dear Amitkumar Karwar, some additional info. On Thu, Sep 11, 2014 at 5:09 PM, Amitkumar Karwar akar...@marvell.com wrote: Hi BR, I'm using 3.9 mainline mwifiex driver for

Re: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-10-09 Thread Belisko Marek
Dear Amitkumar Karwar, On Thu, Oct 9, 2014 at 11:30 AM, Amitkumar Karwar akar...@marvell.com wrote: Hi Marek, Sorry for late reply. We have tried to simulate dev_alloc_skb() failure on our reference platform after 100th, 200th, 300th etc. packets. Our observation is when the failure

Re: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-09-17 Thread Belisko Marek
Hi, I was too fast when hitting Send :) On Wed, Sep 17, 2014 at 2:07 PM, Belisko Marek marek.beli...@gmail.com wrote: Dear Amitkumar Karwar, On Wed, Sep 17, 2014 at 12:52 PM, Amitkumar Karwar akar...@marvell.com wrote: Hi BR, Dear Amitkumar Karwar, some additional info. On Thu, Sep

Re: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-09-17 Thread James Cameron
On Wed, Sep 17, 2014 at 03:52:52AM -0700, Amitkumar Karwar wrote: Hi BR, Dear Amitkumar Karwar, some additional info. On Thu, Sep 11, 2014 at 5:09 PM, Amitkumar Karwar akar...@marvell.com wrote: Hi BR, I'm using 3.9 mainline mwifiex driver for wireless usb card. Doing

RE: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-09-11 Thread Amitkumar Karwar
Hi BR, I'm using 3.9 mainline mwifiex driver for wireless usb card. Doing some throughput testing (with iperf) in 5GHz I got following failures: [ 221.521799] usb 1-1: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed This is skb allocation failure returned by kernel. 4k buffer is always

Re: mwifiex_usb_submit_rx_urb: dev_alloc_skb failed when conected to 5GHz

2014-09-11 Thread Belisko Marek
Dear Amitkumar Karwar, On Thu, Sep 11, 2014 at 5:09 PM, Amitkumar Karwar akar...@marvell.com wrote: Hi BR, I'm using 3.9 mainline mwifiex driver for wireless usb card. Doing some throughput testing (with iperf) in 5GHz I got following failures: [ 221.521799] usb 1-1: