Messages in this thread Patch in this message | | | From | "huangjie.albert" <> | Subject | [RFC Optimizing veth xsk performance 08/10] xdp: add xdp_mem_type MEM_TYPE_XSK_BUFF_POOL_TX | Date | Thu, 3 Aug 2023 22:04:34 +0800 |
| |
this type of xdp mem will be used for zero copy in later patch
Signed-off-by: huangjie.albert <huangjie.albert@bytedance.com> --- 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
| |