diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-02-07 19:25:08 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-02-09 12:00:28 +0100 |
commit | 23f68d462984bfda47c7bf663dca347e8e3df549 (patch) | |
tree | 188f5db3e4964a00c8454c699f434923dd987e45 /drivers/net/ethernet/intel/ice/ice_dcb_lib.c | |
parent | 7afa38831aee2ca2f41b22747ed8545e1887aaa9 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.c')
0 files changed, 0 insertions, 0 deletions