Thread (136 messages) 136 messages, 11 authors, 2019-08-30

Re: [PATCH 03/11] xdp: add offset param to zero_copy_allocator

From: Jakub Kicinski <hidden>
Date: 2019-06-24 19:23:49
Also in: bpf, intel-wired-lan

On Thu, 20 Jun 2019 09:09:50 +0000, Kevin Laatz wrote:
quoted hunk ↗ jump to hunk
diff --git a/include/net/xdp.h b/include/net/xdp.h
index 0f25b3675c5c..ea801fd2bf98 100644
--- a/include/net/xdp.h
+++ b/include/net/xdp.h
@@ -53,7 +53,8 @@ struct xdp_mem_info {
 struct page_pool;
 
 struct zero_copy_allocator {
-	void (*free)(struct zero_copy_allocator *zca, unsigned long handle);
+	void (*free)(struct zero_copy_allocator *zca, unsigned long handle,
+			off_t off);
 };
Please run checkpatch --strict on all your changes.  The code
formatting is incorrect in many ways in this series.

Please include performance measurements proving the slow down
is negligible in the cover letter.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help