Skip to content

Commit

Permalink
bpf: tests: bump PKT_BUILDER_LAYERS for tunnel encapsulation
Browse files Browse the repository at this point in the history
Note that we can't bump this any further, the test programs get too big.

Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
  • Loading branch information
julianwiedmann committed Jun 26, 2023
1 parent 6059c0e commit f5f0c36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bpf/tests/pktgen.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ enum pkt_layer {

#define IPV6_DEFAULT_HOPLIMIT 64

#define PKT_BUILDER_LAYERS 6
/* 3 outer headers + {VXLAN, GENEVE} + 3 inner headers. */
#define PKT_BUILDER_LAYERS 7

#define MAX_PACKET_OFF 0xffff

Expand Down

0 comments on commit f5f0c36

Please sign in to comment.