2023-08-03 15:49:33

by 黄杰

[permalink] [raw]
Subject: [RFC Optimizing veth xsk performance 08/10] xdp: add xdp_mem_type MEM_TYPE_XSK_BUFF_POOL_TX

this type of xdp mem will be used for zero copy in
later patch

Signed-off-by: huangjie.albert <[email protected]>
---
include/net/xdp.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/net/xdp.h b/include/net/xdp.h
index d1c5381fc95f..cb1621b5a0c9 100644
--- a/include/net/xdp.h
+++ b/include/net/xdp.h
@@ -42,6 +42,7 @@ enum xdp_mem_type {
MEM_TYPE_PAGE_ORDER0, /* Orig XDP full page model */
MEM_TYPE_PAGE_POOL,
MEM_TYPE_XSK_BUFF_POOL,
+ MEM_TYPE_XSK_BUFF_POOL_TX,
MEM_TYPE_MAX,
};

--
2.20.1