summaryrefslogtreecommitdiffstats
path: root/tools/firewire
diff options
context:
space:
mode:
authorNir Dotan2018-12-16 09:49:36 +0100
committerDavid S. Miller2018-12-17 00:20:34 +0100
commit5118ca4edf9939ed3812ffbfabe7b97164f29635 (patch)
tree5dabd156aa71aaf90429ffbfd23d7be23e0351bd /tools/firewire
parentselftests: mlxsw: Add Bloom filter simple test (diff)
downloadkernel-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