diff options
author | Nir Dotan | 2018-12-16 09:49:37 +0100 |
---|---|---|
committer | David S. Miller | 2018-12-17 00:20:34 +0100 |
commit | 5d06a76d9e6d2d00eadba72548636ff0ff6fabde (patch) | |
tree | 79795936c11ca42f4b59ca1f14c0ed3571e6c49e /kernel/rcu/tree_exp.h | |
parent | selftests: mlxsw: Add Bloom filter complex test (diff) | |
download | kernel-qcow2-linux-5d06a76d9e6d2d00eadba72548636ff0ff6fabde.tar.gz kernel-qcow2-linux-5d06a76d9e6d2d00eadba72548636ff0ff6fabde.tar.xz kernel-qcow2-linux-5d06a76d9e6d2d00eadba72548636ff0ff6fabde.zip |
selftests: mlxsw: Add Bloom delta test
The eRP table is active when there is more than a single rule
pattern. It may be that the patterns are close enough and use delta
mechanism. Bloom filter index computation is based on the values of
{rule & mask, mask ID, region ID} where the rule delta bits must be
cleared.
Add a test that exercises Bloom filter with delta mechanism.
Configure rules within delta range and pass a packet which is
supposed to hit the correct rule.
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 'kernel/rcu/tree_exp.h')
0 files changed, 0 insertions, 0 deletions