Lines Matching refs:vfs

2237 		ionic->vfs[vf].vlanid = comp.vlanid;  in ionic_update_cached_vf_config()
2244 ionic->vfs[vf].spoofchk = comp.spoofchk; in ionic_update_cached_vf_config()
2253 ionic->vfs[vf].linkstate = IFLA_VF_LINK_STATE_ENABLE; in ionic_update_cached_vf_config()
2256 ionic->vfs[vf].linkstate = IFLA_VF_LINK_STATE_DISABLE; in ionic_update_cached_vf_config()
2259 ionic->vfs[vf].linkstate = IFLA_VF_LINK_STATE_AUTO; in ionic_update_cached_vf_config()
2272 ionic->vfs[vf].maxrate = comp.maxrate; in ionic_update_cached_vf_config()
2279 ionic->vfs[vf].trusted = comp.trust; in ionic_update_cached_vf_config()
2286 ether_addr_copy(ionic->vfs[vf].macaddr, comp.macaddr); in ionic_update_cached_vf_config()
2308 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_get_vf_config()
2316 ivf->vlan = le16_to_cpu(ionic->vfs[vf].vlanid); in ionic_get_vf_config()
2317 ivf->spoofchk = ionic->vfs[vf].spoofchk; in ionic_get_vf_config()
2318 ivf->linkstate = ionic->vfs[vf].linkstate; in ionic_get_vf_config()
2319 ivf->max_tx_rate = le32_to_cpu(ionic->vfs[vf].maxrate); in ionic_get_vf_config()
2320 ivf->trusted = ionic->vfs[vf].trusted; in ionic_get_vf_config()
2321 ether_addr_copy(ivf->mac, ionic->vfs[vf].macaddr); in ionic_get_vf_config()
2342 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_get_vf_stats()
2346 vs = &ionic->vfs[vf].stats; in ionic_get_vf_stats()
2381 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_mac()
2390 ether_addr_copy(ionic->vfs[vf].macaddr, mac); in ionic_set_vf_mac()
2420 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_vlan()
2429 ionic->vfs[vf].vlanid = cpu_to_le16(vlan); in ionic_set_vf_vlan()
2453 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_rate()
2462 lif->ionic->vfs[vf].maxrate = cpu_to_le32(tx_max); in ionic_set_vf_rate()
2481 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_spoofchk()
2490 ionic->vfs[vf].spoofchk = set; in ionic_set_vf_spoofchk()
2509 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_trust()
2518 ionic->vfs[vf].trusted = set; in ionic_set_vf_trust()
2552 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_link_state()
2561 ionic->vfs[vf].linkstate = set; in ionic_set_vf_link_state()