diff options
author | Florian Westphal <fw@strlen.de> | 2023-11-20 17:29:58 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-12-22 12:08:38 +0100 |
commit | 3fde94b6e930f5a0fd4f6458da8d559c898f2322 (patch) | |
tree | 204edfcc01cafda3c2c589db0b56c459e5ba5951 /net/netfilter | |
parent | ffb40fba404561f141d37e5878ec542b67464d74 (diff) | |
download | linux-3fde94b6e930f5a0fd4f6458da8d559c898f2322.tar.gz linux-3fde94b6e930f5a0fd4f6458da8d559c898f2322.tar.bz2 linux-3fde94b6e930f5a0fd4f6458da8d559c898f2322.zip |
netfilter: flowtable: reorder nf_flowtable struct members
Place the read-mostly parts accessed by the datapath first.
In particular, we do access ->flags member (to see if HW offload
is enabled) for every single packet, but this is placed in the 5th
cacheline.
priority could stay where it is, but move it too to cover a hole.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions