summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2026-01-15 12:07:49 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-01-15 12:07:50 +0300
commitcc75d43783f74fe0a1c288aba9e6ac55f1444977 (patch)
tree858293f26809e20f182270f851898b025ccb7746 /include
parent3b194343c25084a8d2fa0c0f2c9e80f3080fd732 (diff)
parenta2cb2e23b2bcc5e376a7aa63964e04a5b059d7a1 (diff)
downloadlinux-cc75d43783f74fe0a1c288aba9e6ac55f1444977.tar.xz
Merge branch 'xsk-move-cq_cached_prod_lock'
Jason Xing says: ==================== xsk: move cq_cached_prod_lock From: Jason Xing <kernelxing@tencent.com> Move cq_cached_prod_lock to avoid touching new cacheline. Acked-by: Stanislav Fomichev <sdf@fomichev.me> ==================== Link: https://patch.msgid.link/20260104012125.44003-1-kerneljasonxing@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/xsk_buff_pool.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/xsk_buff_pool.h b/include/net/xsk_buff_pool.h
index 92a2358c6ce3..0b1abdb99c9e 100644
--- a/include/net/xsk_buff_pool.h
+++ b/include/net/xsk_buff_pool.h
@@ -90,11 +90,6 @@ struct xsk_buff_pool {
* destructor callback.
*/
spinlock_t cq_prod_lock;
- /* Mutual exclusion of the completion ring in the SKB mode.
- * Protect: when sockets share a single cq when the same netdev
- * and queue id is shared.
- */
- spinlock_t cq_cached_prod_lock;
struct xdp_buff_xsk *free_heads[];
};