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)
commit70871f1ec4a7e2d52683a53a5ee596790080a2c3
tree7b89d6fa22c850688ced642c859e9c8a05d01085
parent3b56f7b2af86033f421d0f0fd10cf5c3f74872e0
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