Re: netdev_alloc_skb is failing for 16k length

2019-05-28 Thread Arun Kumar Neelakantam
On 5/27/2019 8:29 PM, Stephen Hemminger wrote: On Mon, 27 May 2019 12:21:51 +0530 Arun Kumar Neelakantam wrote: Hi team, we are using "skb = netdev_alloc_skb(NULL, len);" which is getting failed sometimes for len = 16k. I suspect mostly system memory got fragmented and hence atomic memory al

Re: netdev_alloc_skb is failing for 16k length

2019-05-27 Thread Stephen Hemminger
On Mon, 27 May 2019 12:21:51 +0530 Arun Kumar Neelakantam wrote: > Hi team, > > we are using "skb = netdev_alloc_skb(NULL, len);" which is getting > failed sometimes for len = 16k. > > I suspect mostly system memory got fragmented and hence atomic memory > allocation for 16k is failing, can y

netdev_alloc_skb is failing for 16k length

2019-05-26 Thread Arun Kumar Neelakantam
Hi team, we are using "skb = netdev_alloc_skb(NULL, len);" which is getting failed sometimes for len = 16k. I suspect mostly system memory got fragmented and hence atomic memory allocation for 16k is failing, can you please suggest best way to handle this failure case. Thanks Arun N