commit | 0883b4f456f691a54df7a9ae5607ade456fa7b97 | [log] [tgz] |
---|---|---|
author | Gal Pressman <galp@mellanox.com> | Mon Jun 05 16:45:45 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Jun 16 00:18:40 2017 +0300 |
tree | 26c4aa402a1e21be278d10be8ae5a77cf80b784d | |
parent | ebc88870dab343ef3d16832e40d53bd21f1bf0e5 [diff] |
net/mlx5e: Reduce number of heap allocated buffers for update stats Allocating buffers on the heap every 200ms is something we should avoid, let's use buffers located on the stack instead. Signed-off-by: Gal Pressman <galp@mellanox.com> Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Cc: kernel-team@fb.com