]> asedeno.scripts.mit.edu Git - linux.git/blob - net/xdp/xdp_umem_props.h
xsk: add user memory registration support sockopt
[linux.git] / net / xdp / xdp_umem_props.h
1 /* SPDX-License-Identifier: GPL-2.0
2  * XDP user-space packet buffer
3  * Copyright(c) 2018 Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14
15 #ifndef XDP_UMEM_PROPS_H_
16 #define XDP_UMEM_PROPS_H_
17
18 struct xdp_umem_props {
19         u32 frame_size;
20         u32 nframes;
21 };
22
23 #endif /* XDP_UMEM_PROPS_H_ */