summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJoshua Washington <joshwash@google.com>2025-07-17 08:28:35 -0700
committerPaolo Abeni <pabeni@redhat.com>2025-07-22 11:35:49 +0200
commitd57ae093c887180b72c575724c1779f5ca0f5b5b (patch)
tree24d361bfbe2e4d771d7602fa265150f3773a44cc /tools/perf/scripts/python/bin/stackcollapse-record
parent3fc894728fb3a0d9282e81247b68c07468fe2985 (diff)
downloadkernel-d57ae093c887180b72c575724c1779f5ca0f5b5b.tar.gz
gve: deduplicate xdp info and xsk pool registration logic
The XDP registration path currently has a lot of reused logic, leading changes to the codepaths to be unnecessarily complex. gve_reg_xsk_pool extracts the logic of registering an XSK pool with a queue into a method that can be used by both XDP_SETUP_XSK_POOL and gve_reg_xdp_info. gve_unreg_xdp_info is used to undo XDP info registration in the error path instead of explicitly unregistering the XDP info, as it is more complete and idempotent. This patch will be followed by other changes to the XDP registration logic, and will simplify those changes due to the use of common methods. Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Joshua Washington <joshwash@google.com> Signed-off-by: Jeroen de Borst <jeroendb@google.com> Link: https://patch.msgid.link/20250717152839.973004-2-jeroendb@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
el/commit/drivers/net/ethernet/sgi?id=8dff19a6dcb8bcab8bed86e60c8033aaf0a13646'>net: sgi: ioc3-eth: use csum_foldThomas Bogendoerfer 2019-08-30net: sgi: ioc3-eth: use dma-direct for dma allocationsThomas Bogendoerfer 2019-08-30net: sgi: ioc3-eth: refactor rx buffer allocationThomas Bogendoerfer 2019-08-30net: sgi: ioc3-eth: split ring cleaning/freeing and allocationThomas Bogendoerfer 2019-08-30net: sgi: ioc3-eth: introduce chip start functionThomas Bogendoerfer 2019-08-30net: sgi: ioc3-eth: separate tx and rx ring handlingThomas Bogendoerfer 2019-08-30net: sgi: ioc3-eth: get rid of ioc3_clean_rx_ring()Thomas Bogendoerfer 2019-08-30net: sgi: ioc3-eth: allocate space for desc rings only onceThomas Bogendoerfer 2019-08-30net: sgi: ioc3-eth: use defines for constants dealing with desc ringsThomas Bogendoerfer 2019-08-30net: sgi: ioc3-eth: remove checkpatch errors/warningThomas Bogendoerfer 2019-08-30MIPS: SGI-IP27: restructure ioc3 register accessThomas Bogendoerfer 2019-08-22ethernet: Delete unnecessary checks before the macro call “dev_kfree_skb”Markus Elfring 2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner 2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner