Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_virtchnl.c420 struct virtchnl_vf_resource *vfres = NULL; in ice_vc_get_vf_res_msg() local
433 vfres = kzalloc(len, GFP_KERNEL); in ice_vc_get_vf_res_msg()
434 if (!vfres) { in ice_vc_get_vf_res_msg()
498 vfres->num_vsis = 1; in ice_vc_get_vf_res_msg()
500 vfres->num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()
513 vf->driver_caps = vfres->vf_cap_flags; in ice_vc_get_vf_res_msg()
523 (u8 *)vfres, len); in ice_vc_get_vf_res_msg()
525 kfree(vfres); in ice_vc_get_vf_res_msg()
2071 struct virtchnl_vf_res_request *vfres = in ice_vc_request_qs_msg() local
2073 u16 req_queues = vfres->num_queue_pairs; in ice_vc_request_qs_msg()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_virtchnl_pf.c2107 vfres = kzalloc(len, GFP_KERNEL); in i40e_vc_get_vf_resources_msg()
2108 if (!vfres) { in i40e_vc_get_vf_resources_msg()
2146 vfres->vf_cap_flags |= in i40e_vc_get_vf_resources_msg()
2170 vfres->vf_cap_flags |= in i40e_vc_get_vf_resources_msg()
2180 vfres->num_vsis = num_vsis; in i40e_vc_get_vf_resources_msg()
2192 vfres->vsi_res[0].qset_handle in i40e_vc_get_vf_resources_msg()
2206 aq_ret, (u8 *)vfres, len); in i40e_vc_get_vf_resources_msg()
2208 kfree(vfres); in i40e_vc_get_vf_resources_msg()
2735 struct virtchnl_vf_res_request *vfres = in i40e_vc_request_queues_msg() local
2762 vfres->num_queue_pairs = cur_pairs; in i40e_vc_request_queues_msg()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4vf/
A Dt4vf_hw.c1092 struct vf_resources *vfres = &adapter->params.vfres; in t4vf_get_vfres() local
1114 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()
1128 vfres->wx_caps = FW_PFVF_CMD_WX_CAPS_G(word); in t4vf_get_vfres()
[all …]
A Dcxgb4vf_main.c2307 struct vf_resources *vfres = &adapter->params.vfres; in resources_show() local
2311 desc " (" #var "):", vfres->var) in resources_show()
2449 struct vf_resources *vfres = &adapter->params.vfres; in size_nports_qsets() local
2455 adapter->params.nports = vfres->nvi; in size_nports_qsets()
2473 adapter->params.vfres.pmask); in size_nports_qsets()
2494 if (vfres->nethctrl != ethqsets) in size_nports_qsets()
2496 if (vfres->neq < ethqsets*2) in size_nports_qsets()
2497 ethqsets = vfres->neq/2; in size_nports_qsets()
2633 if (adapter->params.vfres.nvi == 0) { in adap_init0()
2874 pmask = adapter->params.vfres.pmask; in cxgb4vf_get_port_mask()
[all …]
A Dt4vf_common.h265 struct vf_resources vfres; /* Virtual Function Resource limits */ member
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_main.c2945 struct virtchnl_vf_resource *vfres = adapter->vf_res; in iavf_reset_task() local
3114 if ((vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ADQ) && in iavf_reset_task()
3584 struct virtchnl_vf_resource *vfres = adapter->vf_res; in __iavf_setup_tc() local
3613 if (!(vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ADQ)) { in __iavf_setup_tc()
4718 struct virtchnl_vf_resource *vfres = adapter->vf_res; in iavf_process_config() local
4740 if (vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ENCAP) { in iavf_process_config()
4750 if (!(vfres->vf_cap_flags & in iavf_process_config()
4771 if (vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ADQ) in iavf_process_config()
4773 if (vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_USO) in iavf_process_config()
4781 if (vfres->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN) in iavf_process_config()
A Diavf_virtchnl.c2325 struct virtchnl_vf_res_request *vfres = in iavf_virtchnl_completion() local
2328 if (vfres->num_queue_pairs != adapter->num_req_queues) { in iavf_virtchnl_completion()
2332 vfres->num_queue_pairs); in iavf_virtchnl_completion()

Completed in 39 milliseconds