OSDN Git Service

mlxsw: spectrum_acl: Introduce Bloom filter
authorNir Dotan <nird@mellanox.com>
Sun, 16 Dec 2018 08:49:26 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2018 23:20:33 +0000 (15:20 -0800)
commit0487cfba866a7f985c51ce7553d37439e10e71c1
tree8d79b565ff052b8df38c6e34f42165c3c98e5227
parent944068582fe6e69fd76cb7b90ba2fd5cac04d78e
mlxsw: spectrum_acl: Introduce Bloom filter

Lay the foundations for Bloom filter handling. Introduce a new file for
Bloom filter actions.

Add struct mlxsw_sp_acl_bf to struct mlxsw_sp_acl_erp_core and initialize
the Bloom filter data structure. Also take care of proper destruction when
terminating.

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>
drivers/net/ethernet/mellanox/mlxsw/Makefile
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h