Home
last modified time | relevance | path

Searched refs:num_vf (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/bnxt_re/
Dmain.c172 static void bnxt_re_limit_vf_res(struct bnxt_qplib_ctx *qplib_ctx, u32 num_vf) in bnxt_re_limit_vf_res() argument
185 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()
/Linux-v5.10/include/linux/device/
Dbus.h103 int (*num_vf)(struct device *dev); member
/Linux-v5.10/drivers/net/netdevsim/
Dbus.c311 .num_vf = nsim_num_vf,
/Linux-v5.10/include/linux/
Ddevice.h812 if (dev->bus && dev->bus->num_vf) in dev_num_vf()
813 return dev->bus->num_vf(dev); in dev_num_vf()
/Linux-v5.10/drivers/fpga/
Ddfl.h509 int dfl_fpga_cdev_config_ports_vf(struct dfl_fpga_cdev *cdev, int num_vf);
/Linux-v5.10/drivers/pci/
Dpci-driver.c1609 .num_vf = pci_bus_num_vf,