aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/lan937x_main.c
diff options
context:
space:
mode:
authorShailend Chand <[email protected]>2022-09-13 00:09:01 +0000
committerJakub Kicinski <[email protected]>2022-09-20 01:31:06 +0000
commit8ccac4edc8da764389d4fc18b1df740892006557 (patch)
tree35267b8eb3cb7a1174c9af03357a93e57d6fc7df /drivers/net/dsa/microchip/lan937x_main.c
parentbnxt_en: fix flags to check for supported fw version (diff)
downloadkernel-8ccac4edc8da764389d4fc18b1df740892006557.tar.gz
kernel-8ccac4edc8da764389d4fc18b1df740892006557.zip
gve: Fix GFP flags when allocing pages
Use GFP_ATOMIC when allocating pages out of the hotpath, continue to use GFP_KERNEL when allocating pages during setup. GFP_KERNEL will allow blocking which allows it to succeed more often in a low memory enviornment but in the hotpath we do not want to allow the allocation to block. Fixes: 9b8dd5e5ea48b ("gve: DQO: Add RX path") Signed-off-by: Shailend Chand <[email protected]> Signed-off-by: Jeroen de Borst <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/lan937x_main.c')
0 files changed, 0 insertions, 0 deletions