Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
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, 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()