From: Saeed Mahameed <sae...@dev.mellanox.co.il> Date: Sun, 14 May 2017 11:52:13 +0300
> I agree, it is really ridiculous that we allocate/free a couple of > buffers on each update_stats operations, regardless of this patch. > Is it ok if we use a temp buffer under netdev_priv for such usages or > even use kmemcache ? If you can safely use a pre-allocated tmp buffer, yes that would be preferred.