From 2ff76d6598dc809b3792658af19b913c51a65c0d Mon Sep 17 00:00:00 2001 From: yangwei Date: Thu, 1 Aug 2024 02:42:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf(packet=5Fio=5Fstat):=20cach?= =?UTF-8?q?eline=20aligned=20struct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packet_io/packet_io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packet_io/packet_io.h b/src/packet_io/packet_io.h index b46e2ad..20b2797 100644 --- a/src/packet_io/packet_io.h +++ b/src/packet_io/packet_io.h @@ -9,7 +9,7 @@ extern "C" #include "macro.h" -struct packet_io_stat +struct __attribute__((aligned(64))) packet_io_stat { // device packet uint64_t dev_rx_pkts;