commit | d8c13f2271ec5178c52fbde072ec7b562651ed9d | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Mar 06 11:12:53 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 07 13:35:23 2018 -0500 |
tree | b55e4feec8a7ec1863fd33ed589f732d36dfc6a9 | |
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>