Home
last modified time | relevance | path

Searched refs:hwinfo (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_hwinfo.c29 nfp_hwinfo_is_updating(struct nfp_hwinfo *hwinfo) in nfp_hwinfo_is_updating() argument
31 return hwinfo->version & NFP_HWINFO_VERSION_UPDATING; in nfp_hwinfo_is_updating()
35 nfp_hwinfo_db_walk(struct nfp_hwinfo *hwinfo, uint32_t size) in nfp_hwinfo_db_walk() argument
37 const char *key, *val, *end = hwinfo->data + size; in nfp_hwinfo_db_walk()
39 for (key = hwinfo->data; *key && key < end; in nfp_hwinfo_db_walk()
181 nfp_hwinfo_lookup(struct nfp_hwinfo *hwinfo, const char *lookup) in nfp_hwinfo_lookup() argument
185 if (!hwinfo || !lookup) in nfp_hwinfo_lookup()
188 end = hwinfo->data + hwinfo->size - sizeof(uint32_t); in nfp_hwinfo_lookup()
190 for (key = hwinfo->data; *key && key < end; in nfp_hwinfo_lookup()
H A Dnfp_hwinfo.h83 const char *nfp_hwinfo_lookup(struct nfp_hwinfo *hwinfo, const char *lookup);
/f-stack/dpdk/drivers/net/nfp/
H A Dnfp_net.c3374 struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, in nfp_pf_create_dev() argument
3418 hw->hwinfo = hwinfo; in nfp_pf_create_dev()
3577 struct nfp_eth_table *nfp_eth_table, struct nfp_hwinfo *hwinfo) in nfp_fw_setup() argument
3584 nfp_fw_model = nfp_hwinfo_lookup(hwinfo, "assembly.partno"); in nfp_fw_setup()
3625 struct nfp_hwinfo *hwinfo; in nfp_pf_pci_probe() local
3655 hwinfo = nfp_hwinfo_read(cpp); in nfp_pf_pci_probe()
3656 if (!hwinfo) { in nfp_pf_pci_probe()
3668 if (nfp_fw_setup(dev, cpp, nfp_eth_table, hwinfo)) { in nfp_pf_pci_probe()
3699 ret = nfp_pf_create_dev(dev, i, total_ports, cpp, hwinfo, in nfp_pf_pci_probe()
3764 free(hw->hwinfo); in eth_nfp_pci_remove()
H A Dnfp_net_pmd.h437 struct nfp_hwinfo *hwinfo; member