···11-/* SPDX-License-Identifier: GPL-2.022- * AF_XDP internal functions11+/* SPDX-License-Identifier: GPL-2.0 */22+/* AF_XDP internal functions33 * Copyright(c) 2018 Intel Corporation.44- *55- * This program is free software; you can redistribute it and/or modify it66- * under the terms and conditions of the GNU General Public License,77- * version 2, as published by the Free Software Foundation.88- *99- * This program is distributed in the hope it will be useful, but WITHOUT1010- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1111- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1212- * more details.134 */145156#ifndef _LINUX_XDP_SOCK_H
+2-11
include/uapi/linux/if_xdp.h
···11-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note22- *11+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */22+/*33 * if_xdp: XDP socket user-space interface44 * Copyright(c) 2018 Intel Corporation.55- *66- * This program is free software; you can redistribute it and/or modify it77- * under the terms and conditions of the GNU General Public License,88- * version 2, as published by the Free Software Foundation.99- *1010- * This program is distributed in the hope it will be useful, but WITHOUT1111- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1212- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1313- * more details.145 *156 * Author(s): Björn Töpel <bjorn.topel@intel.com>167 * Magnus Karlsson <magnus.karlsson@intel.com>
-9
kernel/bpf/xskmap.c
···11// SPDX-License-Identifier: GPL-2.022/* XSKMAP used for AF_XDP sockets33 * Copyright(c) 2018 Intel Corporation.44- *55- * This program is free software; you can redistribute it and/or modify it66- * under the terms and conditions of the GNU General Public License,77- * version 2, as published by the Free Software Foundation.88- *99- * This program is distributed in the hope it will be useful, but WITHOUT1010- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1111- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1212- * more details.134 */145156#include <linux/bpf.h>
-9
net/xdp/xdp_umem.c
···11// SPDX-License-Identifier: GPL-2.022/* XDP user-space packet buffer33 * Copyright(c) 2018 Intel Corporation.44- *55- * This program is free software; you can redistribute it and/or modify it66- * under the terms and conditions of the GNU General Public License,77- * version 2, as published by the Free Software Foundation.88- *99- * This program is distributed in the hope it will be useful, but WITHOUT1010- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1111- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1212- * more details.134 */145156#include <linux/init.h>
+2-11
net/xdp/xdp_umem.h
···11-/* SPDX-License-Identifier: GPL-2.022- * XDP user-space packet buffer11+/* SPDX-License-Identifier: GPL-2.0 */22+/* XDP user-space packet buffer33 * Copyright(c) 2018 Intel Corporation.44- *55- * This program is free software; you can redistribute it and/or modify it66- * under the terms and conditions of the GNU General Public License,77- * version 2, as published by the Free Software Foundation.88- *99- * This program is distributed in the hope it will be useful, but WITHOUT1010- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1111- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1212- * more details.134 */145156#ifndef XDP_UMEM_H_
+2-11
net/xdp/xdp_umem_props.h
···11-/* SPDX-License-Identifier: GPL-2.022- * XDP user-space packet buffer11+/* SPDX-License-Identifier: GPL-2.0 */22+/* XDP user-space packet buffer33 * Copyright(c) 2018 Intel Corporation.44- *55- * This program is free software; you can redistribute it and/or modify it66- * under the terms and conditions of the GNU General Public License,77- * version 2, as published by the Free Software Foundation.88- *99- * This program is distributed in the hope it will be useful, but WITHOUT1010- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1111- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1212- * more details.134 */145156#ifndef XDP_UMEM_PROPS_H_
-9
net/xdp/xsk.c
···55 * applications.66 * Copyright(c) 2018 Intel Corporation.77 *88- * This program is free software; you can redistribute it and/or modify it99- * under the terms and conditions of the GNU General Public License,1010- * version 2, as published by the Free Software Foundation.1111- *1212- * This program is distributed in the hope it will be useful, but WITHOUT1313- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1414- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1515- * more details.1616- *178 * Author(s): Björn Töpel <bjorn.topel@intel.com>189 * Magnus Karlsson <magnus.karlsson@intel.com>1910 */
-9
net/xdp/xsk_queue.c
···11// SPDX-License-Identifier: GPL-2.022/* XDP user-space ring structure33 * Copyright(c) 2018 Intel Corporation.44- *55- * This program is free software; you can redistribute it and/or modify it66- * under the terms and conditions of the GNU General Public License,77- * version 2, as published by the Free Software Foundation.88- *99- * This program is distributed in the hope it will be useful, but WITHOUT1010- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1111- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1212- * more details.134 */145156#include <linux/slab.h>
+2-11
net/xdp/xsk_queue.h
···11-/* SPDX-License-Identifier: GPL-2.022- * XDP user-space ring structure11+/* SPDX-License-Identifier: GPL-2.0 */22+/* XDP user-space ring structure33 * Copyright(c) 2018 Intel Corporation.44- *55- * This program is free software; you can redistribute it and/or modify it66- * under the terms and conditions of the GNU General Public License,77- * version 2, as published by the Free Software Foundation.88- *99- * This program is distributed in the hope it will be useful, but WITHOUT1010- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1111- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1212- * more details.134 */145156#ifndef _LINUX_XSK_QUEUE_H
+1-11
samples/bpf/xdpsock_user.c
···11// SPDX-License-Identifier: GPL-2.022-/* Copyright(c) 2017 - 2018 Intel Corporation.33- *44- * This program is free software; you can redistribute it and/or modify it55- * under the terms and conditions of the GNU General Public License,66- * version 2, as published by the Free Software Foundation.77- *88- * This program is distributed in the hope it will be useful, but WITHOUT99- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or1010- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for1111- * more details.1212- */22+/* Copyright(c) 2017 - 2018 Intel Corporation. */133144#include <assert.h>155#include <errno.h>