Lines Matching refs:vfs
1913 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_get_vf_config()
1917 ivf->vlan = le16_to_cpu(ionic->vfs[vf].vlanid); in ionic_get_vf_config()
1919 ivf->spoofchk = ionic->vfs[vf].spoofchk; in ionic_get_vf_config()
1920 ivf->linkstate = ionic->vfs[vf].linkstate; in ionic_get_vf_config()
1921 ivf->max_tx_rate = le32_to_cpu(ionic->vfs[vf].maxrate); in ionic_get_vf_config()
1922 ivf->trusted = ionic->vfs[vf].trusted; in ionic_get_vf_config()
1923 ether_addr_copy(ivf->mac, ionic->vfs[vf].macaddr); in ionic_get_vf_config()
1943 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_get_vf_stats()
1947 vs = &ionic->vfs[vf].stats; in ionic_get_vf_stats()
1981 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_mac()
1986 ether_addr_copy(ionic->vfs[vf].macaddr, mac); in ionic_set_vf_mac()
2015 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_vlan()
2021 ionic->vfs[vf].vlanid = cpu_to_le16(vlan); in ionic_set_vf_vlan()
2044 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_rate()
2050 lif->ionic->vfs[vf].maxrate = cpu_to_le32(tx_max); in ionic_set_vf_rate()
2069 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_spoofchk()
2075 ionic->vfs[vf].spoofchk = data; in ionic_set_vf_spoofchk()
2094 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_trust()
2100 ionic->vfs[vf].trusted = data; in ionic_set_vf_trust()
2133 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_link_state()
2139 ionic->vfs[vf].linkstate = set; in ionic_set_vf_link_state()