Lines Matching refs:vf_id

101 	wr32(hw, VPINT_ALLOC(vf->vf_id), 0);
102 wr32(hw, VPINT_ALLOC_PCI(vf->vf_id), 0);
115 wr32(hw, VPLAN_TX_QBASE(vf->vf_id), 0);
120 wr32(hw, VPLAN_RX_QBASE(vf->vf_id), 0);
193 reg_idx = (hw->func_caps.vf_base_id + vf->vf_id) / 32;
194 bit_idx = (hw->func_caps.vf_base_id + vf->vf_id) % 32;
273 device_based_vf_id = vf->vf_id + hw->func_caps.vf_base_id;
278 wr32(hw, VPINT_ALLOC(vf->vf_id), reg);
283 wr32(hw, VPINT_ALLOC_PCI(vf->vf_id), reg);
313 wr32(hw, VPLAN_TXQ_MAPENA(vf->vf_id), VPLAN_TXQ_MAPENA_TX_ENA_M);
323 wr32(hw, VPLAN_TX_QBASE(vf->vf_id), reg);
329 wr32(hw, VPLAN_RXQ_MAPENA(vf->vf_id), VPLAN_RXQ_MAPENA_RX_ENA_M);
339 wr32(hw, VPLAN_RX_QBASE(vf->vf_id), reg);
598 vf->vf_id, retval);
605 vf->vf_id, retval);
612 wr32(hw, VFGEN_RSTAT(vf->vf_id), VIRTCHNL_VFR_VFACTIVE);
658 wr32(hw, VFGEN_RSTAT(vf->vf_id), VIRTCHNL_VFR_INPROGRESS);
669 wr32(&pf->hw, VF_MBX_ARQLEN(vf->vf_id), 0);
670 wr32(&pf->hw, VF_MBX_ATQLEN(vf->vf_id), 0);
690 vf_abs_id = vf->vf_id + hw->func_caps.vf_base_id;
697 reg = rd32(hw, VPGEN_VFRTRIG(vf->vf_id));
699 wr32(hw, VPGEN_VFRTRIG(vf->vf_id), reg);
716 dev_err(dev, "VF %u PCI transactions stuck\n", vf->vf_id);
738 reg = rd32(&pf->hw, VPGEN_VFRSTAT(vf->vf_id));
757 reg = rd32(hw, VPGEN_VFRTRIG(vf->vf_id));
759 wr32(hw, VPGEN_VFRTRIG(vf->vf_id), reg);
770 wr32(&vf->pf->hw, VFGEN_RSTAT(vf->vf_id), VIRTCHNL_VFR_VFACTIVE);
812 for (u16 vf_id = 0; vf_id < num_vfs; vf_id++) {
821 vf->vf_id = vf_id;
841 hash_add_rcu(vfs->table, &vf->entry, vf_id);
1024 if (restricted_id == tmp_vf->vf_id ||
1031 vf_ids[to_remap] = tmp_vf->vf_id;
1121 ice_sriov_remap_vectors(pf, vf->vf_id);
1137 vf->vf_id, vf->num_msix, vf->num_vf_qs);
1147 vf->num_msix, vf->vf_id, prev_msix);
1224 reg_idx = (hw->func_caps.vf_base_id + vf->vf_id) / 32;
1225 bit_idx = (hw->func_caps.vf_base_id + vf->vf_id) % 32;
1320 * @vf_id: VF identifier
1325 int ice_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool ena)
1336 vf = ice_get_vf_by_id(pf, vf_id);
1347 vf->lan_vsi_idx, vf->vf_id);
1354 vf_vsi->type, vf_vsi->vsi_num, vf->vf_id);
1368 ena ? "ON" : "OFF", vf->vf_id, vf_vsi->vsi_num, ret);
1380 * @vf_id: VF identifier
1386 ice_get_vf_cfg(struct net_device *netdev, int vf_id, struct ifla_vf_info *ivi)
1392 vf = ice_get_vf_by_id(pf, vf_id);
1400 ivi->vf = vf_id;
1428 * @vf_id: VF identifier
1433 int ice_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac)
1444 vf = ice_get_vf_by_id(pf, vf_id);
1470 vf->vf_id);
1475 mac, vf_id);
1489 * @vf_id: VF identifier
1494 int ice_set_vf_trust(struct net_device *netdev, int vf_id, bool trusted)
1500 vf = ice_get_vf_by_id(pf, vf_id);
1524 vf_id, trusted ? "" : "un");
1536 * @vf_id: VF identifier
1541 int ice_set_vf_link_state(struct net_device *netdev, int vf_id, int link_state)
1547 vf = ice_get_vf_by_id(pf, vf_id);
1627 min_tx_rate, vf->vf_id,
1639 * @vf_id: VF identifier
1644 ice_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
1655 vf = ice_get_vf_by_id(pf, vf_id);
1684 vf->vf_id);
1695 vf->vf_id);
1710 * @vf_id: the host OS identifier (0-255)
1713 int ice_get_vf_stats(struct net_device *netdev, int vf_id,
1722 vf = ice_get_vf_by_id(pf, vf_id);
1787 * @vf_id: VF identifier
1795 ice_set_vf_port_vlan(struct net_device *netdev, int vf_id, u16 vlan_id, u8 qos,
1808 vf_id, vlan_id, qos);
1818 vf = ice_get_vf_by_id(pf, vf_id);
1841 vlan_id, qos, local_vlan_proto, vf_id);
1843 dev_info(dev, "Clearing port VLAN on VF %d\n", vf_id);
1865 vf->mdd_rx_events.count, pf->hw.pf_id, vf->vf_id,
1909 vf->mdd_tx_events.count, hw->pf_id, vf->vf_id,