Skip to content

Commit 0d7f76a

Browse files
liveansami-GS
andauthored
add memory alignment for ARM32 (#4208) (#4401)
Co-authored-by: Daiki AMINAKA <1991.daiki@gmail.com>
1 parent c3acdfe commit 0d7f76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/datapath_epoll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ typedef struct DATAPATH_RX_IO_BLOCK {
7676

7777
} DATAPATH_RX_IO_BLOCK;
7878

79-
typedef struct DATAPATH_RX_PACKET {
79+
typedef struct __attribute__((aligned(16))) DATAPATH_RX_PACKET {
8080
//
8181
// The IO block that owns the packet.
8282
//

0 commit comments

Comments
 (0)