Searched refs:num_vf (Results 1 – 6 of 6) sorted by relevance
172 static void bnxt_re_limit_vf_res(struct bnxt_qplib_ctx *qplib_ctx, u32 num_vf) in bnxt_re_limit_vf_res() argument185 nvfs = num_vf; in bnxt_re_limit_vf_res()186 num_vf = 100 * num_vf; in bnxt_re_limit_vf_res()187 vf_res->max_qp_per_vf = (qplib_ctx->qpc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()188 vf_res->max_srq_per_vf = (qplib_ctx->srqc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()189 vf_res->max_cq_per_vf = (qplib_ctx->cq_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()200 nvfs = num_vf; in bnxt_re_limit_vf_res()
103 int (*num_vf)(struct device *dev); member
311 .num_vf = nsim_num_vf,
812 if (dev->bus && dev->bus->num_vf) in dev_num_vf()813 return dev->bus->num_vf(dev); in dev_num_vf()
509 int dfl_fpga_cdev_config_ports_vf(struct dfl_fpga_cdev *cdev, int num_vf);
1609 .num_vf = pci_bus_num_vf,