From: Bruce Richardson Date: Fri, 3 Nov 2017 13:46:27 +0000 (+0000) Subject: examples: remove dependency on PCI X-Git-Tag: spdx-start~906 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=015f9489c448bfbf940a7f36d10f03219362031c;p=dpdk.git examples: remove dependency on PCI 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 --- diff --git a/examples/bond/main.c b/examples/bond/main.c index 07f257e119..8e3b1f340d 100644 --- a/examples/bond/main.c +++ b/examples/bond/main.c @@ -60,7 +60,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/ethtool/lib/rte_ethtool.c b/examples/ethtool/lib/rte_ethtool.c index cbaac73805..c70c54786a 100644 --- a/examples/ethtool/lib/rte_ethtool.c +++ b/examples/ethtool/lib/rte_ethtool.c @@ -36,7 +36,6 @@ #include #include #include -#include #include #ifdef RTE_LIBRTE_IXGBE_PMD #include diff --git a/examples/exception_path/main.c b/examples/exception_path/main.c index cc3915432b..f8f5bbdf0a 100644 --- a/examples/exception_path/main.c +++ b/examples/exception_path/main.c @@ -62,7 +62,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c index 9e76e435b0..5aefe09877 100644 --- a/examples/ip_fragmentation/main.c +++ b/examples/ip_fragmentation/main.c @@ -57,7 +57,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c index f2e4510b15..756f90efb7 100644 --- a/examples/ip_reassembly/main.c +++ b/examples/ip_reassembly/main.c @@ -58,7 +58,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index 6201d850ae..c98454a905 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -57,7 +57,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/ipv4_multicast/main.c b/examples/ipv4_multicast/main.c index 3aa4634bbe..83ac0d808d 100644 --- a/examples/ipv4_multicast/main.c +++ b/examples/ipv4_multicast/main.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/kni/main.c b/examples/kni/main.c index 6fd2458e0b..3f17385442 100644 --- a/examples/kni/main.c +++ b/examples/kni/main.c @@ -60,7 +60,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 8c625edd12..d4e1682c86 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -67,7 +67,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l2fwd-jobstats/main.c b/examples/l2fwd-jobstats/main.c index 934a759a3d..485370de66 100644 --- a/examples/l2fwd-jobstats/main.c +++ b/examples/l2fwd-jobstats/main.c @@ -52,7 +52,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c index 1991780eb5..358ca5ec7c 100644 --- a/examples/l2fwd-keepalive/main.c +++ b/examples/l2fwd-keepalive/main.c @@ -60,7 +60,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index c1f4db75c9..e89e2e1bf2 100644 --- a/examples/l2fwd/main.c +++ b/examples/l2fwd/main.c @@ -61,7 +61,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c index 53fd592aff..e50b1a1a84 100644 --- a/examples/l3fwd-acl/main.c +++ b/examples/l3fwd-acl/main.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 0a34564750..0a4ed145c5 100644 --- a/examples/l3fwd-power/main.c +++ b/examples/l3fwd-power/main.c @@ -59,7 +59,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c index 7a3964bb68..6ef89fc8c0 100644 --- a/examples/l3fwd-vf/main.c +++ b/examples/l3fwd-vf/main.c @@ -58,7 +58,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c index c619f97dfb..6229568f2f 100644 --- a/examples/l3fwd/main.c +++ b/examples/l3fwd/main.c @@ -59,7 +59,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/link_status_interrupt/main.c b/examples/link_status_interrupt/main.c index 013c26a36a..bc47dcce3e 100644 --- a/examples/link_status_interrupt/main.c +++ b/examples/link_status_interrupt/main.c @@ -59,7 +59,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/load_balancer/config.c b/examples/load_balancer/config.c index faf5198305..755a86e488 100644 --- a/examples/load_balancer/config.c +++ b/examples/load_balancer/config.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/load_balancer/init.c b/examples/load_balancer/init.c index 08f9cc6eb2..3dab7f2584 100644 --- a/examples/load_balancer/init.c +++ b/examples/load_balancer/init.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/load_balancer/main.c b/examples/load_balancer/main.c index b579f900f8..7ced84d4ef 100644 --- a/examples/load_balancer/main.c +++ b/examples/load_balancer/main.c @@ -57,7 +57,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/load_balancer/runtime.c b/examples/load_balancer/runtime.c index 4867f00118..f65e14f08e 100644 --- a/examples/load_balancer/runtime.c +++ b/examples/load_balancer/runtime.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/client_server_mp/mp_client/client.c b/examples/multi_process/client_server_mp/mp_client/client.c index 44085429ae..30ce4b34c8 100644 --- a/examples/multi_process/client_server_mp/mp_client/client.c +++ b/examples/multi_process/client_server_mp/mp_client/client.c @@ -57,7 +57,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/client_server_mp/mp_server/init.c b/examples/multi_process/client_server_mp/mp_server/init.c index cacf4e0d53..c8d02113d4 100644 --- a/examples/multi_process/client_server_mp/mp_server/init.c +++ b/examples/multi_process/client_server_mp/mp_server/init.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/client_server_mp/mp_server/main.c b/examples/multi_process/client_server_mp/mp_server/main.c index 3bc4f97fd1..6eda556a63 100644 --- a/examples/multi_process/client_server_mp/mp_server/main.c +++ b/examples/multi_process/client_server_mp/mp_server/main.c @@ -58,7 +58,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/l2fwd_fork/flib.c b/examples/multi_process/l2fwd_fork/flib.c index 962d1d5c4e..a3f1d27536 100644 --- a/examples/multi_process/l2fwd_fork/flib.c +++ b/examples/multi_process/l2fwd_fork/flib.c @@ -63,7 +63,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/l2fwd_fork/main.c b/examples/multi_process/l2fwd_fork/main.c index 6931f72eab..deace27398 100644 --- a/examples/multi_process/l2fwd_fork/main.c +++ b/examples/multi_process/l2fwd_fork/main.c @@ -61,7 +61,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c index 1ebdb9efbd..6fb285c747 100644 --- a/examples/multi_process/symmetric_mp/main.c +++ b/examples/multi_process/symmetric_mp/main.c @@ -64,7 +64,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c index 6fab4f41ec..fa65234f3c 100644 --- a/examples/performance-thread/l3fwd-thread/main.c +++ b/examples/performance-thread/l3fwd-thread/main.c @@ -59,7 +59,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/server_node_efd/node/node.c b/examples/server_node_efd/node/node.c index c8ce391f13..5aa1258e1a 100644 --- a/examples/server_node_efd/node/node.c +++ b/examples/server_node_efd/node/node.c @@ -57,7 +57,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/server_node_efd/server/init.c b/examples/server_node_efd/server/init.c index 9509e71450..0bcab8cc13 100644 --- a/examples/server_node_efd/server/init.c +++ b/examples/server_node_efd/server/init.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/server_node_efd/server/main.c b/examples/server_node_efd/server/main.c index 314fdf6524..aa1c6f574b 100644 --- a/examples/server_node_efd/server/main.c +++ b/examples/server_node_efd/server/main.c @@ -58,7 +58,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c index afe0f851f0..84e9937d42 100644 --- a/examples/vmdq/main.c +++ b/examples/vmdq/main.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/vmdq_dcb/main.c b/examples/vmdq_dcb/main.c index ed8e1ab961..9dad2b8eca 100644 --- a/examples/vmdq_dcb/main.c +++ b/examples/vmdq_dcb/main.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include