Add option to disable IPv6 to speed up performance of XDP program.

This commit is contained in:
Christian Deacon
2025-03-25 11:25:15 -04:00
parent 2c9312c574
commit 2060f41081
8 changed files with 205 additions and 166 deletions

View File

@@ -49,4 +49,8 @@
#define MAX_RL_FLOW 100000
// Maximum entries in block map.
#define MAX_BLOCK 100000
#define MAX_BLOCK 100000
// Enables IPv6.
// If you're not using IPv6, this will speed up performance of the XDP program.
#define ENABLE_IPV6