Searched refs:num_vf (Results 1 – 3 of 3) sorted by relevance
247 static void bnxt_re_limit_vf_res(struct bnxt_qplib_ctx *qplib_ctx, u32 num_vf) in bnxt_re_limit_vf_res() argument260 nvfs = num_vf; in bnxt_re_limit_vf_res()261 num_vf = 100 * num_vf; in bnxt_re_limit_vf_res()262 vf_res->max_qp_per_vf = (qplib_ctx->qpc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()263 vf_res->max_srq_per_vf = (qplib_ctx->srqc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()264 vf_res->max_cq_per_vf = (qplib_ctx->cq_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()275 nvfs = num_vf; in bnxt_re_limit_vf_res()
1205 if (dev->bus && dev->bus->num_vf)1206 return dev->bus->num_vf(dev);
414 .num_vf = nsim_num_vf,