Now that mem is more compact, bump max tracked src IPs to 1M
[flowspec-xdp] / xdp.c
diff --git a/xdp.c b/xdp.c
index 6c9a01ace9dfb81d7ffd07eebc596503217bd7fd..29e2cf3e3f716e8f595d5905b00dee62ebdc66d5 100644 (file)
--- a/xdp.c
+++ b/xdp.c
@@ -196,7 +196,7 @@ struct {
 // Then we build an array of MAX_ENTRIES/2**SRC_HASH_MAX_PARALLELISM_POW entries,
 // which are split into buckets of size SRC_HASH_BUCKET_COUNT. An entry can appear
 // in any of the SRC_HASH_BUCKET_COUNT buckets at it's hash value.
-#define SRC_HASH_MAX_PARALLELISM_POW 7
+#define SRC_HASH_MAX_PARALLELISM_POW 9
 #define SRC_HASH_MAX_PARALLELISM (1 << SRC_HASH_MAX_PARALLELISM_POW)
 #define SRC_HASH_BUCKET_COUNT_POW 3
 #define SRC_HASH_BUCKET_COUNT (1 << SRC_HASH_BUCKET_COUNT_POW)