summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorNir Dotan2018-12-16 09:49:37 +0100
committerDavid S. Miller2018-12-17 00:20:34 +0100
commit5d06a76d9e6d2d00eadba72548636ff0ff6fabde (patch)
tree79795936c11ca42f4b59ca1f14c0ed3571e6c49e /kernel
parentselftests: mlxsw: Add Bloom filter complex test (diff)
downloadkernel-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')
0 files changed, 0 insertions, 0 deletions