Searched refs:vf_res (Results 1 – 4 of 4) sorted by relevance
397 * in vf_res->vf_cap_flags. Use ADV_LINK_SUPPORT macro to determine if406 #define RSS_PF(_a) ((_a)->vf_res->vf_cap_flags & \408 #define RSS_AQ(_a) ((_a)->vf_res->vf_cap_flags & \410 #define RSS_REG(_a) (!((_a)->vf_res->vf_cap_flags & \413 #define VLAN_ALLOWED(_a) ((_a)->vf_res->vf_cap_flags & \415 #define VLAN_V2_ALLOWED(_a) ((_a)->vf_res->vf_cap_flags & \417 #define CRC_OFFLOAD_ALLOWED(_a) ((_a)->vf_res->vf_cap_flags & \419 #define TC_U32_SUPPORT(_a) ((_a)->vf_res->vf_cap_flags & \427 #define ADV_LINK_SUPPORT(_a) ((_a)->vf_res->vf_cap_flags & \429 #define FDIR_FLTR_SUPPORT(_a) ((_a)->vf_res440 struct virtchnl_vf_resource *vf_res; /* incl. all VSIs */ global() member [all...]
1724 if ((adapter->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ADQ) && in iavf_set_channels()
514 struct resource *vf_res = pdev->resource + PCI_STD_RESOURCES + 4; in octep_vdpa_vf_bar_shrink() local516 memset(vf_res, 0, sizeof(*vf_res)); in octep_vdpa_vf_bar_shrink()794 struct resource *vf_res = vf_dev->resource + PCI_STD_RESOURCES + 4; in octep_vdpa_assign_barspace() local799 vf_res->name = pci_name(vf_dev); in octep_vdpa_assign_barspace()800 vf_res->flags = pf_res->flags; in octep_vdpa_assign_barspace()801 vf_res->parent = (pf_dev->resource + PCI_STD_RESOURCES)->parent; in octep_vdpa_assign_barspace()805 pcibios_bus_to_resource(vf_dev->bus, vf_res, &bus_region); in octep_vdpa_assign_barspace()
254 struct bnxt_qplib_vf_res *vf_res; in bnxt_re_limit_vf_res() local259 vf_res = &qplib_ctx->vf_res; in bnxt_re_limit_vf_res()267 vf_res->max_qp_per_vf = (qplib_ctx->qpc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()268 vf_res->max_srq_per_vf = (qplib_ctx->srqc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()269 vf_res->max_cq_per_vf = (qplib_ctx->cq_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()284 vf_res->max_mrw_per_vf = (mrws / nvfs); in bnxt_re_limit_vf_res()285 vf_res->max_gid_per_vf = BNXT_RE_MAX_GID_PER_VF; in bnxt_re_limit_vf_res()292 memset(&rdev->qplib_ctx.vf_res, 0, sizeof(struct bnxt_qplib_vf_res)); in bnxt_re_set_resource_limits()