Lines Matching refs:mce_counter
177 struct rsrc_bmap *mce_counter; in nix_alloc_mce_list() local
183 mce_counter = &mcast->mce_counter[dir]; in nix_alloc_mce_list()
184 if (!rvu_rsrc_check_contig(mce_counter, count)) in nix_alloc_mce_list()
187 idx = rvu_alloc_rsrc_contig(mce_counter, count); in nix_alloc_mce_list()
193 struct rsrc_bmap *mce_counter; in nix_free_mce_list() local
198 mce_counter = &mcast->mce_counter[dir]; in nix_free_mce_list()
199 rvu_free_rsrc_contig(mce_counter, count, start); in nix_free_mce_list()
3602 mcast->mce_counter[NIX_MCAST_INGRESS].max = 256UL << MC_TBL_SIZE; in nix_setup_mcast()
3603 err = rvu_alloc_bitmap(&mcast->mce_counter[NIX_MCAST_INGRESS]); in nix_setup_mcast()
3608 mcast->mce_counter[NIX_MCAST_EGRESS].max = MC_TX_MAX; in nix_setup_mcast()
3609 err = rvu_alloc_bitmap(&mcast->mce_counter[NIX_MCAST_EGRESS]); in nix_setup_mcast()
3611 rvu_free_bitmap(&mcast->mce_counter[NIX_MCAST_INGRESS]); in nix_setup_mcast()
3617 mcast->mce_counter[NIX_MCAST_INGRESS].max, size); in nix_setup_mcast()
3619 rvu_free_bitmap(&mcast->mce_counter[NIX_MCAST_INGRESS]); in nix_setup_mcast()
3620 rvu_free_bitmap(&mcast->mce_counter[NIX_MCAST_EGRESS]); in nix_setup_mcast()
3636 rvu_free_bitmap(&mcast->mce_counter[NIX_MCAST_INGRESS]); in nix_setup_mcast()
3637 rvu_free_bitmap(&mcast->mce_counter[NIX_MCAST_EGRESS]); in nix_setup_mcast()