mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
net: Add includes masked by netdevice.h including uapi/bpf.h
Add missing includes unmasked by the subsequent change. Mostly network drivers missing an include for XDP_PACKET_HEADROOM. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211230012742.770642-2-kuba@kernel.org
This commit is contained in:
parent
1705c62e30
commit
3b80b73a4b
@ -14,6 +14,7 @@
|
|||||||
#include <linux/interrupt.h>
|
#include <linux/interrupt.h>
|
||||||
#include <linux/netdevice.h>
|
#include <linux/netdevice.h>
|
||||||
#include <linux/skbuff.h>
|
#include <linux/skbuff.h>
|
||||||
|
#include <uapi/linux/bpf.h>
|
||||||
|
|
||||||
#include "ena_com.h"
|
#include "ena_com.h"
|
||||||
#include "ena_eth_com.h"
|
#include "ena_eth_com.h"
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
#include <linux/iommu.h>
|
#include <linux/iommu.h>
|
||||||
#include <net/ip.h>
|
#include <net/ip.h>
|
||||||
#include <net/tso.h>
|
#include <net/tso.h>
|
||||||
|
#include <uapi/linux/bpf.h>
|
||||||
|
|
||||||
#include "nic_reg.h"
|
#include "nic_reg.h"
|
||||||
#include "nic.h"
|
#include "nic.h"
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
|
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
|
||||||
/* Copyright (c) 2021, Microsoft Corporation. */
|
/* Copyright (c) 2021, Microsoft Corporation. */
|
||||||
|
|
||||||
|
#include <uapi/linux/bpf.h>
|
||||||
|
|
||||||
#include <linux/inetdevice.h>
|
#include <linux/inetdevice.h>
|
||||||
#include <linux/etherdevice.h>
|
#include <linux/etherdevice.h>
|
||||||
#include <linux/ethtool.h>
|
#include <linux/ethtool.h>
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include <linux/net_tstamp.h>
|
#include <linux/net_tstamp.h>
|
||||||
#include <linux/reset.h>
|
#include <linux/reset.h>
|
||||||
#include <net/page_pool.h>
|
#include <net/page_pool.h>
|
||||||
|
#include <uapi/linux/bpf.h>
|
||||||
|
|
||||||
struct stmmac_resources {
|
struct stmmac_resources {
|
||||||
void __iomem *addr;
|
void __iomem *addr;
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#ifndef DRIVERS_NET_ETHERNET_TI_CPSW_PRIV_H_
|
#ifndef DRIVERS_NET_ETHERNET_TI_CPSW_PRIV_H_
|
||||||
#define DRIVERS_NET_ETHERNET_TI_CPSW_PRIV_H_
|
#define DRIVERS_NET_ETHERNET_TI_CPSW_PRIV_H_
|
||||||
|
|
||||||
|
#include <uapi/linux/bpf.h>
|
||||||
|
|
||||||
#include "davinci_cpdma.h"
|
#include "davinci_cpdma.h"
|
||||||
|
|
||||||
#define CPSW_DEBUG (NETIF_MSG_HW | NETIF_MSG_WOL | \
|
#define CPSW_DEBUG (NETIF_MSG_HW | NETIF_MSG_WOL | \
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include <net/inetpeer.h>
|
#include <net/inetpeer.h>
|
||||||
#include <net/fib_notifier.h>
|
#include <net/fib_notifier.h>
|
||||||
#include <linux/indirect_call_wrapper.h>
|
#include <linux/indirect_call_wrapper.h>
|
||||||
|
#include <uapi/linux/bpf.h>
|
||||||
|
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
#define FIB6_TABLE_HASHSZ 256
|
#define FIB6_TABLE_HASHSZ 256
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
#include <linux/bpf.h>
|
#include <linux/bpf.h>
|
||||||
|
#include <linux/bpf-netns.h>
|
||||||
#include <linux/filter.h>
|
#include <linux/filter.h>
|
||||||
#include <net/net_namespace.h>
|
#include <net/net_namespace.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user