]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Slightly increase RX page-cache size
authorTariq Toukan <tariqt@mellanox.com>
Sun, 2 Jul 2017 14:33:59 +0000 (17:33 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 3 Sep 2017 03:34:09 +0000 (06:34 +0300)
commit9e570d1c9f8cd7282a8d217831791aaf610fe43a
tree35a4a3875543dd75b01c97d70621cdbac13f23a7
parent2fba93283c6d32cc72f6b8a4812bbd21a0aa77e9
net/mlx5e: Slightly increase RX page-cache size

In XDP_TX flow, we now get back quicker to each page in page-cache,
and on some occasions refcount does not get back to 1 on time, causing
some costly page allocations.
Slightly increase the size of RX page-cache to significantly decrease
the chances for this to happen.

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