Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* XDP user-space packet buffer
0003  * Copyright(c) 2018 Intel Corporation.
0004  */
0005 
0006 #ifndef XDP_UMEM_H_
0007 #define XDP_UMEM_H_
0008 
0009 #include <net/xdp_sock_drv.h>
0010 
0011 void xdp_get_umem(struct xdp_umem *umem);
0012 void xdp_put_umem(struct xdp_umem *umem, bool defer_cleanup);
0013 struct xdp_umem *xdp_umem_create(struct xdp_umem_reg *mr);
0014 
0015 #endif /* XDP_UMEM_H_ */