diff options
author | Nir Dotan | 2018-12-16 09:49:36 +0100 |
---|---|---|
committer | David S. Miller | 2018-12-17 00:20:34 +0100 |
commit | 5118ca4edf9939ed3812ffbfabe7b97164f29635 (patch) | |
tree | 5dabd156aa71aaf90429ffbfd23d7be23e0351bd /tools/firewire | |
parent | selftests: mlxsw: Add Bloom filter simple test (diff) | |
download | kernel-qcow2-linux-5118ca4edf9939ed3812ffbfabe7b97164f29635.tar.gz kernel-qcow2-linux-5118ca4edf9939ed3812ffbfabe7b97164f29635.tar.xz kernel-qcow2-linux-5118ca4edf9939ed3812ffbfabe7b97164f29635.zip |
selftests: mlxsw: Add Bloom filter complex test
Bloom filter index computation is based on the values of
{rule & mask, mask ID, region ID} and the computation also varies
according to the region key size.
Add a test that exercises the possible combinations by creating
multiple chains using different key sizes and then pass a frame that
is supposed to to produce a hit on all of the regions.
Signed-off-by: Nir Dotan <nird@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/firewire')
0 files changed, 0 insertions, 0 deletions