Home
last modified time | relevance | path

Searched refs:bf_bank_size (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_bloom_filter.c490 unsigned int bf_bank_size; in mlxsw_sp_acl_bf_init() local
498 bf_bank_size = 1 << MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_BF_LOG); in mlxsw_sp_acl_bf_init()
499 bf = kzalloc(struct_size(bf, refcnt, size_mul(bf_bank_size, num_erp_banks)), in mlxsw_sp_acl_bf_init()
504 bf->bank_size = bf_bank_size; in mlxsw_sp_acl_bf_init()