Searched refs:vfres (Results 1 – 7 of 7) sorted by relevance
372 struct virtchnl_vf_resource *vfres = NULL; in ice_vc_get_vf_res_msg() local385 vfres = kzalloc(len, GFP_KERNEL); in ice_vc_get_vf_res_msg()386 if (!vfres) { in ice_vc_get_vf_res_msg()398 vfres->vf_cap_flags = VIRTCHNL_VF_OFFLOAD_L2; in ice_vc_get_vf_res_msg()407 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_VLAN_V2; in ice_vc_get_vf_res_msg()416 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_VLAN; in ice_vc_get_vf_res_msg()419 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_VLAN; in ice_vc_get_vf_res_msg()434 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_RSS_PF; in ice_vc_get_vf_res_msg()437 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_RSS_AQ; in ice_vc_get_vf_res_msg()439 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_RSS_REG; in ice_vc_get_vf_res_msg()[all …]
2050 struct virtchnl_vf_resource *vfres = NULL; in i40e_vc_get_vf_resources_msg() local2063 len = struct_size(vfres, vsi_res, num_vsis); in i40e_vc_get_vf_resources_msg()2064 vfres = kzalloc(len, GFP_KERNEL); in i40e_vc_get_vf_resources_msg()2065 if (!vfres) { in i40e_vc_get_vf_resources_msg()2077 vfres->vf_cap_flags = VIRTCHNL_VF_OFFLOAD_L2; in i40e_vc_get_vf_resources_msg()2078 vfres->vf_cap_flags |= VIRTCHNL_VF_CAP_ADV_LINK_SPEED; in i40e_vc_get_vf_resources_msg()2081 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_VLAN; in i40e_vc_get_vf_resources_msg()2085 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_IWARP; in i40e_vc_get_vf_resources_msg()2092 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_RSS_PF; in i40e_vc_get_vf_resources_msg()2096 vfres->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_RSS_AQ; in i40e_vc_get_vf_resources_msg()[all …]
546 if (!(adapter->params.vfres.r_caps & FW_CMD_CAP_PORT)) in t4vf_port_init()1092 struct vf_resources *vfres = &adapter->params.vfres; in t4vf_get_vfres() local1114 vfres->niqflint = FW_PFVF_CMD_NIQFLINT_G(word); in t4vf_get_vfres()1115 vfres->niq = FW_PFVF_CMD_NIQ_G(word); in t4vf_get_vfres()1118 vfres->neq = FW_PFVF_CMD_NEQ_G(word); in t4vf_get_vfres()1119 vfres->pmask = FW_PFVF_CMD_PMASK_G(word); in t4vf_get_vfres()1122 vfres->tc = FW_PFVF_CMD_TC_G(word); in t4vf_get_vfres()1123 vfres->nvi = FW_PFVF_CMD_NVI_G(word); in t4vf_get_vfres()1124 vfres->nexactf = FW_PFVF_CMD_NEXACTF_G(word); in t4vf_get_vfres()1127 vfres->r_caps = FW_PFVF_CMD_R_CAPS_G(word); in t4vf_get_vfres()[all …]
2307 struct vf_resources *vfres = &adapter->params.vfres; in resources_show() local2311 desc " (" #var "):", vfres->var) in resources_show()2449 struct vf_resources *vfres = &adapter->params.vfres; in size_nports_qsets() local2455 adapter->params.nports = vfres->nvi; in size_nports_qsets()2468 pmask_nports = hweight32(adapter->params.vfres.pmask); in size_nports_qsets()2473 adapter->params.vfres.pmask); in size_nports_qsets()2493 ethqsets = vfres->niqflint - 1 - (msi == MSI_MSI); in size_nports_qsets()2494 if (vfres->nethctrl != ethqsets) in size_nports_qsets()2495 ethqsets = min(vfres->nethctrl, ethqsets); in size_nports_qsets()2496 if (vfres->neq < ethqsets*2) in size_nports_qsets()[all …]
265 struct vf_resources vfres; /* Virtual Function Resource limits */ member
2782 struct virtchnl_vf_resource *vfres = adapter->vf_res; in iavf_reset_task() local2945 if ((vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ADQ) && in iavf_reset_task()3423 struct virtchnl_vf_resource *vfres = adapter->vf_res; in __iavf_setup_tc() local3452 if (!(vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ADQ)) { in __iavf_setup_tc()4518 struct virtchnl_vf_resource *vfres = adapter->vf_res; in iavf_process_config() local4540 if (vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ENCAP) { in iavf_process_config()4550 if (!(vfres->vf_cap_flags & in iavf_process_config()4571 if (vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ADQ) in iavf_process_config()4573 if (vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_USO) in iavf_process_config()4581 if (vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN) in iavf_process_config()
2261 struct virtchnl_vf_res_request *vfres = in iavf_virtchnl_completion() local2264 if (vfres->num_queue_pairs != adapter->num_req_queues) { in iavf_virtchnl_completion()2268 vfres->num_queue_pairs); in iavf_virtchnl_completion()