Lines Matching refs:vf_info
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
1823 vf_info = &sriov->vf_info[i]; in qlcnic_sriov_set_vf_mac()
1824 if (ether_addr_equal(vf_info->vp->mac, mac)) { in qlcnic_sriov_set_vf_mac()
1832 vf_info = &sriov->vf_info[vf]; in qlcnic_sriov_set_vf_mac()
1833 curr_mac = vf_info->vp->mac; in qlcnic_sriov_set_vf_mac()
1835 if (test_bit(QLC_BC_VF_STATE, &vf_info->state)) { in qlcnic_sriov_set_vf_mac()
1853 struct qlcnic_vf_info *vf_info; in qlcnic_sriov_set_vf_tx_rate() local
1864 vf_info = &sriov->vf_info[vf]; in qlcnic_sriov_set_vf_tx_rate()
1865 vp = vf_info->vp; in qlcnic_sriov_set_vf_tx_rate()
1890 if (test_bit(QLC_BC_VF_STATE, &vf_info->state)) { in qlcnic_sriov_set_vf_tx_rate()
1918 struct qlcnic_vf_info *vf_info; in qlcnic_sriov_set_vf_vlan() local
1937 vf_info = &sriov->vf_info[vf]; in qlcnic_sriov_set_vf_vlan()
1938 vp = vf_info->vp; in qlcnic_sriov_set_vf_vlan()
1939 if (test_bit(QLC_BC_VF_STATE, &vf_info->state)) { in qlcnic_sriov_set_vf_vlan()
1946 memset(vf_info->sriov_vlans, 0, in qlcnic_sriov_set_vf_vlan()
1947 sizeof(*vf_info->sriov_vlans) * sriov->num_allowed_vlans); in qlcnic_sriov_set_vf_vlan()
1959 qlcnic_sriov_add_vlan_id(sriov, vf_info, vlan); in qlcnic_sriov_set_vf_vlan()
2005 vp = sriov->vf_info[vf].vp; in qlcnic_sriov_get_vf_config()
2027 struct qlcnic_vf_info *vf_info; in qlcnic_sriov_set_vf_spoofchk() local
2036 vf_info = &sriov->vf_info[vf]; in qlcnic_sriov_set_vf_spoofchk()
2037 vp = vf_info->vp; in qlcnic_sriov_set_vf_spoofchk()
2038 if (test_bit(QLC_BC_VF_STATE, &vf_info->state)) { in qlcnic_sriov_set_vf_spoofchk()