aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorJoshua Washington <[email protected]>2025-07-17 15:28:35 +0000
committerPaolo Abeni <[email protected]>2025-07-22 09:35:49 +0000
commitd57ae093c887180b72c575724c1779f5ca0f5b5b (patch)
tree24d361bfbe2e4d771d7602fa265150f3773a44cc /drivers/usb/cdns3/cdns3-debug.h
parentMerge branch 'ethtool-rss-support-creating-and-removing-contexts-via-netlink' (diff)
downloadkernel-d57ae093c887180b72c575724c1779f5ca0f5b5b.tar.gz
kernel-d57ae093c887180b72c575724c1779f5ca0f5b5b.zip
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 <[email protected]> Signed-off-by: Joshua Washington <[email protected]> Signed-off-by: Jeroen de Borst <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions