Home
last modified time | relevance | path

Searched refs:vfres (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/cxgbe/common/
H A Dt4vf_hw.c311 struct vf_resources *vfres = &adapter->params.vfres; in t4vf_get_vfres() local
333 vfres->niqflint = G_FW_PFVF_CMD_NIQFLINT(word); in t4vf_get_vfres()
334 vfres->niq = G_FW_PFVF_CMD_NIQ(word); in t4vf_get_vfres()
337 vfres->neq = G_FW_PFVF_CMD_NEQ(word); in t4vf_get_vfres()
338 vfres->pmask = G_FW_PFVF_CMD_PMASK(word); in t4vf_get_vfres()
341 vfres->tc = G_FW_PFVF_CMD_TC(word); in t4vf_get_vfres()
342 vfres->nvi = G_FW_PFVF_CMD_NVI(word); in t4vf_get_vfres()
343 vfres->nexactf = G_FW_PFVF_CMD_NEXACTF(word); in t4vf_get_vfres()
346 vfres->r_caps = G_FW_PFVF_CMD_R_CAPS(word); in t4vf_get_vfres()
347 vfres->wx_caps = G_FW_PFVF_CMD_WX_CAPS(word); in t4vf_get_vfres()
[all …]
H A Dcommon.h366 struct vf_resources vfres; /* VF-only */ member
H A Dt4_hw.c9828 adap->params.vfres.r_caps & FW_CMD_CAP_PORT) { in t4_port_init()
/freebsd/sys/dev/cxgbe/
H A Dt4_vf.c269 if (sc->params.vfres.pmask == 0) { in get_params__post_init()
273 if (sc->params.vfres.nvi == 0) { in get_params__post_init()
278 sc->params.portvec = sc->params.vfres.pmask; in get_params__post_init()
320 struct vf_resources *vfres; in cfg_itype_and_nqueues() local
328 vfres = &sc->params.vfres; in cfg_itype_and_nqueues()
366 iq_avail = vfres->niqflint - iaq->nirq; in cfg_itype_and_nqueues()
370 vfres->niqflint, nports); in cfg_itype_and_nqueues()
398 if (vfres->nethctrl < nports) { in cfg_itype_and_nqueues()
401 vfres->nethctrl, nports); in cfg_itype_and_nqueues()
406 if (ntxq > vfres->nethctrl) { in cfg_itype_and_nqueues()
[all …]