Skip to content

Commit

Permalink
Align filters structure by 8 bytes to per-CPU map.
Browse files Browse the repository at this point in the history
  • Loading branch information
gamemann committed Dec 12, 2023
1 parent 8930d8f commit 69f7456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xdpfw.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ struct filter
struct tcpopts tcpopts;
struct udpopts udpopts;
struct icmpopts icmpopts;
};
} __attribute__((__aligned__(8)));

struct stats
{
Expand Down

0 comments on commit 69f7456

Please sign in to comment.