[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250319001521.53249-2-jdamato@fastly.com>
Date: Wed, 19 Mar 2025 00:15:12 +0000
From: Joe Damato <jdamato@...tly.com>
To: netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
asml.silence@...il.com,
linux-fsdevel@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
horms@...nel.org,
linux-api@...r.kernel.org,
linux-arch@...r.kernel.org,
viro@...iv.linux.org.uk,
jack@...e.cz,
kuba@...nel.org,
shuah@...nel.org,
sdf@...ichev.me,
mingo@...hat.com,
arnd@...db.de,
brauner@...nel.org,
akpm@...ux-foundation.org,
tglx@...utronix.de,
jolsa@...nel.org,
linux-kselftest@...r.kernel.org,
Joe Damato <jdamato@...tly.com>
Subject: [RFC -next 01/10] splice: Add ubuf_info to prepare for ZC
Update struct splice_desc to include ubuf_info to prepare splice for
zero copy notifications.
Signed-off-by: Joe Damato <jdamato@...tly.com>
---
include/linux/splice.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/splice.h b/include/linux/splice.h
index 9dec4861d09f..7477df3916e2 100644
--- a/include/linux/splice.h
+++ b/include/linux/splice.h
@@ -10,6 +10,7 @@
#define SPLICE_H
#include <linux/pipe_fs_i.h>
+#include <linux/skbuff.h>
/*
* Flags passed in from splice/tee/vmsplice
@@ -43,6 +44,7 @@ struct splice_desc {
loff_t *opos; /* sendfile: output position */
size_t num_spliced; /* number of bytes already spliced */
bool need_wakeup; /* need to wake up writer */
+ struct ubuf_info *ubuf_info; /* zerocopy infrastructure */
};
struct partial_page {
--
2.43.0
Powered by blists - more mailing lists