diff options
author | Christian Breunig <christian@breunig.cc> | 2023-06-12 19:57:28 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-06-12 19:57:28 +0200 |
commit | fcb5d0fdafeebe49f42799b1d0d056c4b67bcc16 (patch) | |
tree | 28a5a272cc66cd5c6b4bc1132b4db5a455ca3214 /src/xdp/common/common_libbpf.h | |
parent | f9fa1e99e042846a8089ae2b4bc41dd8f3e3eb7c (diff) | |
download | vyos-1x-fcb5d0fdafeebe49f42799b1d0d056c4b67bcc16.tar.gz vyos-1x-fcb5d0fdafeebe49f42799b1d0d056c4b67bcc16.zip |
T5286: drop XDP support for ethernet and bonding interfaces
... this is a step towards a new and better implementation that will utilize
VPP.
Diffstat (limited to 'src/xdp/common/common_libbpf.h')
-rw-r--r-- | src/xdp/common/common_libbpf.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/xdp/common/common_libbpf.h b/src/xdp/common/common_libbpf.h deleted file mode 100644 index 4754bd8ca..000000000 --- a/src/xdp/common/common_libbpf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Common function that with time should be moved to libbpf */ -#ifndef __COMMON_LIBBPF_H -#define __COMMON_LIBBPF_H - -struct bpf_pinned_map { - const char *name; - const char *filename; - int map_fd; -}; - -/* bpf_prog_load_attr extended */ -struct bpf_prog_load_attr_maps { - const char *file; - enum bpf_prog_type prog_type; - enum bpf_attach_type expected_attach_type; - int ifindex; - int nr_pinned_maps; - struct bpf_pinned_map *pinned_maps; -}; - -int bpf_prog_load_xattr_maps(const struct bpf_prog_load_attr_maps *attr, - struct bpf_object **pobj, int *prog_fd); - -#endif /* __COMMON_LIBBPF_H */ |