diff options
Diffstat (limited to 'net/core/dev.h')
-rw-r--r-- | net/core/dev.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/core/dev.h b/net/core/dev.h index f2037d4021..3f5eb92396 100644 --- a/net/core/dev.h +++ b/net/core/dev.h @@ -142,4 +142,10 @@ static inline void netif_set_gro_ipv4_max_size(struct net_device *dev, } int rps_cpumask_housekeeping(struct cpumask *mask); + +#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_BPF_SYSCALL) +void xdp_do_check_flushed(struct napi_struct *napi); +#else +static inline void xdp_do_check_flushed(struct napi_struct *napi) { } +#endif #endif |