linux/drivers/net/ethernet/google/gve
Shailend Chand 8ccac4edc8 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: 9b8dd5e5ea ("gve: DQO: Add RX path")
Signed-off-by: Shailend Chand <shailend@google.com>
Signed-off-by: Jeroen de Borst <jeroendb@google.com>
Link: https://lore.kernel.org/r/20220913000901.959546-1-jeroendb@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-19 18:31:06 -07:00
..
Makefile gve: DQO: Add core netdev features 2021-06-24 12:47:38 -07:00
gve.h gve: Fix GFP flags when allocing pages 2022-01-26 18:45:01 -08:00
gve_adminq.c gve: fix the wrong AdminQ buffer queue index check 2022-01-28 15:07:56 +00:00
gve_adminq.h gve: Add a jumbo-frame device option. 2021-10-25 14:13:12 +01:00
gve_desc.h gve: Add optional metadata descriptor type GVE_TXD_MTD 2021-12-16 10:41:54 +00:00
gve_desc_dqo.h gve: Add dqo descriptors 2021-06-24 12:47:37 -07:00
gve_dqo.h gve: Add tx|rx-coalesce-usec for DQO 2021-12-16 10:41:54 +00:00
gve_ethtool.c net: Use u64_stats_fetch_begin_irq() for stats fetch. 2022-08-29 13:02:27 +01:00
gve_main.c net: Use u64_stats_fetch_begin_irq() for stats fetch. 2022-08-29 13:02:27 +01:00
gve_register.h gve: Add Gvnic stats AQ command and ethtool show/set-priv-flags. 2020-09-11 14:31:54 -07:00
gve_rx.c gve: Fix spelling mistake "droping" -> "dropping" 2022-03-16 19:29:00 -07:00
gve_rx_dqo.c gve: Fix GFP flags when allocing pages 2022-09-19 18:31:06 -07:00
gve_tx.c gve: Add optional metadata descriptor type GVE_TXD_MTD 2021-12-16 10:41:54 +00:00
gve_tx_dqo.c net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00
gve_utils.c gve: fix for null pointer dereference. 2021-12-07 20:57:17 -08:00
gve_utils.h gve: Implement packet continuation for RX. 2021-10-25 14:13:12 +01:00