diff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c index e1da0bdebe..19076e8f18 100644 --- a/drivers/net/nfp/nfp_ethdev.c +++ b/drivers/net/nfp/nfp_ethdev.c @@ -940,7 +940,7 @@ static int nfp_pf_init(struct rte_pci_device *pci_dev) return 0; hwqueues_cleanup: - nfp_cpp_area_free(pf_dev->hwqueues_area); + nfp_cpp_area_release_free(pf_dev->hwqueues_area); ctrl_area_cleanup: nfp_cpp_area_free(pf_dev->ctrl_area); pf_cleanup: