Lines Matching refs:eth_da
2911 struct rte_eth_devargs eth_da = { .nb_representor_ports = 0 }; in sfc_parse_rte_devargs() local
2915 rc = rte_eth_devargs_parse(args, ð_da); in sfc_parse_rte_devargs()
2924 *devargs = eth_da; in sfc_parse_rte_devargs()
3024 const struct rte_eth_devargs *eth_da, in sfc_eth_dev_create_repr_port() argument
3032 if (eth_da->type == RTE_ETH_REPRESENTOR_PF) { in sfc_eth_dev_create_repr_port()
3035 eth_da->type); in sfc_eth_dev_create_repr_port()
3038 for (i = 0; i < eth_da->nb_representor_ports; i++) { in sfc_eth_dev_create_repr_port()
3040 eth_da->representor_ports[i], in sfc_eth_dev_create_repr_port()
3041 eth_da->type); in sfc_eth_dev_create_repr_port()
3051 const struct rte_eth_devargs *eth_da, in sfc_eth_dev_create_repr_controller() argument
3060 if (eth_da->nb_ports == 0) { in sfc_eth_dev_create_repr_controller()
3063 return sfc_eth_dev_create_repr_port(sa, eth_da, controller, in sfc_eth_dev_create_repr_controller()
3067 for (i = 0; i < eth_da->nb_ports; i++) { in sfc_eth_dev_create_repr_controller()
3068 rc = sfc_eth_dev_create_repr_port(sa, eth_da, controller, in sfc_eth_dev_create_repr_controller()
3069 eth_da->ports[i]); in sfc_eth_dev_create_repr_controller()
3079 const struct rte_eth_devargs *eth_da) in sfc_eth_dev_create_representors() argument
3091 switch (eth_da->type) { in sfc_eth_dev_create_representors()
3102 eth_da->type); in sfc_eth_dev_create_representors()
3129 if (eth_da->nb_mh_controllers > 0) { in sfc_eth_dev_create_representors()
3130 for (i = 0; i < eth_da->nb_mh_controllers; i++) { in sfc_eth_dev_create_representors()
3132 eth_da->mh_controllers[i], in sfc_eth_dev_create_representors()
3138 sfc_eth_dev_create_repr_controller(sa, eth_da, intf); in sfc_eth_dev_create_representors()
3142 sfc_eth_dev_create_repr_controller(sa, eth_da, encp->enc_intf); in sfc_eth_dev_create_representors()
3152 struct rte_eth_devargs eth_da; in sfc_eth_dev_pci_probe() local
3159 ð_da); in sfc_eth_dev_pci_probe()
3163 memset(ð_da, 0, sizeof(eth_da)); in sfc_eth_dev_pci_probe()
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()
3170 init_data.nb_representors = eth_da.nb_ports; in sfc_eth_dev_pci_probe()
3190 rc = sfc_eth_dev_create_representors(dev, ð_da); in sfc_eth_dev_pci_probe()