]> 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)
commit2fba93283c6d32cc72f6b8a4812bbd21a0aa77e9
tree7b89d6fa22c850688ced642c859e9c8a05d01085
parentd42c4d133f4da71c5501ff9303db42c71f6a0857
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