/Linux-v5.4/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_iov.c | 11 struct fm10k_vf_info *vf_info = (struct fm10k_vf_info *)mbx; in fm10k_iov_msg_error() local 16 **results & FM10K_TLV_ID_MASK, vf_info->vf_idx); in fm10k_iov_msg_error() 36 struct fm10k_vf_info *vf_info = (struct fm10k_vf_info *)mbx; in fm10k_iov_msg_queue_mac_vlan() local 46 if (!FM10K_VF_FLAG_ENABLED(vf_info)) in fm10k_iov_msg_queue_mac_vlan() 74 if (vf_info->pf_vid) in fm10k_iov_msg_queue_mac_vlan() 77 err = fm10k_iov_select_vid(vf_info, (u16)vid); in fm10k_iov_msg_queue_mac_vlan() 85 err = hw->mac.ops.update_vlan(hw, vid, vf_info->vsi, set); in fm10k_iov_msg_queue_mac_vlan() 97 if (is_valid_ether_addr(vf_info->mac) && in fm10k_iov_msg_queue_mac_vlan() 98 !ether_addr_equal(mac, vf_info->mac)) in fm10k_iov_msg_queue_mac_vlan() 104 err = fm10k_iov_select_vid(vf_info, vlan); in fm10k_iov_msg_queue_mac_vlan() [all …]
|
D | fm10k_pf.c | 829 struct fm10k_vf_info *vf_info) in fm10k_iov_assign_default_mac_vlan_pf() argument 837 if (!vf_info || vf_info->vf_idx >= hw->iov.num_vfs) in fm10k_iov_assign_default_mac_vlan_pf() 845 vf_idx = vf_info->vf_idx; in fm10k_iov_assign_default_mac_vlan_pf() 854 if (vf_info->pf_vid) in fm10k_iov_assign_default_mac_vlan_pf() 855 vf_vid = vf_info->pf_vid | FM10K_VLAN_OVERRIDE; in fm10k_iov_assign_default_mac_vlan_pf() 857 vf_vid = vf_info->sw_vid; in fm10k_iov_assign_default_mac_vlan_pf() 862 vf_info->mac, vf_vid); in fm10k_iov_assign_default_mac_vlan_pf() 877 if (vf_info->mbx.ops.enqueue_tx) { in fm10k_iov_assign_default_mac_vlan_pf() 878 err = vf_info->mbx.ops.enqueue_tx(hw, &vf_info->mbx, msg); in fm10k_iov_assign_default_mac_vlan_pf() 908 if (is_valid_ether_addr(vf_info->mac)) { in fm10k_iov_assign_default_mac_vlan_pf() [all …]
|
D | fm10k_type.h | 600 #define FM10K_VF_FLAG_CAPABLE(vf_info) ((vf_info)->vf_flags & (u8)0xF) argument 601 #define FM10K_VF_FLAG_ENABLED(vf_info) ((vf_info)->vf_flags >> 4) argument
|
D | fm10k_pf.h | 100 s32 fm10k_iov_select_vid(struct fm10k_vf_info *vf_info, u16 vid);
|
D | fm10k_pci.c | 1288 struct fm10k_vf_info *vf_info = &iov_data->vf_info[vf]; in fm10k_handle_fault() local 1290 hw->iov.ops.reset_lport(hw, vf_info); in fm10k_handle_fault() 1291 hw->iov.ops.reset_resources(hw, vf_info); in fm10k_handle_fault() 1294 hw->iov.ops.set_lport(hw, vf_info, vf, in fm10k_handle_fault() 1298 vf_info->mbx.ops.connect(hw, &vf_info->mbx); in fm10k_handle_fault()
|
D | fm10k.h | 221 struct fm10k_vf_info vf_info[0]; member
|
/Linux-v5.4/drivers/crypto/qat/qat_common/ |
D | adf_sriov.c | 84 struct adf_accel_vf_info *vf_info; member 92 adf_vf2pf_req_hndl(pf2vf_resp->vf_info); in adf_iov_send_resp() 98 struct adf_accel_vf_info *vf_info = (struct adf_accel_vf_info *)data; in adf_vf2pf_bh_handler() local 105 pf2vf_resp->vf_info = vf_info; in adf_vf2pf_bh_handler() 118 struct adf_accel_vf_info *vf_info; in adf_enable_sriov() local 122 for (i = 0, vf_info = accel_dev->pf.vf_info; i < totalvfs; in adf_enable_sriov() 123 i++, vf_info++) { in adf_enable_sriov() 125 vf_info->accel_dev = accel_dev; in adf_enable_sriov() 126 vf_info->vf_nr = i; in adf_enable_sriov() 128 tasklet_init(&vf_info->vf2pf_bh_tasklet, in adf_enable_sriov() [all …]
|
D | adf_isr.c | 69 if (!accel_dev->pf.vf_info) { in adf_enable_msix() 109 if (accel_dev->pf.vf_info) { in adf_msix_isr_ae() 123 struct adf_accel_vf_info *vf_info; in adf_msix_isr_ae() local 137 vf_info = accel_dev->pf.vf_info + i; in adf_msix_isr_ae() 139 if (!__ratelimit(&vf_info->vf2pf_ratelimit)) { in adf_msix_isr_ae() 142 vf_info->vf_nr + 1); in adf_msix_isr_ae() 147 tasklet_hi_schedule(&vf_info->vf2pf_bh_tasklet); in adf_msix_isr_ae() 173 if (!accel_dev->pf.vf_info) { in adf_request_irqs() 238 if (!accel_dev->pf.vf_info) in adf_isr_alloc_msix_entry_table()
|
D | adf_pf2vf_msg.c | 149 lock = &accel_dev->pf.vf_info[vf_nr].pf2vf_lock; in __adf_iov_putmsg() 236 void adf_vf2pf_req_hndl(struct adf_accel_vf_info *vf_info) in adf_vf2pf_req_hndl() argument 238 struct adf_accel_dev *accel_dev = vf_info->accel_dev; in adf_vf2pf_req_hndl() 243 u32 msg, resp = 0, vf_nr = vf_info->vf_nr; in adf_vf2pf_req_hndl() 312 vf_info->init = true; in adf_vf2pf_req_hndl() 320 vf_info->init = false; in adf_vf2pf_req_hndl() 345 for (i = 0, vf = accel_dev->pf.vf_info; i < num_vfs; i++, vf++) { in adf_pf2vf_notify_restarting()
|
D | adf_accel_devices.h | 244 struct adf_accel_vf_info *vf_info; member
|
D | adf_common_drv.h | 112 void adf_vf2pf_req_hndl(struct adf_accel_vf_info *vf_info);
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 1322 struct qed_vf_info *vf_info, in qed_iov_prepare_resp() argument 1325 struct qed_iov_vf_mbx *mbx = &vf_info->vf_mbx; in qed_iov_prepare_resp() 1333 qed_iov_send_response(p_hwfn, p_ptt, vf_info, length, status); in qed_iov_prepare_resp() 1352 struct qed_public_vf_info *vf_info; in qed_iov_clean_vf() local 1354 vf_info = qed_iov_get_public_vf_info(p_hwfn, vfid, false); in qed_iov_clean_vf() 1356 if (!vf_info) in qed_iov_clean_vf() 1360 eth_zero_addr(vf_info->mac); in qed_iov_clean_vf() 1362 vf_info->rx_accept_mode = 0; in qed_iov_clean_vf() 1363 vf_info->tx_accept_mode = 0; in qed_iov_clean_vf() 1915 struct qed_vf_info *vf_info; in qed_iov_vf_mbx_start_vport() local [all …]
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_pf.c | 109 vp = sriov->vf_info[id].vp; in qlcnic_sriov_pf_cal_res_limit() 246 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_reset_vport_handle() 264 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_set_vport_handle() 273 struct qlcnic_vf_info *vf_info; in qlcnic_sriov_pf_get_vport_handle() local 281 vf_info = &sriov->vf_info[index]; in qlcnic_sriov_pf_get_vport_handle() 282 return vf_info->vp->handle; in qlcnic_sriov_pf_get_vport_handle() 414 cancel_work_sync(&sriov->vf_info[i].flr_work); in qlcnic_sriov_pf_del_flr_queue() 694 vp = adapter->ahw->sriov->vf_info[id].vp; in qlcnic_sriov_set_vf_acl() 1770 vf = &sriov->vf_info[i]; in qlcnic_sriov_pf_reset() 1806 struct qlcnic_vf_info *vf_info; in qlcnic_sriov_set_vf_mac() local [all …]
|
D | qlcnic_sriov_common.c | 160 sriov->vf_info = kcalloc(num_vfs, sizeof(struct qlcnic_vf_info), in qlcnic_sriov_init() 162 if (!sriov->vf_info) { in qlcnic_sriov_init() 191 vf = &sriov->vf_info[i]; in qlcnic_sriov_init() 210 sriov->vf_info[i].vp = vp; in qlcnic_sriov_init() 231 kfree(sriov->vf_info); in qlcnic_sriov_init() 274 vf = &sriov->vf_info[i]; in __qlcnic_sriov_cleanup() 283 kfree(sriov->vf_info[i].vp); in __qlcnic_sriov_cleanup() 285 kfree(sriov->vf_info); in __qlcnic_sriov_cleanup() 682 struct qlcnic_vf_info *vf_info = adapter->ahw->sriov->vf_info; in qlcnic_sriov_func_to_index() local 689 if (vf_info[i].pci_func == pci_func) in qlcnic_sriov_func_to_index() [all …]
|
D | qlcnic_sriov.h | 185 struct qlcnic_vf_info *vf_info; member
|
/Linux-v5.4/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_dh895xcc_hw_data.c | 210 accel_dev->pf.vf_info ? 0 : in adf_enable_ints()
|
/Linux-v5.4/drivers/staging/media/ipu3/ |
D | ipu3-css.c | 774 cfg_iter->vf_info.res.width = in imgu_css_pipeline_init() 776 cfg_iter->vf_info.res.height = in imgu_css_pipeline_init() 778 cfg_iter->vf_info.padded_width = in imgu_css_pipeline_init() 780 cfg_iter->vf_info.format = in imgu_css_pipeline_init() 782 cfg_iter->vf_info.raw_bit_depth = in imgu_css_pipeline_init() 784 cfg_iter->vf_info.raw_bayer_order = in imgu_css_pipeline_init() 786 cfg_iter->vf_info.raw_type = IMGU_ABI_RAW_TYPE_BAYER; in imgu_css_pipeline_init()
|
D | ipu3-abi.h | 1851 struct imgu_abi_frame_sp_info vf_info; member
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 886 struct vf_info { struct 963 struct vf_info *vfinfo;
|
D | cxgb4_main.c | 2824 struct vf_info *vfinfo; in cxgb4_mgmt_get_vf_config() 5624 sizeof(struct vf_info), GFP_KERNEL); in cxgb4_iov_configure()
|