aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorJoshua Washington <[email protected]>2025-07-17 15:28:37 +0000
committerPaolo Abeni <[email protected]>2025-07-22 09:35:49 +0000
commit652fe13b1fd841528442c22170a3c9030c17822d (patch)
tree46260eec898a20e678acd2689381c9cf3ddeef5f /drivers/usb/cdns3/cdns3-debug.h
parentgve: merge xdp and xsk registration (diff)
downloadkernel-652fe13b1fd841528442c22170a3c9030c17822d.tar.gz
kernel-652fe13b1fd841528442c22170a3c9030c17822d.zip
gve: keep registry of zc xsk pools in netdev_priv
Relying on xsk_get_pool_from_qid for getting whether zero copy is enabled on a queue is erroneous, as an XSK pool is registered in xp_assign_dev whether AF_XDP zero-copy is enabled or not. This becomes problematic when queues are restarted in copy mode, as all RX queues with XSKs will register a pool, causing the driver to exercise the zero-copy codepath. This patch adds a bitmap to keep track of which queues have zero-copy enabled. 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