summaryrefslogtreecommitdiff
path: root/samples/nitro_enclaves
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-01-09 19:11:21 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2022-01-10 01:35:17 +0300
commit12e4ecfa244be2f117ef5304d2d866b65e70bff3 (patch)
tree1deb284a2e6bfd58e9ff3fe6a7153dbd05615c43 /samples/nitro_enclaves
parent642c8eff5c6099dfde386ca3906fa55dc98f9ade (diff)
downloadlinux-12e4ecfa244be2f117ef5304d2d866b65e70bff3.tar.xz
netfilter: nf_tables: add register tracking infrastructure
This patch adds new infrastructure to skip redundant selector store operations on the same register to achieve a performance boost from the packet path. This is particularly noticeable in pure linear rulesets but it also helps in rulesets which are already heaving relying in maps to avoid ruleset linear inspection. The idea is to keep data of the most recurrent store operations on register to reuse them with cmp and lookup expressions. This infrastructure allows for dynamic ruleset updates since the ruleset blob reduction happens from the kernel. Userspace still needs to be updated to maximize register utilization to cooperate to improve register data reuse / reduce number of store on register operations. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'samples/nitro_enclaves')
0 files changed, 0 insertions, 0 deletions