Searched refs:vfinfo (Results 1 – 6 of 6) sorted by relevance
84 *vfinfo = rte_zmalloc("vf_info", in txgbe_pf_host_init()86 if (*vfinfo == NULL) { in txgbe_pf_host_init()96 rte_free(*vfinfo); in txgbe_pf_host_init()97 *vfinfo = NULL; in txgbe_pf_host_init()134 struct txgbe_vf_info **vfinfo; in txgbe_pf_host_uninit() local150 if (*vfinfo == NULL) in txgbe_pf_host_uninit()157 rte_free(*vfinfo); in txgbe_pf_host_uninit()158 *vfinfo = NULL; in txgbe_pf_host_uninit()529 vfinfo[vf].vlan_count++; in txgbe_vf_set_vlan()531 vfinfo[vf].vlan_count--; in txgbe_vf_set_vlan()[all …]
1302 struct txgbe_vf_info *vfinfo; in txgbe_set_vf_rate_limit() local1327 vfinfo = *(TXGBE_DEV_VFDATA(dev)); in txgbe_set_vf_rate_limit()1335 if (vfinfo) { in txgbe_set_vf_rate_limit()1341 total_rate += vfinfo[vf_idx].tx_rate[idx]; in txgbe_set_vf_rate_limit()1350 if (vfinfo[vf].tx_rate[idx] != tx_rate) in txgbe_set_vf_rate_limit()1351 vfinfo[vf].tx_rate[idx] = tx_rate; in txgbe_set_vf_rate_limit()1360 memset(vfinfo[vf].tx_rate, 0, sizeof(vfinfo[vf].tx_rate)); in txgbe_set_vf_rate_limit()1487 if (vfinfo != NULL) { in txgbe_dev_start()1490 if (vfinfo[vf].tx_rate[idx] != 0) in txgbe_dev_start()1492 vfinfo[vf].tx_rate[idx], in txgbe_dev_start()[all …]
41 struct e1000_vf_info *vfinfo = in igb_vf_perm_addr_gen() local68 struct e1000_vf_info **vfinfo = in igb_pf_host_init() local88 if (*vfinfo == NULL) in igb_pf_host_init()106 struct e1000_vf_info **vfinfo; in igb_pf_host_uninit() local122 rte_free(*vfinfo); in igb_pf_host_uninit()123 *vfinfo = NULL; in igb_pf_host_uninit()238 struct e1000_vf_info *vfinfo = in igb_vf_reset_event() local277 struct e1000_vf_info *vfinfo = in igb_vf_reset() local303 struct e1000_vf_info *vfinfo = in igb_vf_set_mac_addr() local379 vfinfo[vf].vlan_count++; in igb_vf_set_vlan()[all …]
44 struct ixgbe_vf_info *vfinfo = in ixgbe_vf_perm_addr_gen() local71 struct ixgbe_vf_info **vfinfo = in ixgbe_pf_host_init() local91 if (*vfinfo == NULL) { in ixgbe_pf_host_init()101 rte_free(*vfinfo); in ixgbe_pf_host_init()102 *vfinfo = NULL; in ixgbe_pf_host_init()138 struct ixgbe_vf_info **vfinfo; in ixgbe_pf_host_uninit() local154 if (*vfinfo == NULL) in ixgbe_pf_host_uninit()161 rte_free(*vfinfo); in ixgbe_pf_host_uninit()162 *vfinfo = NULL; in ixgbe_pf_host_uninit()548 vfinfo[vf].vlan_count++; in ixgbe_vf_set_vlan()[all …]
17 struct ixgbe_vf_info *vfinfo; in rte_pmd_ixgbe_set_vf_mac_addr() local35 vfinfo = *(IXGBE_DEV_PRIVATE_TO_P_VFDATA(dev->data->dev_private)); in rte_pmd_ixgbe_set_vf_mac_addr()40 rte_memcpy(vfinfo[vf].vf_mac_addresses, new_mac, in rte_pmd_ixgbe_set_vf_mac_addr()52 struct ixgbe_vf_info *vfinfo; in rte_pmd_ixgbe_ping_vf() local69 vfinfo = *(IXGBE_DEV_PRIVATE_TO_P_VFDATA(dev->data->dev_private)); in rte_pmd_ixgbe_ping_vf()72 if (vfinfo[vf].clear_to_send) in rte_pmd_ixgbe_ping_vf()
1734 struct ixgbe_vf_info *vfinfo; in eth_ixgbe_pci_probe() local1739 if (vfinfo == NULL) { in eth_ixgbe_pci_probe()2425 struct ixgbe_vf_info *vfinfo; in ixgbe_set_vf_rate_limit() local2458 if (vfinfo) { in ixgbe_set_vf_rate_limit()2483 memset(vfinfo[vf].tx_rate, 0, sizeof(vfinfo[vf].tx_rate)); in ixgbe_set_vf_rate_limit()2541 struct ixgbe_vf_info *vfinfo = in ixgbe_dev_start() local2646 if (vfinfo != NULL) { in ixgbe_dev_start()2649 if (vfinfo[vf].tx_rate[idx] != 0) in ixgbe_dev_start()2652 vfinfo[vf].tx_rate[idx], in ixgbe_dev_start()2836 struct ixgbe_vf_info *vfinfo = in ixgbe_dev_stop() local[all …]