]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Don't recycle page if moved to far NUMA
authorTariq Toukan <tariqt@mellanox.com>
Thu, 13 Jul 2017 15:26:40 +0000 (18:26 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 3 Sep 2017 03:34:09 +0000 (06:34 +0300)
commitddc72ebf6e2d071022c26c14c2b9d302fb3366ca
tree7b89d6fa22c850688ced642c859e9c8a05d01085
parent80e40073b98cb30e4cd8993b79a0a62eef3a9e29
net/mlx5e: Don't recycle page if moved to far NUMA

Avoid recycling an RX page if it moved to another NUMA node.
Add an ethtool counter to count such events.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h