From fcb5d0fdafeebe49f42799b1d0d056c4b67bcc16 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 12 Jun 2023 19:57:28 +0200 Subject: T5286: drop XDP support for ethernet and bonding interfaces ... this is a step towards a new and better implementation that will utilize VPP. --- src/xdp/common/xdp_stats_kern_user.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/xdp/common/xdp_stats_kern_user.h (limited to 'src/xdp/common/xdp_stats_kern_user.h') diff --git a/src/xdp/common/xdp_stats_kern_user.h b/src/xdp/common/xdp_stats_kern_user.h deleted file mode 100644 index d7b8d05e6..000000000 --- a/src/xdp/common/xdp_stats_kern_user.h +++ /dev/null @@ -1,19 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -/* Used by BPF-prog kernel side BPF-progs and userspace programs, - * for sharing xdp_stats common struct and DEFINEs. - */ -#ifndef __XDP_STATS_KERN_USER_H -#define __XDP_STATS_KERN_USER_H - -/* This is the data record stored in the map */ -struct datarec { - __u64 rx_packets; - __u64 rx_bytes; -}; - -#ifndef XDP_ACTION_MAX -#define XDP_ACTION_MAX (XDP_REDIRECT + 1) -#endif - -#endif /* __XDP_STATS_KERN_USER_H */ -- cgit v1.2.3