]> 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)
commit91fc07dbd6871ecc54966f02daaa2f759ce121ed
tree35a4a3875543dd75b01c97d70621cdbac13f23a7
parentddc72ebf6e2d071022c26c14c2b9d302fb3366ca
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