MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nfp_fw_reload

Function nfp_fw_reload

dpdk/drivers/net/nfp/nfp_ethdev.c:849–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847}
848
849static int
850nfp_fw_reload(struct rte_pci_device *dev,
851 struct nfp_nsp *nsp,
852 char *card_desc)
853{
854 int err;
855
856 nfp_nsp_device_soft_reset(nsp);
857 err = nfp_fw_upload(dev, nsp, card_desc);
858 if (err != 0)
859 PMD_DRV_LOG(ERR, "NFP firmware load failed");
860
861 return err;
862}
863
864static int
865nfp_fw_loaded_check_alive(struct rte_pci_device *dev,

Callers 3

nfp_fw_setupFunction · 0.85

Calls 2

nfp_fw_uploadFunction · 0.85

Tested by

no test coverage detected