diff options
author | Eric Dumazet <edumazet@google.com> | 2018-03-06 11:12:53 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-07 13:35:23 -0500 |
commit | d8c13f2271ec5178c52fbde072ec7b562651ed9d (patch) | |
tree | b55e4feec8a7ec1863fd33ed589f732d36dfc6a9 /tools/testing/selftests/net/pmtu.sh | |
parent | 7d99429afa9393968261a425b1e1b57298e48a75 (diff) |
net/mlx4_en: try to use high order pages for RX rings
RX rings can fit most of the time in a contiguous piece of memory,
so lets use kvzalloc_node/kvfree instead of vzalloc_node/vfree
Note that kvzalloc_node() automatically falls back to another node,
there is no need to do the fallback ourselves.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/pmtu.sh')
0 files changed, 0 insertions, 0 deletions