2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/google/gve
Bailey Forrest d991666b7b gve: make IRQ handlers and page allocation NUMA aware
All memory in GVE is currently allocated without regard for the NUMA
node of the device. Because access to NUMA-local memory access is
significantly cheaper than access to a remote node, this change attempts
to ensure that page frags used in the RX path, including page pool
frags, are allocated on the NUMA node local to the gVNIC device. Note
that this attempt is best-effort. If necessary, the driver will still
allocate non-local memory, as __GFP_THISNODE is not passed. Descriptor
ring allocations are not updated, as dma_alloc_coherent handles that.

This change also modifies the IRQ affinity setting to only select CPUs
from the node local to the device, preserving the behavior that TX and
RX queues of the same index share CPU affinity.

Signed-off-by: Bailey Forrest <bcf@google.com>
Signed-off-by: Joshua Washington <joshwash@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Harshitha Ramamurthy <hramamurthy@google.com>
Signed-off-by: Jeroen de Borst <jeroendb@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250707210107.2742029-1-jeroendb@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-07-09 19:22:36 -07:00
..
gve_adminq.c gve: Return error for unknown admin queue command 2025-06-17 18:02:29 -07:00
gve_adminq.h gve: Fix various typos and improve code comments 2025-06-17 18:02:28 -07:00
gve_buffer_mgmt_dqo.c gve: make IRQ handlers and page allocation NUMA aware 2025-07-09 19:22:36 -07:00
gve_desc_dqo.h gve: Implement ndo_hwtstamp_get/set for RX timestamping 2025-06-16 15:27:24 -07:00
gve_desc.h gve: trivial spell fix Recive to Receive 2023-07-14 10:28:17 +01:00
gve_dqo.h gve: add XDP_TX and XDP_REDIRECT support for DQ RDA 2025-06-21 14:26:24 +01:00
gve_ethtool.c gve: Fix various typos and improve code comments 2025-06-17 18:02:28 -07:00
gve_flow_rule.c gve: Add flow steering ethtool support 2024-06-25 17:48:33 -07:00
gve_main.c gve: make IRQ handlers and page allocation NUMA aware 2025-07-09 19:22:36 -07:00
gve_ptp.c gve: Add support to query the nic clock 2025-06-16 15:27:24 -07:00
gve_register.h gve: Deprecate adminq_pfn for pci revision 0x1. 2023-11-29 08:32:36 -08:00
gve_rx_dqo.c gve: make IRQ handlers and page allocation NUMA aware 2025-07-09 19:22:36 -07:00
gve_rx.c gve: make IRQ handlers and page allocation NUMA aware 2025-07-09 19:22:36 -07:00
gve_tx_dqo.c gve: add XDP_TX and XDP_REDIRECT support for DQ RDA 2025-06-21 14:26:24 +01:00
gve_tx.c gve: rename gve_xdp_xmit to gve_xdp_xmit_gqi 2025-06-21 14:26:23 +01:00
gve_utils.c net: hold netdev instance lock during queue operations 2025-03-06 12:59:43 -08:00
gve_utils.h gve: Add header split data path 2024-03-04 10:03:32 +00:00
gve.h gve: make IRQ handlers and page allocation NUMA aware 2025-07-09 19:22:36 -07:00
Makefile gve: Add initial PTP device support 2025-06-16 15:27:24 -07:00