]> git.droids-corp.org - dpdk.git/commitdiff
examples: remove dependency on PCI
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 3 Nov 2017 13:46:27 +0000 (13:46 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 7 Nov 2017 20:55:36 +0000 (21:55 +0100)
All PCI functionality should be hidden from apps via the PCI bus driver,
the EAL and individual device drivers. Therefore remove the inclusion of
rte_pci.h from sample apps.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
33 files changed:
examples/bond/main.c
examples/ethtool/lib/rte_ethtool.c
examples/exception_path/main.c
examples/ip_fragmentation/main.c
examples/ip_reassembly/main.c
examples/ipsec-secgw/ipsec-secgw.c
examples/ipv4_multicast/main.c
examples/kni/main.c
examples/l2fwd-crypto/main.c
examples/l2fwd-jobstats/main.c
examples/l2fwd-keepalive/main.c
examples/l2fwd/main.c
examples/l3fwd-acl/main.c
examples/l3fwd-power/main.c
examples/l3fwd-vf/main.c
examples/l3fwd/main.c
examples/link_status_interrupt/main.c
examples/load_balancer/config.c
examples/load_balancer/init.c
examples/load_balancer/main.c
examples/load_balancer/runtime.c
examples/multi_process/client_server_mp/mp_client/client.c
examples/multi_process/client_server_mp/mp_server/init.c
examples/multi_process/client_server_mp/mp_server/main.c
examples/multi_process/l2fwd_fork/flib.c
examples/multi_process/l2fwd_fork/main.c
examples/multi_process/symmetric_mp/main.c
examples/performance-thread/l3fwd-thread/main.c
examples/server_node_efd/node/node.c
examples/server_node_efd/server/init.c
examples/server_node_efd/server/main.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c

index 07f257e119680268e29e26af3c618517d3ad2300..8e3b1f340d43d8c1c79f12ea3bbfa8d023d40aff 100644 (file)
@@ -60,7 +60,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index cbaac738058a201ab776a42ff0c8bc22261322a1..c70c54786afc7ff609b46b1c1a921137166a3fba 100644 (file)
@@ -36,7 +36,6 @@
 #include <rte_version.h>
 #include <rte_ethdev.h>
 #include <rte_ether.h>
-#include <rte_pci.h>
 #include <rte_bus_pci.h>
 #ifdef RTE_LIBRTE_IXGBE_PMD
 #include <rte_pmd_ixgbe.h>
index cc3915432ba682c8c7f2e01f3a1452549fdd63b8..f8f5bbdf0a880939e2f473cfe46c3a789b0d527e 100644 (file)
@@ -62,7 +62,6 @@
 #include <rte_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
index 9e76e435b0c5be2b1585b537868b366a6d3ba974..5aefe0987767224ea842b3b8fd5a7f22f6f1f353 100644 (file)
@@ -57,7 +57,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index f2e4510b15eff18935ec4f487e7cbca3387f66c4..756f90efb74f78517b730bfe97ba4cddcc887d7a 100644 (file)
@@ -58,7 +58,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 6201d850ae84d0113add16d0f472faed3b5b6191..c98454a905178f7dfed18b9444276bde9eb35545 100644 (file)
@@ -57,7 +57,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 3aa4634bbe840e9326069a4af8eacc5669661ca2..83ac0d808de8ba28052124b0bd31ef8bc22a2069 100644 (file)
@@ -56,7 +56,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 6fd2458e0bb5b240b6bbf06e03ce75ae2f2bc100..3f173854421c395795105d996d50ee079c8ad244 100644 (file)
@@ -60,7 +60,6 @@
 #include <rte_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_bus_pci.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 8c625edd1256f0cb77a7eab9dae0fa80ec5ad005..d4e1682c865ff3d545b303c7ea7256e3c09fd945 100644 (file)
@@ -67,7 +67,6 @@
 #include <rte_memcpy.h>
 #include <rte_memory.h>
 #include <rte_mempool.h>
-#include <rte_pci.h>
 #include <rte_per_lcore.h>
 #include <rte_prefetch.h>
 #include <rte_random.h>
index 934a759a3d7478f12dae5636a6c5da0819ac67d8..485370de669625f0946bc7f9a6a3b94522e1ed31 100644 (file)
@@ -52,7 +52,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
index 1991780eb5f56826ce0dd3765b272a0414635a69..358ca5ec7cce8c1920cf837bd83c014178a675e8 100644 (file)
@@ -60,7 +60,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index c1f4db75c94468c47a44394e5632e03e708dac26..e89e2e1bf2ac543900402f7083bd700d31796846 100644 (file)
@@ -61,7 +61,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 53fd592aff34ec8352dd659aeac7332971b1afde..e50b1a1a84ad7bfd530281ff4718907d8afd41e2 100644 (file)
@@ -56,7 +56,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 0a345647502175194d6098be0e5fb4459592d32c..0a4ed145c52530c007ed9a1c73c991555d514a7d 100644 (file)
@@ -59,7 +59,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 7a3964bb68b8aa95c64f390bca3b5f5da5faf64f..6ef89fc8c055a46d8eac999fe0da4e280c9cb3f9 100644 (file)
@@ -58,7 +58,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index c619f97dfbbe875edf5691ab36b49f34074dba33..6229568f2f194cf39e3a61533a89e676d449f65f 100644 (file)
@@ -59,7 +59,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 013c26a36a89f6b684a0c83d3e8c0528e717b6da..bc47dcce3ea979868b072484fc5a32fc8f04c6fa 100644 (file)
@@ -59,7 +59,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index faf5198305b0169cce6c3992c3a6b65a5d1026a0..755a86e48878004fdbae05ba0744169990faee83 100644 (file)
@@ -56,7 +56,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 08f9cc6eb263702672acf84ac63efd1bf35df26e..3dab7f25844934546e713588316555f34ab8d541 100644 (file)
@@ -56,7 +56,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index b579f900f811f3aab75f78e093c6eeae33983c8d..7ced84d4ef92da4fab232101441d9a1a4fbb7daf 100644 (file)
@@ -57,7 +57,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 4867f00118fb61827fe5e81e085eb3477b461c35..f65e14f08e9b27fe3ef8581771b6ce2a6701206b 100644 (file)
@@ -56,7 +56,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 44085429ae68735491136d711f476be2e24b1923..30ce4b34c8f94c3090d2ae1e129b33b9c603312d 100644 (file)
@@ -57,7 +57,6 @@
 #include <rte_mempool.h>
 #include <rte_mbuf.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
 #include <rte_string_fns.h>
index cacf4e0d53f75dcfa0c504a347e6aed939d3d3fe..c8d02113d4741a1eb744306f3d8fc24221e7d9b5 100644 (file)
@@ -56,7 +56,6 @@
 #include <rte_memcpy.h>
 #include <rte_mbuf.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
 #include <rte_malloc.h>
index 3bc4f97fd19ae19c2cc796d488105b7ed30f7b5c..6eda556a63a7981536e660106be37ddb1f3897d2 100644 (file)
@@ -58,7 +58,6 @@
 #include <rte_mbuf.h>
 #include <rte_ether.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_ethdev.h>
 #include <rte_byteorder.h>
 #include <rte_malloc.h>
index 962d1d5c4ed515425f60ff243ccb94b98bfa7fff..a3f1d2753614b266b0322614b388051a8aeab911 100644 (file)
@@ -63,7 +63,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 6931f72eab248a5c61c977ff2e1db222c8f66948..deace27398583221b46b4ff2be2a4e3bc1187f10 100644 (file)
@@ -61,7 +61,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index 1ebdb9efbde6a6f0249a757d14cc0cda633832c7..6fb285c7473bec02fae6c765e326ffb2919af977 100644 (file)
@@ -64,7 +64,6 @@
 #include <rte_branch_prediction.h>
 #include <rte_debug.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
 #include <rte_mempool.h>
index 6fab4f41ec01d3c4f7ee3a52edbfe2906dc92635..fa65234f3ca2e819138003de0bdfc3c96a15339f 100644 (file)
@@ -59,7 +59,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index c8ce391f13818b638146a0b50361df40fc65e59f..5aa1258e1aca364ae7320fa14740c8702c8bec6b 100644 (file)
@@ -57,7 +57,6 @@
 #include <rte_mempool.h>
 #include <rte_mbuf.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
 #include <rte_string_fns.h>
index 9509e71450e8ca69a0b5e35c98f97a82188eed9a..0bcab8cc13d0aec1f27026a3cc7945be28646955 100644 (file)
@@ -56,7 +56,6 @@
 #include <rte_memcpy.h>
 #include <rte_mbuf.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
 #include <rte_malloc.h>
index 314fdf65249da5d648024ee7834a2ad3dec477f3..aa1c6f574b84bb0e1b9435d023cdaabe22e454da 100644 (file)
@@ -58,7 +58,6 @@
 #include <rte_mbuf.h>
 #include <rte_ether.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_ethdev.h>
 #include <rte_byteorder.h>
 #include <rte_malloc.h>
index afe0f851f0c76553c0c7cb45cf629a1b0cd8ae8d..84e9937d42d5aea5550228e5ee7777845c74f844 100644 (file)
@@ -56,7 +56,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
index ed8e1ab9618d1ea0f8be9a582232de165af521d4..9dad2b8ecaa1b32d7ffd8f6c20c0f04a04647231 100644 (file)
@@ -56,7 +56,6 @@
 #include <rte_per_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_pci.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ether.h>