Home
last modified time | relevance | path

Searched refs:vf_rep_eth_dev (Results 1 – 5 of 5) sorted by relevance

/dpdk/drivers/net/ice/
H A Dice_dcf_vf_representor.c421 vf_rep_eth_dev->dev_ops = &ice_dcf_vf_repr_dev_ops; in ice_dcf_vf_repr_init()
427 vf_rep_eth_dev->data->representor_id = repr->vf_id; in ice_dcf_vf_repr_init()
430 vf_rep_eth_dev->data->mac_addrs = &repr->mac_addr; in ice_dcf_vf_repr_init()
440 vf_rep_eth_dev->data->mac_addrs = NULL; in ice_dcf_vf_repr_uninit()
451 err = ice_dcf_vf_repr_vlan_offload_set(vf_rep_eth_dev, in ice_dcf_vf_repr_init_vlan()
459 err = ice_dcf_vf_repr_vlan_pvid_set(vf_rep_eth_dev, in ice_dcf_vf_repr_init_vlan()
481 struct rte_eth_dev *vf_rep_eth_dev = in ice_dcf_vf_repr_stop_all() local
482 dcf_adapter->repr_infos[vf_id].vf_rep_eth_dev; in ice_dcf_vf_repr_stop_all()
483 if (!vf_rep_eth_dev || vf_rep_eth_dev->data->dev_started == 0) in ice_dcf_vf_repr_stop_all()
486 ret = ice_dcf_vf_repr_dev_stop(vf_rep_eth_dev); in ice_dcf_vf_repr_stop_all()
[all …]
H A Dice_dcf_ethdev.h29 struct rte_eth_dev *vf_rep_eth_dev; member
73 int ice_dcf_vf_repr_init(struct rte_eth_dev *vf_rep_eth_dev, void *init_param);
74 int ice_dcf_vf_repr_uninit(struct rte_eth_dev *vf_rep_eth_dev);
75 int ice_dcf_vf_repr_init_vlan(struct rte_eth_dev *vf_rep_eth_dev);
H A Dice_dcf_parent.c140 struct rte_eth_dev *vf_rep_eth_dev = in ice_dcf_vsi_update_service_handler() local
141 adapter->repr_infos[reset_param->vf_id].vf_rep_eth_dev; in ice_dcf_vsi_update_service_handler()
142 if (vf_rep_eth_dev && vf_rep_eth_dev->data->dev_started) { in ice_dcf_vsi_update_service_handler()
145 ice_dcf_vf_repr_init_vlan(vf_rep_eth_dev); in ice_dcf_vsi_update_service_handler()
H A Dice_dcf_ethdev.c1863 struct rte_eth_dev *vf_rep_eth_dev; in eth_ice_dcf_pci_probe() local
1891 vf_rep_eth_dev = rte_eth_dev_allocated(repr_name); in eth_ice_dcf_pci_probe()
1892 if (!vf_rep_eth_dev) { in eth_ice_dcf_pci_probe()
1900 dcf_adapter->repr_infos[vf_id].vf_rep_eth_dev = vf_rep_eth_dev; in eth_ice_dcf_pci_probe()
/dpdk/drivers/net/bnxt/
H A Dbnxt_ethdev.c6020 struct rte_eth_dev *vf_rep_eth_dev; in bnxt_pci_remove_dev_with_reps() local
6027 vf_rep_eth_dev = bp->rep_info[i].vfr_eth_dev; in bnxt_pci_remove_dev_with_reps()
6028 if (!vf_rep_eth_dev) in bnxt_pci_remove_dev_with_reps()
6031 vf_rep_eth_dev->data->port_id); in bnxt_pci_remove_dev_with_reps()
6032 rte_eth_dev_destroy(vf_rep_eth_dev, bnxt_representor_uninit); in bnxt_pci_remove_dev_with_reps()
6097 struct rte_eth_dev *vf_rep_eth_dev; in bnxt_rep_port_probe() local
6244 vf_rep_eth_dev = rte_eth_dev_allocated(name); in bnxt_rep_port_probe()
6245 if (!vf_rep_eth_dev) { in bnxt_rep_port_probe()
6255 vf_rep_eth_dev; in bnxt_rep_port_probe()