[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230807122549.85841-1-huangjie.albert@bytedance.com>
Date: Mon, 7 Aug 2023 20:25:45 +0800
From: Albert Huang <huangjie.albert@...edance.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Albert Huang <huangjie.albert@...edance.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Pavel Begunkov <asml.silence@...il.com>,
Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>,
Yunsheng Lin <linyunsheng@...wei.com>,
Kees Cook <keescook@...omium.org>,
Richard Gobert <richardbgobert@...il.com>,
linux-kernel@...r.kernel.org (open list)
Subject: [RFC v2 Optimizing veth xsk performance 7/9] sk_buff: add destructor_arg_xsk_pool for zero copy
this member is add for dummy dev to suppot zero copy
Signed-off-by: Albert Huang <huangjie.albert@...edance.com>
---
include/linux/skbuff.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 16a49ba534e4..db999056022e 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -592,6 +592,8 @@ struct skb_shared_info {
/* Intermediate layers must ensure that destructor_arg
* remains valid until skb destructor */
void * destructor_arg;
+ /* just for dummy device xsk zero copy */
+ void *destructor_arg_xsk_pool;
/* must be last field, see pskb_expand_head() */
skb_frag_t frags[MAX_SKB_FRAGS];
--
2.20.1
Powered by blists - more mailing lists