diff options
author | Eric Dumazet <edumazet@google.com> | 2017-01-18 05:14:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-20 05:35:12 +0100 |
commit | dceeab0e5258fccad5dbf95b54821ae4e919e0b6 (patch) | |
tree | 0ac33425cc041adedca5010a1c54702f8447d2cb /net/ipv6/route.c | |
parent | Revert "net: qcom/emac: configure the external phy to allow pause frames" (diff) | |
download | linux-dceeab0e5258fccad5dbf95b54821ae4e919e0b6.tar.xz linux-dceeab0e5258fccad5dbf95b54821ae4e919e0b6.zip |
mlx4: support __GFP_MEMALLOC for rx
Commit 04aeb56a1732 ("net/mlx4_en: allocate non 0-order pages for RX
ring with __GFP_NOMEMALLOC") added code that appears to be not needed at
that time, since mlx4 never used __GFP_MEMALLOC allocations anyway.
As using memory reserves is a must in some situations (swap over NFS or
iSCSI), this patch adds this flag.
Note that this driver does not reuse pages (yet) so we do not have to
add anything else.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions