Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c63 struct mlxsw_afa { struct
197 struct mlxsw_afa *mlxsw_afa_create(unsigned int max_acts_per_set, in mlxsw_afa_create()
201 struct mlxsw_afa *mlxsw_afa; in mlxsw_afa_create() local
204 mlxsw_afa = kzalloc(sizeof(*mlxsw_afa), GFP_KERNEL); in mlxsw_afa_create()
205 if (!mlxsw_afa) in mlxsw_afa_create()
207 err = rhashtable_init(&mlxsw_afa->set_ht, &mlxsw_afa_set_ht_params); in mlxsw_afa_create()
210 err = rhashtable_init(&mlxsw_afa->fwd_entry_ht, in mlxsw_afa_create()
214 err = rhashtable_init(&mlxsw_afa->cookie_ht, in mlxsw_afa_create()
218 err = rhashtable_init(&mlxsw_afa->policer_ht, in mlxsw_afa_create()
222 idr_init(&mlxsw_afa->cookie_idr); in mlxsw_afa_create()
[all …]
Dcore_acl_flex_actions.h11 struct mlxsw_afa;
42 struct mlxsw_afa *mlxsw_afa_create(unsigned int max_acts_per_set,
45 void mlxsw_afa_destroy(struct mlxsw_afa *mlxsw_afa);
46 struct mlxsw_afa_block *mlxsw_afa_block_create(struct mlxsw_afa *mlxsw_afa);
57 mlxsw_afa_cookie_lookup(struct mlxsw_afa *mlxsw_afa, u32 cookie_index);
Dspectrum.h172 struct mlxsw_afa *afa;