Searched refs:eth_tbl (Results 1 – 9 of 9) sorted by relevance
176 if (!pf->eth_tbl || id >= pf->eth_tbl->count) { in nfp_port_init_phy_port()182 if (pf->eth_tbl->ports[id].override_changed) { in nfp_port_init_phy_port()185 pf->eth_tbl->ports[id].index); in nfp_port_init_phy_port()190 port->eth_port = &pf->eth_tbl->ports[id]; in nfp_port_init_phy_port()191 port->eth_id = pf->eth_tbl->ports[id].index; in nfp_port_init_phy_port()
408 if (!pf->eth_tbl) { in nfp_net_fw_find()425 port = &pf->eth_tbl->ports[i]; in nfp_net_fw_find()427 while (i + j < pf->eth_tbl->count && in nfp_net_fw_find()593 pf->eth_tbl = __nfp_eth_read_ports(pf->cpp, nsp); in nfp_nsp_init_ports()594 if (!pf->eth_tbl) in nfp_nsp_init_ports()600 for (i = 0; i < pf->eth_tbl->count; i++) in nfp_nsp_init_ports()605 kfree(pf->eth_tbl); in nfp_nsp_init_ports()641 kfree(pf->eth_tbl); in nfp_nsp_init()748 kfree(pf->eth_tbl); in nfp_pf_cfg_hwinfo()877 kfree(pf->eth_tbl); in nfp_pci_probe()[all …]
63 nfp_net_find_port(struct nfp_eth_table *eth_tbl, unsigned int index) in nfp_net_find_port() argument67 for (i = 0; eth_tbl && i < eth_tbl->count; i++) in nfp_net_find_port()68 if (eth_tbl->ports[i].index == index) in nfp_net_find_port()69 return ð_tbl->ports[i]; in nfp_net_find_port()452 if (pf->eth_tbl) { in nfp_net_pci_map_mem()453 min_size = NFP_MAC_STATS_SIZE * (pf->eth_tbl->max_index + 1); in nfp_net_pci_map_mem()
16 if (!pf->eth_tbl) in nfp_app_nic_vnic_init_phy_port()
126 struct nfp_eth_table *eth_tbl; member
15 if (pf->eth_tbl && pf->max_data_vnics != pf->eth_tbl->count) { in nfp_nic_init()17 pf->max_data_vnics, pf->eth_tbl->count); in nfp_nic_init()
260 struct nfp_eth_table_port *eth_port = &pf->eth_tbl->ports[id]; in nfp_abm_vnic_set_mac()266 if (id > pf->eth_tbl->count) { in nfp_abm_vnic_set_mac()315 struct nfp_eth_table_port *eth_port = &app->pf->eth_tbl->ports[id]; in nfp_abm_vnic_alloc()450 if (!pf->eth_tbl) { in nfp_abm_init()454 if (pf->max_data_vnics != pf->eth_tbl->count) { in nfp_abm_init()456 pf->max_data_vnics, pf->eth_tbl->count); in nfp_abm_init()
496 struct nfp_eth_table *eth_tbl = app->pf->eth_tbl; in nfp_flower_spawn_phy_reprs() local505 ctrl_skb = nfp_flower_cmsg_mac_repr_start(app, eth_tbl->count); in nfp_flower_spawn_phy_reprs()509 reprs = nfp_reprs_alloc(eth_tbl->max_index + 1); in nfp_flower_spawn_phy_reprs()515 for (i = 0; i < eth_tbl->count; i++) { in nfp_flower_spawn_phy_reprs()516 unsigned int phys_port = eth_tbl->ports[i].index; in nfp_flower_spawn_phy_reprs()567 eth_tbl->ports[i].nbi, in nfp_flower_spawn_phy_reprs()568 eth_tbl->ports[i].base, in nfp_flower_spawn_phy_reprs()755 if (!pf->eth_tbl) { in nfp_flower_init()
69 if (!pf->eth_tbl) { in nfp_bpf_vnic_alloc()73 if (pf->max_data_vnics != pf->eth_tbl->count) { in nfp_bpf_vnic_alloc()75 pf->max_data_vnics, pf->eth_tbl->count); in nfp_bpf_vnic_alloc()
Completed in 17 milliseconds