Home
last modified time | relevance | path

Searched refs:nb_representor_ports (Results 1 – 10 of 10) sorted by relevance

/dpdk/lib/ethdev/
H A Drte_class_eth.c87 eth_da.nb_representor_ports == 0) in eth_representor_cmp()
91 nf = eth_da.nb_representor_ports > 0 ? eth_da.nb_representor_ports : 1; in eth_representor_cmp()
103 eth_da.nb_representor_ports == 0 ? -1 : in eth_representor_cmp()
H A Dethdev_private.c183 &eth_da->nb_representor_ports, in rte_eth_devargs_parse_representor_ports()
H A Dethdev_driver.h1588 uint16_t nb_representor_ports; member
/dpdk/drivers/net/enic/
H A Denic_ethdev.c1306 struct rte_eth_devargs eth_da = { .nb_representor_ports = 0 }; in eth_enic_pci_probe()
1318 if (eth_da.nb_representor_ports > 0 && in eth_enic_pci_probe()
1328 if (retval || eth_da.nb_representor_ports < 1) in eth_enic_pci_probe()
1348 for (i = 0; i < eth_da.nb_representor_ports; i++) { in eth_enic_pci_probe()
1352 for (i = 0; i < eth_da.nb_representor_ports; i++) { in eth_enic_pci_probe()
/dpdk/drivers/net/ice/
H A Dice_dcf_ethdev.c1816 struct rte_eth_devargs eth_da = { .nb_representor_ports = 0 }; in eth_ice_dcf_pci_probe()
1834 if (ret || !eth_da.nb_representor_ports) in eth_ice_dcf_pci_probe()
1848 if (eth_da.nb_representor_ports > dcf_adapter->real_hw.num_vfs || in eth_ice_dcf_pci_probe()
1849 eth_da.nb_representor_ports >= RTE_MAX_ETHPORTS) { in eth_ice_dcf_pci_probe()
1851 eth_da.nb_representor_ports); in eth_ice_dcf_pci_probe()
1861 for (i = 0; i < eth_da.nb_representor_ports; i++) { in eth_ice_dcf_pci_probe()
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c985 for (f = 0; f < eth_da->nb_representor_ports; ++f) { in mlx5_representor_match()
1956 if (eth_da.nb_representor_ports) in mlx5_os_pci_probe_pf()
2245 if (eth_da.nb_representor_ports == 0) { in mlx5_os_pci_probe_pf()
2246 eth_da.nb_representor_ports = 1; in mlx5_os_pci_probe_pf()
/dpdk/drivers/net/sfc/
H A Dsfc_ethdev.c2911 struct rte_eth_devargs eth_da = { .nb_representor_ports = 0 }; in sfc_parse_rte_devargs()
3038 for (i = 0; i < eth_da->nb_representor_ports; i++) { in sfc_eth_dev_create_repr_port()
3167 if (eth_da.nb_representor_ports > 0) in sfc_eth_dev_pci_probe()
3168 init_data.nb_representors = eth_da.nb_representor_ports; in sfc_eth_dev_pci_probe()
/dpdk/drivers/net/bnxt/
H A Dbnxt_ethdev.c6113 num_rep = eth_da->nb_representor_ports; in bnxt_rep_port_probe()
6278 struct rte_eth_devargs eth_da = { .nb_representor_ports = 0 }; in bnxt_pci_probe()
6290 num_rep = eth_da.nb_representor_ports; in bnxt_pci_probe()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c1736 if (eth_da.nb_representor_ports > 0 && in eth_ixgbe_pci_probe()
1748 if (retval || eth_da.nb_representor_ports < 1) in eth_ixgbe_pci_probe()
1756 for (i = 0; i < eth_da.nb_representor_ports; i++) { in eth_ixgbe_pci_probe()
/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c641 struct rte_eth_devargs eth_da = { .nb_representor_ports = 0 }; in eth_i40e_pci_probe()
651 if (eth_da.nb_representor_ports > 0 && in eth_i40e_pci_probe()
663 if (retval || eth_da.nb_representor_ports < 1) in eth_i40e_pci_probe()
673 for (i = 0; i < eth_da.nb_representor_ports; i++) { in eth_i40e_pci_probe()