xdp_umem.h (c497176cb2e478f0a5713b0e05f242276e3194b5) xdp_umem.h (fe2308328cd2f26ebc986f543796e7d13ae00bc4)
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 *

--- 10 unchanged lines hidden (view full) ---

19#include <linux/if_xdp.h>
20#include <linux/workqueue.h>
21
22#include "xsk_queue.h"
23#include "xdp_umem_props.h"
24
25struct xdp_umem {
26 struct xsk_queue *fq;
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 *

--- 10 unchanged lines hidden (view full) ---

19#include <linux/if_xdp.h>
20#include <linux/workqueue.h>
21
22#include "xsk_queue.h"
23#include "xdp_umem_props.h"
24
25struct xdp_umem {
26 struct xsk_queue *fq;
27 struct xsk_queue *cq;
27 struct page **pgs;
28 struct xdp_umem_props props;
29 u32 npgs;
30 u32 frame_headroom;
31 u32 nfpp_mask;
32 u32 nfpplog2;
33 u32 frame_size_log2;
34 struct user_struct *user;

--- 32 unchanged lines hidden ---
28 struct page **pgs;
29 struct xdp_umem_props props;
30 u32 npgs;
31 u32 frame_headroom;
32 u32 nfpp_mask;
33 u32 nfpplog2;
34 u32 frame_size_log2;
35 struct user_struct *user;

--- 32 unchanged lines hidden ---