Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c247 static void bnxt_re_limit_vf_res(struct bnxt_qplib_ctx *qplib_ctx, u32 num_vf) in bnxt_re_limit_vf_res() argument
260 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()
/linux/include/linux/
H A Ddevice.h1205 if (dev->bus && dev->bus->num_vf)
1206 return dev->bus->num_vf(dev);
/linux/drivers/net/netdevsim/
H A Dbus.c414 .num_vf = nsim_num_vf,