]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Add Bloom filter simple test
authorNir Dotan <nird@mellanox.com>
Sun, 16 Dec 2018 08:49:35 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2018 23:20:34 +0000 (15:20 -0800)
commit7dd29bac84fc754c7a4cb861137e3b05d75356f2
treea863e86ae035992d223f58882e380921be57f5a4
parent14a7dedb66e3edb15b2ef1b1b221ab82102f5481
selftests: mlxsw: Add Bloom filter simple test

Add a test that exercises Bloom filter code.
Activate eRP table in the region by adding multiple rule patterns which
with very high probability use different entries in the Bloom filter.
Then send packets in order to check lookup hits on all relevant rules.

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>
tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower.sh