]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/quota_watermark.rst
pci: remove eal prefix
[dpdk.git] / doc / guides / sample_app_ug / quota_watermark.rst
index 09530f20a37b45fc289bb61c6f17bcc7dc973ae0..2c3a4320c5db916bcc587d53e11fc5f537ce10d8 100644 (file)
@@ -204,9 +204,9 @@ Then, a call to init_dpdk(), defined in init.c, is made to initialize the poll m
 
         /* Bind the drivers to usable devices */
 
-        ret = rte_eal_pci_probe();
+        ret = rte_pci_probe();
         if (ret < 0)
-            rte_exit(EXIT_FAILURE, "rte_eal_pci_probe(): error %d\n", ret);
+            rte_exit(EXIT_FAILURE, "rte_pci_probe(): error %d\n", ret);
 
         if (rte_eth_dev_count() < 2)
             rte_exit(EXIT_FAILURE, "Not enough Ethernet port available\n");