Skip to content

Commit

Permalink
bpf: xdp: remove unused XFER_ENCAP_* enums
Browse files Browse the repository at this point in the history
These were used to transfer encap information from XDP to TC. They are no
longer used since #24422 added support
for in-XDP tunnel encapsulation.

Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
  • Loading branch information
julianwiedmann committed Aug 5, 2023
1 parent b7277e7 commit 2858be3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bpf/lib/common.h
Expand Up @@ -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. */
Expand Down

0 comments on commit 2858be3

Please sign in to comment.