From 69f7456423901fb915abf97fd4bae7de779096b7 Mon Sep 17 00:00:00 2001 From: Christian Deacon Date: Tue, 12 Dec 2023 23:38:57 +0000 Subject: [PATCH] Align filters structure by 8 bytes to per-CPU map. --- src/xdpfw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdpfw.h b/src/xdpfw.h index 09ae567..29597cf 100644 --- a/src/xdpfw.h +++ b/src/xdpfw.h @@ -128,7 +128,7 @@ struct filter struct tcpopts tcpopts; struct udpopts udpopts; struct icmpopts icmpopts; -}; +} __attribute__((__aligned__(8))); struct stats {