Re: [PATCH net-next 0/2] net: mvpp2: Remove unnecessary dynamic allocs

2018-03-27 Thread David Miller
From: Maxime Chevallier Date: Mon, 26 Mar 2018 15:34:21 +0200 > Some utility functions in mvpp2 make use of dynamic alloc to exchange > temporary > objects representing Parser Entries (which are generic filtering entries in > the > PPv2 controller). > > These objects are small (44 bytes each),

[PATCH net-next 0/2] net: mvpp2: Remove unnecessary dynamic allocs

2018-03-26 Thread Maxime Chevallier
Some utility functions in mvpp2 make use of dynamic alloc to exchange temporary objects representing Parser Entries (which are generic filtering entries in the PPv2 controller). These objects are small (44 bytes each), we can use the stack to exchange them. Some previous discussion on this topic