Skip to content

Commit

Permalink
net: mvneta: Improve the buffer allocation method for SWBM
Browse files Browse the repository at this point in the history
With system having a small memory (around 256MB), the state "cannot
allocate memory to refill with new buffer" is reach pretty quickly.

By this patch we changed buffer allocation method to a better handling of
this use case by avoiding memory allocation issues.

Signed-off-by: Yelena Krivosheev <yelena@marvell.com>
[gregory: extract from a larger patch]
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Yelena Krivosheev authored and David S. Miller committed Jul 29, 2018
1 parent f945cec commit 562e2f4
Showing 1 changed file with 183 additions and 98 deletions.
Loading

0 comments on commit 562e2f4

Please sign in to comment.