From 2858be3c3e077578f769036940ab6dcbbb3e7999 Mon Sep 17 00:00:00 2001 From: Julian Wiedmann Date: Fri, 4 Aug 2023 09:20:45 +0300 Subject: [PATCH] bpf: xdp: remove unused XFER_ENCAP_* enums These were used to transfer encap information from XDP to TC. They are no longer used since https://github.com/cilium/cilium/pull/24422 added support for in-XDP tunnel encapsulation. Signed-off-by: Julian Wiedmann --- bpf/lib/common.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bpf/lib/common.h b/bpf/lib/common.h index fc212b3da93f..fbf5bf08efef 100644 --- a/bpf/lib/common.h +++ b/bpf/lib/common.h @@ -67,11 +67,6 @@ enum { /* For use in ctx_get_xfer(), after XDP called ctx_move_xfer(). */ enum { XFER_FLAGS = 0, /* XFER_PKT_* */ - XFER_ENCAP_NODEID = 1, - XFER_ENCAP_SECLABEL = 2, - XFER_ENCAP_DSTID = 3, - XFER_ENCAP_PORT = 4, - XFER_ENCAP_ADDR = 5, }; /* FIB errors from BPF neighbor map. */