Home
last modified time | relevance | path

Searched hist:"23 f68d46" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dnft_cmp.c23f68d46 Mon Feb 07 12:25:08 CST 2022 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: nft_cmp: optimize comparison for 16-bytes

Allow up to 16-byte comparisons with a new cmp fast version. Use two
64-bit words and calculate the mask representing the bits to be
compared. Make sure the comparison is 64-bit aligned and avoid
out-of-bound memory access on registers.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
H A Dnf_tables_core.c23f68d46 Mon Feb 07 12:25:08 CST 2022 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: nft_cmp: optimize comparison for 16-bytes

Allow up to 16-byte comparisons with a new cmp fast version. Use two
64-bit words and calculate the mask representing the bits to be
compared. Make sure the comparison is 64-bit aligned and avoid
out-of-bound memory access on registers.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
/openbmc/linux/include/net/netfilter/
H A Dnf_tables_core.h23f68d46 Mon Feb 07 12:25:08 CST 2022 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: nft_cmp: optimize comparison for 16-bytes

Allow up to 16-byte comparisons with a new cmp fast version. Use two
64-bit words and calculate the mask representing the bits to be
compared. Make sure the comparison is 64-bit aligned and avoid
out-of-bound memory access on registers.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>