Home
last modified time | relevance | path

Searched refs:vfinfo (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c84 *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() local
150 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 …]
H A Dtxgbe_ethdev.c1302 struct txgbe_vf_info *vfinfo; in txgbe_set_vf_rate_limit() local
1327 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 …]
/f-stack/dpdk/drivers/net/e1000/
H A Digb_pf.c41 struct e1000_vf_info *vfinfo = in igb_vf_perm_addr_gen() local
68 struct e1000_vf_info **vfinfo = in igb_pf_host_init() local
88 if (*vfinfo == NULL) in igb_pf_host_init()
106 struct e1000_vf_info **vfinfo; in igb_pf_host_uninit() local
122 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() local
277 struct e1000_vf_info *vfinfo = in igb_vf_reset() local
303 struct e1000_vf_info *vfinfo = in igb_vf_set_mac_addr() local
379 vfinfo[vf].vlan_count++; in igb_vf_set_vlan()
[all …]
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c44 struct ixgbe_vf_info *vfinfo = in ixgbe_vf_perm_addr_gen() local
71 struct ixgbe_vf_info **vfinfo = in ixgbe_pf_host_init() local
91 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() local
154 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 …]
H A Drte_pmd_ixgbe.c17 struct ixgbe_vf_info *vfinfo; in rte_pmd_ixgbe_set_vf_mac_addr() local
35 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() local
69 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()
H A Dixgbe_ethdev.c1734 struct ixgbe_vf_info *vfinfo; in eth_ixgbe_pci_probe() local
1739 if (vfinfo == NULL) { in eth_ixgbe_pci_probe()
2425 struct ixgbe_vf_info *vfinfo; in ixgbe_set_vf_rate_limit() local
2458 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() local
2646 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 …]