Home
last modified time | relevance | path

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

/dpdk/drivers/net/ngbe/
H A Dngbe_pf.c70 *vfinfo = rte_zmalloc("vf_info", in ngbe_pf_host_init()
72 if (*vfinfo == NULL) { in ngbe_pf_host_init()
82 rte_free(*vfinfo); in ngbe_pf_host_init()
83 *vfinfo = NULL; in ngbe_pf_host_init()
108 struct ngbe_vf_info **vfinfo; in ngbe_pf_host_uninit() local
123 if (*vfinfo == NULL) in ngbe_pf_host_uninit()
130 rte_free(*vfinfo); in ngbe_pf_host_uninit()
131 *vfinfo = NULL; in ngbe_pf_host_uninit()
440 vfinfo[vf].vlan_count++; in ngbe_vf_set_vlan()
442 vfinfo[vf].vlan_count--; in ngbe_vf_set_vlan()
[all …]
H A Dngbe_ethdev.c1138 struct ngbe_vf_info *vfinfo = *NGBE_DEV_VFDATA(dev); in ngbe_dev_stop() local
1165 for (vf = 0; vfinfo != NULL && vf < pci_dev->max_vfs; vf++) in ngbe_dev_stop()
1166 vfinfo[vf].clear_to_send = false; in ngbe_dev_stop()
/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()
133 struct txgbe_vf_info **vfinfo; in txgbe_pf_host_uninit() local
149 if (*vfinfo == NULL) in txgbe_pf_host_uninit()
156 rte_free(*vfinfo); in txgbe_pf_host_uninit()
157 *vfinfo = NULL; in txgbe_pf_host_uninit()
528 vfinfo[vf].vlan_count++; in txgbe_vf_set_vlan()
530 vfinfo[vf].vlan_count--; in txgbe_vf_set_vlan()
[all …]
H A Dtxgbe_ethdev.c1536 struct txgbe_vf_info *vfinfo; in txgbe_set_vf_rate_limit() local
1561 vfinfo = *(TXGBE_DEV_VFDATA(dev)); in txgbe_set_vf_rate_limit()
1569 if (vfinfo) { in txgbe_set_vf_rate_limit()
1575 total_rate += vfinfo[vf_idx].tx_rate[idx]; in txgbe_set_vf_rate_limit()
1584 if (vfinfo[vf].tx_rate[idx] != tx_rate) in txgbe_set_vf_rate_limit()
1585 vfinfo[vf].tx_rate[idx] = tx_rate; in txgbe_set_vf_rate_limit()
1594 memset(vfinfo[vf].tx_rate, 0, sizeof(vfinfo[vf].tx_rate)); in txgbe_set_vf_rate_limit()
1715 if (vfinfo != NULL) { in txgbe_dev_start()
1718 if (vfinfo[vf].tx_rate[idx] != 0) in txgbe_dev_start()
1720 vfinfo[vf].tx_rate[idx], in txgbe_dev_start()
[all …]
/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
89 if (*vfinfo == NULL) { in ixgbe_pf_host_init()
99 rte_free(*vfinfo); in ixgbe_pf_host_init()
100 *vfinfo = NULL; in ixgbe_pf_host_init()
135 struct ixgbe_vf_info **vfinfo; in ixgbe_pf_host_uninit() local
151 if (*vfinfo == NULL) in ixgbe_pf_host_uninit()
158 rte_free(*vfinfo); in ixgbe_pf_host_uninit()
159 *vfinfo = NULL; in ixgbe_pf_host_uninit()
545 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.c1757 struct ixgbe_vf_info *vfinfo; in eth_ixgbe_pci_probe() local
1762 if (vfinfo == NULL) { in eth_ixgbe_pci_probe()
2447 struct ixgbe_vf_info *vfinfo; in ixgbe_set_vf_rate_limit() local
2480 if (vfinfo) { in ixgbe_set_vf_rate_limit()
2505 memset(vfinfo[vf].tx_rate, 0, sizeof(vfinfo[vf].tx_rate)); in ixgbe_set_vf_rate_limit()
2563 struct ixgbe_vf_info *vfinfo = in ixgbe_dev_start() local
2666 if (vfinfo != NULL) { in ixgbe_dev_start()
2669 if (vfinfo[vf].tx_rate[idx] != 0) in ixgbe_dev_start()
2672 vfinfo[vf].tx_rate[idx], in ixgbe_dev_start()
2856 struct ixgbe_vf_info *vfinfo = in ixgbe_dev_stop() local
[all …]
/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 …]