diff options
author | Amit Cohen <amcohen@nvidia.com> | 2022-01-06 19:06:49 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-01-07 07:00:45 +0300 |
commit | 29409f363e2dfdab41bb2f3019116a0a585e8d0b (patch) | |
tree | 0d743ed624c6c70a3605fd7ca69dd83d4759698b /fs/ubifs/crypto.c | |
parent | 5d5c3ba9e4121b7738d10be3825f4d9a5a1d80ef (diff) | |
download | linux-29409f363e2dfdab41bb2f3019116a0a585e8d0b.tar.xz |
mlxsw: spectrum_acl_bloom_filter: Rename Spectrum-2 specific objects for future use
Spectrum-4 will calculate hash function for bloom filter differently from
the existing ASICs.
There are two changes:
1. Instead of using one hash function to calculate 16 bits output (CRC-16),
two functions will be used.
2. The chunks will be built differently, without padding.
As preparation for support of Spectrum-4 bloom filter, rename CRC table
to include "sp2" prefix and "crc16", as next patch will add two additional
tables. In addition, rename all the dedicated functions and defines for
Spectrum-{2,3} to include "sp2" prefix.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/ubifs/crypto.c')
0 files changed, 0 insertions, 0 deletions