Searched refs:num_mr (Results 1 – 2 of 2) sorted by relevance
93 atomic_t num_mr; member
8911 u32 num_mr, num_ah = ctxm->mrav_av_entries; in bnxt_hwrm_func_backing_store_cfg() local8914 num_mr = ctx_pg->entries - num_ah; in bnxt_hwrm_func_backing_store_cfg()8915 entries = ((num_mr / units) << 16) | (num_ah / units); in bnxt_hwrm_func_backing_store_cfg()9313 u32 num_mr, num_ah; in bnxt_alloc_ctx_mem() local9394 num_mr = ctxm->max_entries - num_ah; in bnxt_alloc_ctx_mem()9399 num_mr = min_t(u32, ctxm->max_entries / 2, 1024 * 256); in bnxt_alloc_ctx_mem()9400 num_ah = min_t(u32, num_mr, 1024 * 128); in bnxt_alloc_ctx_mem()9406 rc = bnxt_setup_ctxm_pg_tbls(bp, ctxm, num_mr + num_ah, 2); in bnxt_alloc_ctx_mem()