DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v1 00/19] remove IWYU flagged headers
@ 2022-04-21 19:08 Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 01/19] cmdline: remove unneeded header includes Sean Morrissey
                   ` (19 more replies)
  0 siblings, 20 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

This patchset removes unused header includes flagged
by the IWYU tool for the 22.07 release.

Sean Morrissey (19):
  cmdline: remove unneeded header includes
  eal: remove unneeded header includes
  ethdev: remove unneeded header includes
  gpudev: remove unneeded header includes
  gso: remove unneeded header includes
  hash: remove unneeded header includes
  ip_frag: remove unneeded header includes
  jobstats: remove unneeded header includes
  mempool: remove unneeded header includes
  meter: remove unneeded header includes
  net: remove unneeded header includes
  power: remove unneeded header includes
  rawdev: remove unneeded header includes
  regexdev: remove unneeded header includes
  sched: remove unneeded header includes
  stack: remove unneeded header includes
  table: remove unneeded header includes
  timer: remove unneeded header includes
  vhost: remove unneeded header includes

 lib/cmdline/cmdline_cirbuf.h       | 1 -
 lib/cmdline/cmdline_parse_num.c    | 3 ---
 lib/cmdline/cmdline_socket.c       | 5 -----
 lib/cmdline/cmdline_socket.h       | 1 -
 lib/eal/common/eal_common_config.c | 1 -
 lib/eal/common/eal_common_launch.c | 1 -
 lib/eal/common/eal_common_log.c    | 1 -
 lib/eal/common/malloc_heap.h       | 1 -
 lib/eal/linux/eal.c                | 1 -
 lib/eal/linux/eal_thread.c         | 6 ------
 lib/eal/linux/eal_vfio.c           | 1 -
 lib/eal/unix/eal_filesystem.c      | 2 --
 lib/ethdev/rte_class_eth.c         | 2 --
 lib/ethdev/rte_ethdev.c            | 9 ---------
 lib/ethdev/rte_ethdev.h            | 1 -
 lib/ethdev/rte_flow.c              | 2 --
 lib/ethdev/rte_flow.h              | 3 ---
 lib/ethdev/rte_mtr.c               | 1 -
 lib/ethdev/rte_mtr.h               | 1 -
 lib/gpudev/gpudev.c                | 1 -
 lib/gso/gso_common.c               | 1 -
 lib/gso/gso_common.h               | 1 -
 lib/gso/gso_tcp4.h                 | 1 -
 lib/gso/gso_tunnel_tcp4.h          | 1 -
 lib/gso/gso_tunnel_udp4.h          | 1 -
 lib/gso/gso_udp4.h                 | 1 -
 lib/hash/rte_cuckoo_hash.c         | 3 ---
 lib/ip_frag/ip_frag_internal.c     | 1 -
 lib/jobstats/rte_jobstats.h        | 1 -
 lib/mempool/rte_mempool.h          | 1 -
 lib/meter/rte_meter.c              | 3 ---
 lib/net/rte_net.h                  | 1 -
 lib/power/power_pstate_cpufreq.c   | 1 -
 lib/power/rte_power_empty_poll.h   | 3 ---
 lib/power/rte_power_pmd_mgmt.c     | 2 --
 lib/power/rte_power_pmd_mgmt.h     | 5 -----
 lib/rawdev/rte_rawdev.h            | 1 -
 lib/regexdev/rte_regexdev.h        | 1 -
 lib/sched/rte_pie.c                | 1 -
 lib/stack/rte_stack.h              | 1 -
 lib/table/rte_swx_table_learner.c  | 1 -
 lib/timer/rte_timer.c              | 3 ---
 lib/timer/rte_timer.h              | 2 --
 lib/vhost/vhost.h                  | 3 ---
 lib/vhost/vhost_user.h             | 1 -
 45 files changed, 85 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 01/19] cmdline: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 02/19] eal: " Sean Morrissey
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/cmdline/cmdline_cirbuf.h    | 1 -
 lib/cmdline/cmdline_parse_num.c | 3 ---
 lib/cmdline/cmdline_socket.c    | 5 -----
 lib/cmdline/cmdline_socket.h    | 1 -
 4 files changed, 10 deletions(-)

diff --git a/lib/cmdline/cmdline_cirbuf.h b/lib/cmdline/cmdline_cirbuf.h
index c23b211ad4..c58fdabf00 100644
--- a/lib/cmdline/cmdline_cirbuf.h
+++ b/lib/cmdline/cmdline_cirbuf.h
@@ -7,7 +7,6 @@
 #ifndef _CIRBUF_H_
 #define _CIRBUF_H_
 
-#include <rte_config.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/lib/cmdline/cmdline_parse_num.c b/lib/cmdline/cmdline_parse_num.c
index b37dd94ae9..820af071fb 100644
--- a/lib/cmdline/cmdline_parse_num.c
+++ b/lib/cmdline/cmdline_parse_num.c
@@ -7,10 +7,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <inttypes.h>
-#include <ctype.h>
 #include <string.h>
-#include <stdarg.h>
-#include <errno.h>
 #include <rte_string_fns.h>
 
 #include "cmdline_parse.h"
diff --git a/lib/cmdline/cmdline_socket.c b/lib/cmdline/cmdline_socket.c
index ebd5343754..d6c2431cb8 100644
--- a/lib/cmdline/cmdline_socket.c
+++ b/lib/cmdline/cmdline_socket.c
@@ -5,11 +5,6 @@
  */
 
 #include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <inttypes.h>
 #include <fcntl.h>
 
 #include "cmdline.h"
diff --git a/lib/cmdline/cmdline_socket.h b/lib/cmdline/cmdline_socket.h
index 80542e5599..a9c4ea26ad 100644
--- a/lib/cmdline/cmdline_socket.h
+++ b/lib/cmdline/cmdline_socket.h
@@ -8,7 +8,6 @@
 #define _CMDLINE_SOCKET_H_
 
 #include <cmdline_parse.h>
-#include <cmdline.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 02/19] eal: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 01/19] cmdline: remove unneeded header includes Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 03/19] ethdev: " Sean Morrissey
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Anatoly Burakov; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/eal/common/eal_common_config.c | 1 -
 lib/eal/common/eal_common_launch.c | 1 -
 lib/eal/common/eal_common_log.c    | 1 -
 lib/eal/common/malloc_heap.h       | 1 -
 lib/eal/linux/eal.c                | 1 -
 lib/eal/linux/eal_thread.c         | 6 ------
 lib/eal/linux/eal_vfio.c           | 1 -
 lib/eal/unix/eal_filesystem.c      | 2 --
 8 files changed, 14 deletions(-)

diff --git a/lib/eal/common/eal_common_config.c b/lib/eal/common/eal_common_config.c
index 3cef43a4f7..0daf0f3188 100644
--- a/lib/eal/common/eal_common_config.c
+++ b/lib/eal/common/eal_common_config.c
@@ -1,7 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright(c) 2020 Mellanox Technologies, Ltd
  */
-#include <string.h>
 
 #include <rte_string_fns.h>
 
diff --git a/lib/eal/common/eal_common_launch.c b/lib/eal/common/eal_common_launch.c
index 992f8e4631..462c886e30 100644
--- a/lib/eal/common/eal_common_launch.c
+++ b/lib/eal/common/eal_common_launch.c
@@ -6,7 +6,6 @@
 
 #include <rte_launch.h>
 #include <rte_eal_trace.h>
-#include <rte_atomic.h>
 #include <rte_pause.h>
 #include <rte_lcore.h>
 
diff --git a/lib/eal/common/eal_common_log.c b/lib/eal/common/eal_common_log.c
index d57dca9785..bd7b188ceb 100644
--- a/lib/eal/common/eal_common_log.c
+++ b/lib/eal/common/eal_common_log.c
@@ -13,7 +13,6 @@
 #include <sys/queue.h>
 
 #include <rte_log.h>
-#include <rte_os_shim.h>
 #include <rte_per_lcore.h>
 
 #include "eal_log.h"
diff --git a/lib/eal/common/malloc_heap.h b/lib/eal/common/malloc_heap.h
index 3b2fbc0aa0..1d5c348530 100644
--- a/lib/eal/common/malloc_heap.h
+++ b/lib/eal/common/malloc_heap.h
@@ -9,7 +9,6 @@
 #include <sys/queue.h>
 
 #include <rte_malloc.h>
-#include <rte_spinlock.h>
 
 /* Number of free lists per heap, grouped by size. */
 #define RTE_HEAP_NUM_FREELISTS  13
diff --git a/lib/eal/linux/eal.c b/lib/eal/linux/eal.c
index 1ef263434a..1390b6cf47 100644
--- a/lib/eal/linux/eal.c
+++ b/lib/eal/linux/eal.c
@@ -34,7 +34,6 @@
 #include <rte_service_component.h>
 #include <rte_log.h>
 #include <rte_string_fns.h>
-#include <rte_cpuflags.h>
 #include <rte_bus.h>
 #include <rte_version.h>
 #include <malloc_heap.h>
diff --git a/lib/eal/linux/eal_thread.c b/lib/eal/linux/eal_thread.c
index 820cc905e0..e9294127d1 100644
--- a/lib/eal/linux/eal_thread.c
+++ b/lib/eal/linux/eal_thread.c
@@ -4,20 +4,14 @@
 
 #include <errno.h>
 #include <stdio.h>
-#include <stdint.h>
 #include <unistd.h>
 #include <pthread.h>
 #include <sys/syscall.h>
 
-#include <rte_debug.h>
-#include <rte_launch.h>
-#include <rte_log.h>
 #include <rte_eal.h>
 #include <rte_lcore.h>
 #include <rte_string_fns.h>
 
-#include "eal_private.h"
-#include "eal_thread.h"
 
 /* require calling thread tid by gettid() */
 int rte_sys_gettid(void)
diff --git a/lib/eal/linux/eal_vfio.c b/lib/eal/linux/eal_vfio.c
index 549b86ae1d..c4fd7d63b0 100644
--- a/lib/eal/linux/eal_vfio.c
+++ b/lib/eal/linux/eal_vfio.c
@@ -15,7 +15,6 @@
 #include <rte_vfio.h>
 
 #include "eal_filesystem.h"
-#include "eal_memcfg.h"
 #include "eal_vfio.h"
 #include "eal_private.h"
 #include "eal_internal_cfg.h"
diff --git a/lib/eal/unix/eal_filesystem.c b/lib/eal/unix/eal_filesystem.c
index 094a2bf7e4..afbab9368a 100644
--- a/lib/eal/unix/eal_filesystem.c
+++ b/lib/eal/unix/eal_filesystem.c
@@ -10,10 +10,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
-#include <sys/types.h>
 #include <unistd.h>
 
-#include <rte_common.h>
 #include <rte_log.h>
 
 #include "eal_private.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 03/19] ethdev: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 01/19] cmdline: remove unneeded header includes Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 02/19] eal: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 04/19] gpudev: " Sean Morrissey
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Thomas Monjalon, Ferruh Yigit, Andrew Rybchenko, Ori Kam,
	Cristian Dumitrescu
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/ethdev/rte_class_eth.c | 2 --
 lib/ethdev/rte_ethdev.c    | 9 ---------
 lib/ethdev/rte_ethdev.h    | 1 -
 lib/ethdev/rte_flow.c      | 2 --
 lib/ethdev/rte_flow.h      | 3 ---
 lib/ethdev/rte_mtr.c       | 1 -
 lib/ethdev/rte_mtr.h       | 1 -
 7 files changed, 19 deletions(-)

diff --git a/lib/ethdev/rte_class_eth.c b/lib/ethdev/rte_class_eth.c
index c8e8fc9244..3be84dd45c 100644
--- a/lib/ethdev/rte_class_eth.c
+++ b/lib/ethdev/rte_class_eth.c
@@ -5,13 +5,11 @@
 #include <string.h>
 
 #include <rte_class.h>
-#include <rte_compat.h>
 #include <rte_errno.h>
 #include <rte_kvargs.h>
 #include <rte_log.h>
 
 #include "rte_ethdev.h"
-#include "rte_ethdev_core.h"
 #include "ethdev_driver.h"
 #include "ethdev_private.h"
 
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index 29a3d80466..c4120e6d51 100644
--- a/lib/ethdev/rte_ethdev.c
+++ b/lib/ethdev/rte_ethdev.c
@@ -11,18 +11,9 @@
 #include <string.h>
 #include <sys/queue.h>
 
-#include <rte_byteorder.h>
 #include <rte_log.h>
-#include <rte_debug.h>
 #include <rte_interrupts.h>
-#include <rte_memory.h>
 #include <rte_memcpy.h>
-#include <rte_memzone.h>
-#include <rte_launch.h>
-#include <rte_eal.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
-#include <rte_branch_prediction.h>
 #include <rte_common.h>
 #include <rte_mempool.h>
 #include <rte_malloc.h>
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index 04cff8ee10..131be93f6e 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -169,7 +169,6 @@ extern "C" {
 #include <rte_errno.h>
 #include <rte_common.h>
 #include <rte_config.h>
-#include <rte_ether.h>
 #include <rte_power_intrinsics.h>
 
 #include "rte_ethdev_trace_fp.h"
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c
index 2c35a2f13e..501be9d602 100644
--- a/lib/ethdev/rte_flow.c
+++ b/lib/ethdev/rte_flow.c
@@ -6,13 +6,11 @@
 #include <errno.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <string.h>
 
 #include <rte_common.h>
 #include <rte_errno.h>
 #include <rte_branch_prediction.h>
 #include <rte_string_fns.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include "rte_ethdev.h"
 #include "rte_flow_driver.h"
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index d8827dd184..5e9d206986 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -17,7 +17,6 @@
 #include <stddef.h>
 #include <stdint.h>
 
-#include <rte_arp.h>
 #include <rte_common.h>
 #include <rte_ether.h>
 #include <rte_icmp.h>
@@ -26,12 +25,10 @@
 #include <rte_tcp.h>
 #include <rte_udp.h>
 #include <rte_vxlan.h>
-#include <rte_byteorder.h>
 #include <rte_esp.h>
 #include <rte_higig.h>
 #include <rte_ecpri.h>
 #include <rte_bitops.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include <rte_meter.h>
 #include <rte_gtp.h>
diff --git a/lib/ethdev/rte_mtr.c b/lib/ethdev/rte_mtr.c
index e49fcf271c..754872f6af 100644
--- a/lib/ethdev/rte_mtr.c
+++ b/lib/ethdev/rte_mtr.c
@@ -5,7 +5,6 @@
 #include <stdint.h>
 
 #include <rte_errno.h>
-#include "rte_compat.h"
 #include "rte_ethdev.h"
 #include "rte_mtr_driver.h"
 #include "rte_mtr.h"
diff --git a/lib/ethdev/rte_mtr.h b/lib/ethdev/rte_mtr.h
index 40df0888c8..d8c1066c9b 100644
--- a/lib/ethdev/rte_mtr.h
+++ b/lib/ethdev/rte_mtr.h
@@ -49,7 +49,6 @@
 #include <rte_compat.h>
 #include <rte_common.h>
 #include <rte_meter.h>
-#include <rte_flow.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 04/19] gpudev: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (2 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 03/19] ethdev: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 05/19] gso: " Sean Morrissey
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Elena Agostini; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gpudev/gpudev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c
index 56033f4a5f..ee3ae80f82 100644
--- a/lib/gpudev/gpudev.c
+++ b/lib/gpudev/gpudev.c
@@ -9,7 +9,6 @@
 #include <rte_malloc.h>
 #include <rte_errno.h>
 #include <rte_log.h>
-#include <rte_eal_paging.h>
 
 #include "rte_gpudev.h"
 #include "gpudev_driver.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 05/19] gso: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (3 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 04/19] gpudev: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 06/19] hash: " Sean Morrissey
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Jiayu Hu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gso/gso_common.c      | 1 -
 lib/gso/gso_common.h      | 1 -
 lib/gso/gso_tcp4.h        | 1 -
 lib/gso/gso_tunnel_tcp4.h | 1 -
 lib/gso/gso_tunnel_udp4.h | 1 -
 lib/gso/gso_udp4.h        | 1 -
 6 files changed, 6 deletions(-)

diff --git a/lib/gso/gso_common.c b/lib/gso/gso_common.c
index 0fad1132fc..378bf2c6aa 100644
--- a/lib/gso/gso_common.c
+++ b/lib/gso/gso_common.c
@@ -6,7 +6,6 @@
 #include <errno.h>
 
 #include <rte_memcpy.h>
-#include <rte_mempool.h>
 
 #include "gso_common.h"
 
diff --git a/lib/gso/gso_common.h b/lib/gso/gso_common.h
index 2c258b22bf..9456d596d3 100644
--- a/lib/gso/gso_common.h
+++ b/lib/gso/gso_common.h
@@ -7,7 +7,6 @@
 
 #include <stdint.h>
 
-#include <rte_mbuf.h>
 #include <rte_ip.h>
 #include <rte_tcp.h>
 #include <rte_udp.h>
diff --git a/lib/gso/gso_tcp4.h b/lib/gso/gso_tcp4.h
index 10d4b3acdd..7527fa51c9 100644
--- a/lib/gso/gso_tcp4.h
+++ b/lib/gso/gso_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an IPv4/TCP packet. This function doesn't check if the input
diff --git a/lib/gso/gso_tunnel_tcp4.h b/lib/gso/gso_tunnel_tcp4.h
index c522ed27f2..3a7ea238c8 100644
--- a/lib/gso/gso_tunnel_tcp4.h
+++ b/lib/gso/gso_tunnel_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner TCP/IPv4 headers. This function
diff --git a/lib/gso/gso_tunnel_udp4.h b/lib/gso/gso_tunnel_udp4.h
index c49b43fe3e..214a69ccd5 100644
--- a/lib/gso/gso_tunnel_udp4.h
+++ b/lib/gso/gso_tunnel_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner UDP/IPv4 headers. This function
diff --git a/lib/gso/gso_udp4.h b/lib/gso/gso_udp4.h
index b2a2908e54..8baa0ba6db 100644
--- a/lib/gso/gso_udp4.h
+++ b/lib/gso/gso_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an UDP/IPv4 packet. This function doesn't check if the input
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 06/19] hash: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (4 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 05/19] gso: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 07/19] ip_frag: " Sean Morrissey
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Yipeng Wang, Sameh Gobriel, Bruce Richardson, Vladimir Medvedkin
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/hash/rte_cuckoo_hash.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c
index 490f94af4b..de7d941638 100644
--- a/lib/hash/rte_cuckoo_hash.c
+++ b/lib/hash/rte_cuckoo_hash.c
@@ -10,7 +10,6 @@
 #include <sys/queue.h>
 
 #include <rte_common.h>
-#include <rte_memory.h>         /* for definition of RTE_CACHE_LINE_SIZE */
 #include <rte_log.h>
 #include <rte_prefetch.h>
 #include <rte_branch_prediction.h>
@@ -21,8 +20,6 @@
 #include <rte_cpuflags.h>
 #include <rte_rwlock.h>
 #include <rte_ring_elem.h>
-#include <rte_compat.h>
-#include <rte_vect.h>
 #include <rte_tailq.h>
 
 #include "rte_hash.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 07/19] ip_frag: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (5 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 06/19] hash: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 08/19] jobstats: " Sean Morrissey
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Konstantin Ananyev; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/ip_frag/ip_frag_internal.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/ip_frag/ip_frag_internal.c b/lib/ip_frag/ip_frag_internal.c
index b436a4c931..043b0ffba3 100644
--- a/lib/ip_frag/ip_frag_internal.c
+++ b/lib/ip_frag/ip_frag_internal.c
@@ -4,7 +4,6 @@
 
 #include <stddef.h>
 
-#include <rte_jhash.h>
 #include <rte_hash_crc.h>
 
 #include "ip_frag_common.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 08/19] jobstats: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (6 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 07/19] ip_frag: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 09/19] mempool: " Sean Morrissey
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/jobstats/rte_jobstats.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/jobstats/rte_jobstats.h b/lib/jobstats/rte_jobstats.h
index 023d9dd15c..45b460e603 100644
--- a/lib/jobstats/rte_jobstats.h
+++ b/lib/jobstats/rte_jobstats.h
@@ -8,7 +8,6 @@
 #include <stdint.h>
 
 #include <rte_memory.h>
-#include <rte_memcpy.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 09/19] mempool: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (7 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 08/19] jobstats: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 10/19] meter: " Sean Morrissey
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Olivier Matz, Andrew Rybchenko; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/mempool/rte_mempool.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h
index 3ada37cb86..8d6554fbae 100644
--- a/lib/mempool/rte_mempool.h
+++ b/lib/mempool/rte_mempool.h
@@ -38,7 +38,6 @@
 #include <inttypes.h>
 
 #include <rte_config.h>
-#include <rte_spinlock.h>
 #include <rte_debug.h>
 #include <rte_lcore.h>
 #include <rte_branch_prediction.h>
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 10/19] meter: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (8 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 09/19] mempool: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 11/19] net: " Sean Morrissey
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/meter/rte_meter.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/meter/rte_meter.c b/lib/meter/rte_meter.c
index da01429a8b..4549b97d36 100644
--- a/lib/meter/rte_meter.c
+++ b/lib/meter/rte_meter.c
@@ -2,12 +2,9 @@
  * Copyright(c) 2010-2014 Intel Corporation
  */
 
-#include <inttypes.h>
 #include <stdio.h>
 #include <math.h>
 
-#include <rte_common.h>
-#include <rte_log.h>
 #include <rte_cycles.h>
 
 #include "rte_meter.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 11/19] net: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (9 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 10/19] meter: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 12/19] power: " Sean Morrissey
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/net/rte_net.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h
index 53a7f4d360..56611fc8f9 100644
--- a/lib/net/rte_net.h
+++ b/lib/net/rte_net.h
@@ -12,7 +12,6 @@ extern "C" {
 #include <rte_ip.h>
 #include <rte_udp.h>
 #include <rte_tcp.h>
-#include <rte_sctp.h>
 
 /**
  * Structure containing header lengths associated to a packet, filled
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 12/19] power: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (10 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 11/19] net: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 13/19] rawdev: " Sean Morrissey
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: David Hunt; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/power/power_pstate_cpufreq.c | 1 -
 lib/power/rte_power_empty_poll.h | 3 ---
 lib/power/rte_power_pmd_mgmt.c   | 2 --
 lib/power/rte_power_pmd_mgmt.h   | 5 -----
 4 files changed, 11 deletions(-)

diff --git a/lib/power/power_pstate_cpufreq.c b/lib/power/power_pstate_cpufreq.c
index f4c36179ec..959eccffd8 100644
--- a/lib/power/power_pstate_cpufreq.c
+++ b/lib/power/power_pstate_cpufreq.c
@@ -8,7 +8,6 @@
 #include <unistd.h>
 #include <limits.h>
 #include <errno.h>
-#include <inttypes.h>
 
 #include <rte_memcpy.h>
 
diff --git a/lib/power/rte_power_empty_poll.h b/lib/power/rte_power_empty_poll.h
index 43fb276077..f6306fdcdf 100644
--- a/lib/power/rte_power_empty_poll.h
+++ b/lib/power/rte_power_empty_poll.h
@@ -13,10 +13,7 @@
 #include <stdbool.h>
 
 #include <rte_common.h>
-#include <rte_byteorder.h>
-#include <rte_log.h>
 #include <rte_string_fns.h>
-#include <rte_power.h>
 #include <rte_timer.h>
 
 #ifdef __cplusplus
diff --git a/lib/power/rte_power_pmd_mgmt.c b/lib/power/rte_power_pmd_mgmt.c
index 39a2b4cd23..e6fab9639e 100644
--- a/lib/power/rte_power_pmd_mgmt.c
+++ b/lib/power/rte_power_pmd_mgmt.c
@@ -4,10 +4,8 @@
 
 #include <rte_lcore.h>
 #include <rte_cycles.h>
-#include <rte_cpuflags.h>
 #include <rte_malloc.h>
 #include <rte_ethdev.h>
-#include <rte_power_intrinsics.h>
 
 #include "rte_power_pmd_mgmt.h"
 
diff --git a/lib/power/rte_power_pmd_mgmt.h b/lib/power/rte_power_pmd_mgmt.h
index 444e7b8a66..e83aec3484 100644
--- a/lib/power/rte_power_pmd_mgmt.h
+++ b/lib/power/rte_power_pmd_mgmt.h
@@ -11,13 +11,8 @@
  */
 
 #include <stdint.h>
-#include <stdbool.h>
 
-#include <rte_common.h>
-#include <rte_byteorder.h>
-#include <rte_log.h>
 #include <rte_power.h>
-#include <rte_atomic.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 13/19] rawdev: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (11 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 12/19] power: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-22  4:51   ` Hemant Agrawal
  2022-04-21 19:08 ` [PATCH v1 14/19] regexdev: " Sean Morrissey
                   ` (6 subsequent siblings)
  19 siblings, 1 reply; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Nipun Gupta, Hemant Agrawal; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/rawdev/rte_rawdev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h
index 14e8eb972f..66080eae9e 100644
--- a/lib/rawdev/rte_rawdev.h
+++ b/lib/rawdev/rte_rawdev.h
@@ -20,7 +20,6 @@ extern "C" {
 
 #include <rte_common.h>
 #include <rte_memory.h>
-#include <rte_errno.h>
 
 /* Rawdevice object - essentially a void to be typecast by implementation */
 typedef void *rte_rawdev_obj_t;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 14/19] regexdev: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (12 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 13/19] rawdev: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 15/19] sched: " Sean Morrissey
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Ori Kam; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/regexdev/rte_regexdev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/regexdev/rte_regexdev.h b/lib/regexdev/rte_regexdev.h
index 3bce8090f6..ce3dba5c10 100644
--- a/lib/regexdev/rte_regexdev.h
+++ b/lib/regexdev/rte_regexdev.h
@@ -200,7 +200,6 @@ extern "C" {
 
 #include <rte_common.h>
 #include <rte_dev.h>
-#include <rte_mbuf.h>
 
 #define RTE_REGEXDEV_NAME_MAX_LEN RTE_DEV_NAME_MAX_LEN
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 15/19] sched: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (13 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 14/19] regexdev: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 19:08 ` [PATCH v1 16/19] stack: " Sean Morrissey
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Cristian Dumitrescu, Jasvinder Singh; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/sched/rte_pie.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/sched/rte_pie.c b/lib/sched/rte_pie.c
index d37b79e6dd..c84f75a18c 100644
--- a/lib/sched/rte_pie.c
+++ b/lib/sched/rte_pie.c
@@ -6,7 +6,6 @@
 #include <string.h>
 
 #include "rte_pie.h"
-#include <rte_malloc.h>
 
 #ifdef __INTEL_COMPILER
 #pragma warning(disable:2259) /* conversion may lose significant bits */
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 16/19] stack: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (14 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 15/19] sched: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 20:10   ` Stephen Hemminger
  2022-04-21 19:08 ` [PATCH v1 17/19] table: " Sean Morrissey
                   ` (3 subsequent siblings)
  19 siblings, 1 reply; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/stack/rte_stack.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stack.h
index 91fc570767..af8c3804f3 100644
--- a/lib/stack/rte_stack.h
+++ b/lib/stack/rte_stack.h
@@ -22,7 +22,6 @@ extern "C" {
 #include <rte_debug.h>
 #include <rte_errno.h>
 #include <rte_memzone.h>
-#include <rte_spinlock.h>
 
 #define RTE_TAILQ_STACK_NAME "RTE_STACK"
 #define RTE_STACK_MZ_PREFIX "STK_"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 17/19] table: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (15 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 16/19] stack: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 20:09   ` Stephen Hemminger
  2022-04-21 19:08 ` [PATCH v1 18/19] timer: " Sean Morrissey
                   ` (2 subsequent siblings)
  19 siblings, 1 reply; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/table/rte_swx_table_learner.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/table/rte_swx_table_learner.c b/lib/table/rte_swx_table_learner.c
index 15576c2aa3..f9d4d7faac 100644
--- a/lib/table/rte_swx_table_learner.c
+++ b/lib/table/rte_swx_table_learner.c
@@ -6,7 +6,6 @@
 #include <errno.h>
 
 #include <rte_common.h>
-#include <rte_cycles.h>
 #include <rte_prefetch.h>
 
 #include "rte_swx_table_learner.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 18/19] timer: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (16 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 17/19] table: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-04-21 20:08   ` Stephen Hemminger
  2022-04-21 19:08 ` [PATCH v1 19/19] vhost: " Sean Morrissey
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
  19 siblings, 1 reply; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Erik Gabriel Carrillo; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/timer/rte_timer.c | 3 ---
 lib/timer/rte_timer.h | 2 --
 2 files changed, 5 deletions(-)

diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c
index c51a393e5c..f52ccc33ed 100644
--- a/lib/timer/rte_timer.c
+++ b/lib/timer/rte_timer.c
@@ -5,12 +5,9 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <stdbool.h>
-#include <inttypes.h>
 #include <assert.h>
-#include <sys/queue.h>
 
 #include <rte_common.h>
-#include <rte_cycles.h>
 #include <rte_eal_memconfig.h>
 #include <rte_memory.h>
 #include <rte_lcore.h>
diff --git a/lib/timer/rte_timer.h b/lib/timer/rte_timer.h
index 0f820555c0..503438a36b 100644
--- a/lib/timer/rte_timer.h
+++ b/lib/timer/rte_timer.h
@@ -36,9 +36,7 @@
 
 #include <stdio.h>
 #include <stdint.h>
-#include <stddef.h>
 #include <rte_common.h>
-#include <rte_config.h>
 #include <rte_spinlock.h>
 
 #ifdef __cplusplus
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v1 19/19] vhost: remove unneeded header includes
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (17 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 18/19] timer: " Sean Morrissey
@ 2022-04-21 19:08 ` Sean Morrissey
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-04-21 19:08 UTC (permalink / raw)
  To: Maxime Coquelin, Chenbo Xia; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/vhost/vhost.h      | 3 ---
 lib/vhost/vhost_user.h | 1 -
 2 files changed, 4 deletions(-)

diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h
index a9edc271aa..711bb8cd83 100644
--- a/lib/vhost/vhost.h
+++ b/lib/vhost/vhost.h
@@ -7,12 +7,9 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <stdbool.h>
-#include <sys/types.h>
 #include <sys/queue.h>
 #include <unistd.h>
-#include <linux/vhost.h>
 #include <linux/virtio_net.h>
-#include <sys/socket.h>
 #include <linux/if.h>
 
 #include <rte_log.h>
diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h
index c946cc2ef4..8d216c380f 100644
--- a/lib/vhost/vhost_user.h
+++ b/lib/vhost/vhost_user.h
@@ -6,7 +6,6 @@
 #define _VHOST_NET_USER_H
 
 #include <stdint.h>
-#include <linux/vhost.h>
 
 #include "rte_vhost.h"
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [PATCH v1 18/19] timer: remove unneeded header includes
  2022-04-21 19:08 ` [PATCH v1 18/19] timer: " Sean Morrissey
@ 2022-04-21 20:08   ` Stephen Hemminger
  2022-04-22  8:44     ` Morrissey, Sean
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Hemminger @ 2022-04-21 20:08 UTC (permalink / raw)
  To: Sean Morrissey; +Cc: Erik Gabriel Carrillo, dev

On Thu, 21 Apr 2022 19:08:58 +0000
Sean Morrissey <sean.morrissey@intel.com> wrote:

> diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c
> index c51a393e5c..f52ccc33ed 100644
> --- a/lib/timer/rte_timer.c
> +++ b/lib/timer/rte_timer.c
> @@ -5,12 +5,9 @@
>  #include <stdio.h>
>  #include <stdint.h>
>  #include <stdbool.h>
> -#include <inttypes.h>
>  #include <assert.h>
> -#include <sys/queue.h>
>  
>  #include <rte_common.h>
> -#include <rte_cycles.h>
>  #include <rte_eal_memconfig.h>
>  #include <rte_memory.h>
>  #include <rte_lcore.h>

This doesn't look right.

rte_timer.c relies on rte_get_timer_cycles() which is defined in
rte_cycles.h

Perhaps iwyu is getting confused, or thinking that is already covered
by another include file?

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [PATCH v1 17/19] table: remove unneeded header includes
  2022-04-21 19:08 ` [PATCH v1 17/19] table: " Sean Morrissey
@ 2022-04-21 20:09   ` Stephen Hemminger
  0 siblings, 0 replies; 82+ messages in thread
From: Stephen Hemminger @ 2022-04-21 20:09 UTC (permalink / raw)
  To: Sean Morrissey; +Cc: Cristian Dumitrescu, dev

On Thu, 21 Apr 2022 19:08:57 +0000
Sean Morrissey <sean.morrissey@intel.com> wrote:

> These header includes have been flagged by the iwyu_tool
> and removed.
> 
> Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
> ---
>  lib/table/rte_swx_table_learner.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/lib/table/rte_swx_table_learner.c b/lib/table/rte_swx_table_learner.c
> index 15576c2aa3..f9d4d7faac 100644
> --- a/lib/table/rte_swx_table_learner.c
> +++ b/lib/table/rte_swx_table_learner.c
> @@ -6,7 +6,6 @@
>  #include <errno.h>
>  
>  #include <rte_common.h>
> -#include <rte_cycles.h>
>  #include <rte_prefetch.h>
>  
>  #include "rte_swx_table_learner.h"


This file is using rte_get_tsc_hz(), where is that getting defined?

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [PATCH v1 16/19] stack: remove unneeded header includes
  2022-04-21 19:08 ` [PATCH v1 16/19] stack: " Sean Morrissey
@ 2022-04-21 20:10   ` Stephen Hemminger
  0 siblings, 0 replies; 82+ messages in thread
From: Stephen Hemminger @ 2022-04-21 20:10 UTC (permalink / raw)
  To: Sean Morrissey; +Cc: Olivier Matz, dev

On Thu, 21 Apr 2022 19:08:56 +0000
Sean Morrissey <sean.morrissey@intel.com> wrote:

> These header includes have been flagged by the iwyu_tool
> and removed.
> 
> Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
> ---
>  lib/stack/rte_stack.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stack.h
> index 91fc570767..af8c3804f3 100644
> --- a/lib/stack/rte_stack.h
> +++ b/lib/stack/rte_stack.h
> @@ -22,7 +22,6 @@ extern "C" {
>  #include <rte_debug.h>
>  #include <rte_errno.h>
>  #include <rte_memzone.h>
> -#include <rte_spinlock.h>

This file is using rte_spinlock_t so where is it getting defined?

^ permalink raw reply	[flat|nested] 82+ messages in thread

* RE: [PATCH v1 13/19] rawdev: remove unneeded header includes
  2022-04-21 19:08 ` [PATCH v1 13/19] rawdev: " Sean Morrissey
@ 2022-04-22  4:51   ` Hemant Agrawal
  0 siblings, 0 replies; 82+ messages in thread
From: Hemant Agrawal @ 2022-04-22  4:51 UTC (permalink / raw)
  To: Sean Morrissey, Nipun Gupta; +Cc: dev

Acked-by:  Hemant Agrawal <hemant.agrawal@nxp.com>

> -----Original Message-----
> From: Sean Morrissey <sean.morrissey@intel.com>
> Sent: Friday, April 22, 2022 12:39 AM
> To: Nipun Gupta <nipun.gupta@nxp.com>; Hemant Agrawal
> <hemant.agrawal@nxp.com>
> Cc: dev@dpdk.org; Sean Morrissey <sean.morrissey@intel.com>
> Subject: [PATCH v1 13/19] rawdev: remove unneeded header includes
> Importance: High
> 
> These header includes have been flagged by the iwyu_tool and removed.
> 
> Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
> ---
>  lib/rawdev/rte_rawdev.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h index
> 14e8eb972f..66080eae9e 100644
> --- a/lib/rawdev/rte_rawdev.h
> +++ b/lib/rawdev/rte_rawdev.h
> @@ -20,7 +20,6 @@ extern "C" {
> 
>  #include <rte_common.h>
>  #include <rte_memory.h>
> -#include <rte_errno.h>
> 
>  /* Rawdevice object - essentially a void to be typecast by implementation */
> typedef void *rte_rawdev_obj_t;
> --
> 2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [PATCH v1 18/19] timer: remove unneeded header includes
  2022-04-21 20:08   ` Stephen Hemminger
@ 2022-04-22  8:44     ` Morrissey, Sean
  0 siblings, 0 replies; 82+ messages in thread
From: Morrissey, Sean @ 2022-04-22  8:44 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Erik Gabriel Carrillo, dev


On 21/04/2022 21:08, Stephen Hemminger wrote:
> On Thu, 21 Apr 2022 19:08:58 +0000
> Sean Morrissey <sean.morrissey@intel.com> wrote:
>
>> diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c
>> index c51a393e5c..f52ccc33ed 100644
>> --- a/lib/timer/rte_timer.c
>> +++ b/lib/timer/rte_timer.c
>> @@ -5,12 +5,9 @@
>>   #include <stdio.h>
>>   #include <stdint.h>
>>   #include <stdbool.h>
>> -#include <inttypes.h>
>>   #include <assert.h>
>> -#include <sys/queue.h>
>>   
>>   #include <rte_common.h>
>> -#include <rte_cycles.h>
>>   #include <rte_eal_memconfig.h>
>>   #include <rte_memory.h>
>>   #include <rte_lcore.h>
> This doesn't look right.
>
> rte_timer.c relies on rte_get_timer_cycles() which is defined in
> rte_cycles.h
>
> Perhaps iwyu is getting confused, or thinking that is already covered
> by another include file?

IWYU can throw false positives.

Please let me fix all build issues with this patchset and get back to 
you. It could re-introduce the header in question. If not I will 
investigate where IWYU believes the include is coming from.

Typically the headers removed by this tool are usually already included 
from a daisy chain of includes from another header.


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 00/19] remove IWYU flagged headers
  2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
                   ` (18 preceding siblings ...)
  2022-04-21 19:08 ` [PATCH v1 19/19] vhost: " Sean Morrissey
@ 2022-06-16 15:17 ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 01/19] cmdline: remove unneeded header includes Sean Morrissey
                     ` (19 more replies)
  19 siblings, 20 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

This patchset removes unused header includes flagged
by the IWYU tool for the 22.07 release.

V2:
* Fix various build issues.

Sean Morrissey (19):
  cmdline: remove unneeded header includes
  eal: remove unneeded header includes
  ethdev: remove unneeded header includes
  gpudev: remove unneeded header includes
  gso: remove unneeded header includes
  hash: remove unneeded header includes
  ip_frag: remove unneeded header includes
  jobstats: remove unneeded header includes
  mempool: remove unneeded header includes
  meter: remove unneeded header includes
  net: remove unneeded header includes
  power: remove unneeded header includes
  rawdev: remove unneeded header includes
  regexdev: remove unneeded header includes
  sched: remove unneeded header includes
  stack: remove unneeded header includes
  table: remove unneeded header includes
  timer: remove unneeded header includes
  vhost: remove unneeded header includes

 lib/cmdline/cmdline_cirbuf.h       | 1 -
 lib/cmdline/cmdline_parse_num.c    | 3 ---
 lib/cmdline/cmdline_socket.c       | 4 ----
 lib/cmdline/cmdline_socket.h       | 1 -
 lib/eal/common/eal_common_config.c | 1 -
 lib/eal/common/eal_common_launch.c | 1 -
 lib/eal/common/eal_common_log.c    | 1 -
 lib/eal/linux/eal.c                | 1 -
 lib/eal/linux/eal_thread.c         | 6 ------
 lib/eal/linux/eal_vfio.c           | 1 -
 lib/eal/unix/eal_filesystem.c      | 2 --
 lib/ethdev/rte_class_eth.c         | 2 --
 lib/ethdev/rte_ethdev.c            | 9 ---------
 lib/ethdev/rte_ethdev.h            | 1 -
 lib/ethdev/rte_flow.c              | 2 --
 lib/ethdev/rte_flow.h              | 3 ---
 lib/ethdev/rte_mtr.c               | 1 -
 lib/gpudev/gpudev.c                | 1 -
 lib/gso/gso_common.c               | 1 -
 lib/gso/gso_common.h               | 1 -
 lib/gso/gso_tcp4.h                 | 1 -
 lib/gso/gso_tunnel_tcp4.h          | 1 -
 lib/gso/gso_tunnel_udp4.h          | 1 -
 lib/gso/gso_udp4.h                 | 1 -
 lib/hash/rte_cuckoo_hash.c         | 3 ---
 lib/ip_frag/ip_frag_internal.c     | 1 -
 lib/jobstats/rte_jobstats.h        | 1 -
 lib/mempool/rte_mempool.h          | 1 -
 lib/meter/rte_meter.c              | 3 ---
 lib/net/rte_net.h                  | 1 -
 lib/power/power_pstate_cpufreq.c   | 1 -
 lib/power/rte_power_empty_poll.h   | 3 ---
 lib/power/rte_power_pmd_mgmt.c     | 2 --
 lib/power/rte_power_pmd_mgmt.h     | 5 -----
 lib/rawdev/rte_rawdev.h            | 1 -
 lib/regexdev/rte_regexdev.h        | 1 -
 lib/sched/rte_pie.c                | 1 -
 lib/stack/rte_stack.h              | 1 -
 lib/table/rte_swx_table_learner.c  | 1 -
 lib/timer/rte_timer.c              | 2 --
 lib/timer/rte_timer.h              | 2 --
 lib/vhost/vhost.h                  | 2 --
 lib/vhost/vhost_user.h             | 1 -
 43 files changed, 80 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 01/19] cmdline: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 02/19] eal: " Sean Morrissey
                     ` (18 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/cmdline/cmdline_cirbuf.h    | 1 -
 lib/cmdline/cmdline_parse_num.c | 3 ---
 lib/cmdline/cmdline_socket.c    | 4 ----
 lib/cmdline/cmdline_socket.h    | 1 -
 4 files changed, 9 deletions(-)

diff --git a/lib/cmdline/cmdline_cirbuf.h b/lib/cmdline/cmdline_cirbuf.h
index c23b211ad4..c58fdabf00 100644
--- a/lib/cmdline/cmdline_cirbuf.h
+++ b/lib/cmdline/cmdline_cirbuf.h
@@ -7,7 +7,6 @@
 #ifndef _CIRBUF_H_
 #define _CIRBUF_H_
 
-#include <rte_config.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/lib/cmdline/cmdline_parse_num.c b/lib/cmdline/cmdline_parse_num.c
index b37dd94ae9..820af071fb 100644
--- a/lib/cmdline/cmdline_parse_num.c
+++ b/lib/cmdline/cmdline_parse_num.c
@@ -7,10 +7,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <inttypes.h>
-#include <ctype.h>
 #include <string.h>
-#include <stdarg.h>
-#include <errno.h>
 #include <rte_string_fns.h>
 
 #include "cmdline_parse.h"
diff --git a/lib/cmdline/cmdline_socket.c b/lib/cmdline/cmdline_socket.c
index ebd5343754..78fb67c474 100644
--- a/lib/cmdline/cmdline_socket.c
+++ b/lib/cmdline/cmdline_socket.c
@@ -5,11 +5,7 @@
  */
 
 #include <stdio.h>
-#include <string.h>
 #include <unistd.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <inttypes.h>
 #include <fcntl.h>
 
 #include "cmdline.h"
diff --git a/lib/cmdline/cmdline_socket.h b/lib/cmdline/cmdline_socket.h
index 80542e5599..a9c4ea26ad 100644
--- a/lib/cmdline/cmdline_socket.h
+++ b/lib/cmdline/cmdline_socket.h
@@ -8,7 +8,6 @@
 #define _CMDLINE_SOCKET_H_
 
 #include <cmdline_parse.h>
-#include <cmdline.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 02/19] eal: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 01/19] cmdline: remove unneeded header includes Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 03/19] ethdev: " Sean Morrissey
                     ` (17 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Anatoly Burakov; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/eal/common/eal_common_config.c | 1 -
 lib/eal/common/eal_common_launch.c | 1 -
 lib/eal/common/eal_common_log.c    | 1 -
 lib/eal/linux/eal.c                | 1 -
 lib/eal/linux/eal_thread.c         | 6 ------
 lib/eal/linux/eal_vfio.c           | 1 -
 lib/eal/unix/eal_filesystem.c      | 2 --
 7 files changed, 13 deletions(-)

diff --git a/lib/eal/common/eal_common_config.c b/lib/eal/common/eal_common_config.c
index 3cef43a4f7..0daf0f3188 100644
--- a/lib/eal/common/eal_common_config.c
+++ b/lib/eal/common/eal_common_config.c
@@ -1,7 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright(c) 2020 Mellanox Technologies, Ltd
  */
-#include <string.h>
 
 #include <rte_string_fns.h>
 
diff --git a/lib/eal/common/eal_common_launch.c b/lib/eal/common/eal_common_launch.c
index 992f8e4631..462c886e30 100644
--- a/lib/eal/common/eal_common_launch.c
+++ b/lib/eal/common/eal_common_launch.c
@@ -6,7 +6,6 @@
 
 #include <rte_launch.h>
 #include <rte_eal_trace.h>
-#include <rte_atomic.h>
 #include <rte_pause.h>
 #include <rte_lcore.h>
 
diff --git a/lib/eal/common/eal_common_log.c b/lib/eal/common/eal_common_log.c
index d57dca9785..bd7b188ceb 100644
--- a/lib/eal/common/eal_common_log.c
+++ b/lib/eal/common/eal_common_log.c
@@ -13,7 +13,6 @@
 #include <sys/queue.h>
 
 #include <rte_log.h>
-#include <rte_os_shim.h>
 #include <rte_per_lcore.h>
 
 #include "eal_log.h"
diff --git a/lib/eal/linux/eal.c b/lib/eal/linux/eal.c
index 1ef263434a..1390b6cf47 100644
--- a/lib/eal/linux/eal.c
+++ b/lib/eal/linux/eal.c
@@ -34,7 +34,6 @@
 #include <rte_service_component.h>
 #include <rte_log.h>
 #include <rte_string_fns.h>
-#include <rte_cpuflags.h>
 #include <rte_bus.h>
 #include <rte_version.h>
 #include <malloc_heap.h>
diff --git a/lib/eal/linux/eal_thread.c b/lib/eal/linux/eal_thread.c
index 820cc905e0..e9294127d1 100644
--- a/lib/eal/linux/eal_thread.c
+++ b/lib/eal/linux/eal_thread.c
@@ -4,20 +4,14 @@
 
 #include <errno.h>
 #include <stdio.h>
-#include <stdint.h>
 #include <unistd.h>
 #include <pthread.h>
 #include <sys/syscall.h>
 
-#include <rte_debug.h>
-#include <rte_launch.h>
-#include <rte_log.h>
 #include <rte_eal.h>
 #include <rte_lcore.h>
 #include <rte_string_fns.h>
 
-#include "eal_private.h"
-#include "eal_thread.h"
 
 /* require calling thread tid by gettid() */
 int rte_sys_gettid(void)
diff --git a/lib/eal/linux/eal_vfio.c b/lib/eal/linux/eal_vfio.c
index 549b86ae1d..c4fd7d63b0 100644
--- a/lib/eal/linux/eal_vfio.c
+++ b/lib/eal/linux/eal_vfio.c
@@ -15,7 +15,6 @@
 #include <rte_vfio.h>
 
 #include "eal_filesystem.h"
-#include "eal_memcfg.h"
 #include "eal_vfio.h"
 #include "eal_private.h"
 #include "eal_internal_cfg.h"
diff --git a/lib/eal/unix/eal_filesystem.c b/lib/eal/unix/eal_filesystem.c
index 094a2bf7e4..afbab9368a 100644
--- a/lib/eal/unix/eal_filesystem.c
+++ b/lib/eal/unix/eal_filesystem.c
@@ -10,10 +10,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
-#include <sys/types.h>
 #include <unistd.h>
 
-#include <rte_common.h>
 #include <rte_log.h>
 
 #include "eal_private.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 03/19] ethdev: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 01/19] cmdline: remove unneeded header includes Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 02/19] eal: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 04/19] gpudev: " Sean Morrissey
                     ` (16 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Thomas Monjalon, Ferruh Yigit, Andrew Rybchenko, Ori Kam,
	Cristian Dumitrescu
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/ethdev/rte_class_eth.c | 2 --
 lib/ethdev/rte_ethdev.c    | 9 ---------
 lib/ethdev/rte_ethdev.h    | 1 -
 lib/ethdev/rte_flow.c      | 2 --
 lib/ethdev/rte_flow.h      | 3 ---
 lib/ethdev/rte_mtr.c       | 1 -
 6 files changed, 18 deletions(-)

diff --git a/lib/ethdev/rte_class_eth.c b/lib/ethdev/rte_class_eth.c
index c8e8fc9244..3be84dd45c 100644
--- a/lib/ethdev/rte_class_eth.c
+++ b/lib/ethdev/rte_class_eth.c
@@ -5,13 +5,11 @@
 #include <string.h>
 
 #include <rte_class.h>
-#include <rte_compat.h>
 #include <rte_errno.h>
 #include <rte_kvargs.h>
 #include <rte_log.h>
 
 #include "rte_ethdev.h"
-#include "rte_ethdev_core.h"
 #include "ethdev_driver.h"
 #include "ethdev_private.h"
 
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index 90e50eb02b..1979dc0850 100644
--- a/lib/ethdev/rte_ethdev.c
+++ b/lib/ethdev/rte_ethdev.c
@@ -11,18 +11,9 @@
 #include <string.h>
 #include <sys/queue.h>
 
-#include <rte_byteorder.h>
 #include <rte_log.h>
-#include <rte_debug.h>
 #include <rte_interrupts.h>
-#include <rte_memory.h>
 #include <rte_memcpy.h>
-#include <rte_memzone.h>
-#include <rte_launch.h>
-#include <rte_eal.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
-#include <rte_branch_prediction.h>
 #include <rte_common.h>
 #include <rte_mempool.h>
 #include <rte_malloc.h>
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index 045ee64747..de9e970d4d 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -169,7 +169,6 @@ extern "C" {
 #include <rte_errno.h>
 #include <rte_common.h>
 #include <rte_config.h>
-#include <rte_ether.h>
 #include <rte_power_intrinsics.h>
 
 #include "rte_ethdev_trace_fp.h"
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c
index 2c35a2f13e..501be9d602 100644
--- a/lib/ethdev/rte_flow.c
+++ b/lib/ethdev/rte_flow.c
@@ -6,13 +6,11 @@
 #include <errno.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <string.h>
 
 #include <rte_common.h>
 #include <rte_errno.h>
 #include <rte_branch_prediction.h>
 #include <rte_string_fns.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include "rte_ethdev.h"
 #include "rte_flow_driver.h"
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index 1b56f23cba..a79f1e7ef0 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -17,7 +17,6 @@
 #include <stddef.h>
 #include <stdint.h>
 
-#include <rte_arp.h>
 #include <rte_common.h>
 #include <rte_ether.h>
 #include <rte_icmp.h>
@@ -26,12 +25,10 @@
 #include <rte_tcp.h>
 #include <rte_udp.h>
 #include <rte_vxlan.h>
-#include <rte_byteorder.h>
 #include <rte_esp.h>
 #include <rte_higig.h>
 #include <rte_ecpri.h>
 #include <rte_bitops.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include <rte_meter.h>
 #include <rte_gtp.h>
diff --git a/lib/ethdev/rte_mtr.c b/lib/ethdev/rte_mtr.c
index 441ea1dca9..c460e4f4e0 100644
--- a/lib/ethdev/rte_mtr.c
+++ b/lib/ethdev/rte_mtr.c
@@ -5,7 +5,6 @@
 #include <stdint.h>
 
 #include <rte_errno.h>
-#include "rte_compat.h"
 #include "rte_ethdev.h"
 #include "rte_mtr_driver.h"
 #include "rte_mtr.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 04/19] gpudev: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (2 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 03/19] ethdev: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 05/19] gso: " Sean Morrissey
                     ` (15 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Elena Agostini; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gpudev/gpudev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c
index 56033f4a5f..ee3ae80f82 100644
--- a/lib/gpudev/gpudev.c
+++ b/lib/gpudev/gpudev.c
@@ -9,7 +9,6 @@
 #include <rte_malloc.h>
 #include <rte_errno.h>
 #include <rte_log.h>
-#include <rte_eal_paging.h>
 
 #include "rte_gpudev.h"
 #include "gpudev_driver.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 05/19] gso: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (3 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 04/19] gpudev: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 06/19] hash: " Sean Morrissey
                     ` (14 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Jiayu Hu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gso/gso_common.c      | 1 -
 lib/gso/gso_common.h      | 1 -
 lib/gso/gso_tcp4.h        | 1 -
 lib/gso/gso_tunnel_tcp4.h | 1 -
 lib/gso/gso_tunnel_udp4.h | 1 -
 lib/gso/gso_udp4.h        | 1 -
 6 files changed, 6 deletions(-)

diff --git a/lib/gso/gso_common.c b/lib/gso/gso_common.c
index 0fad1132fc..378bf2c6aa 100644
--- a/lib/gso/gso_common.c
+++ b/lib/gso/gso_common.c
@@ -6,7 +6,6 @@
 #include <errno.h>
 
 #include <rte_memcpy.h>
-#include <rte_mempool.h>
 
 #include "gso_common.h"
 
diff --git a/lib/gso/gso_common.h b/lib/gso/gso_common.h
index 2c258b22bf..9456d596d3 100644
--- a/lib/gso/gso_common.h
+++ b/lib/gso/gso_common.h
@@ -7,7 +7,6 @@
 
 #include <stdint.h>
 
-#include <rte_mbuf.h>
 #include <rte_ip.h>
 #include <rte_tcp.h>
 #include <rte_udp.h>
diff --git a/lib/gso/gso_tcp4.h b/lib/gso/gso_tcp4.h
index 10d4b3acdd..7527fa51c9 100644
--- a/lib/gso/gso_tcp4.h
+++ b/lib/gso/gso_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an IPv4/TCP packet. This function doesn't check if the input
diff --git a/lib/gso/gso_tunnel_tcp4.h b/lib/gso/gso_tunnel_tcp4.h
index c522ed27f2..3a7ea238c8 100644
--- a/lib/gso/gso_tunnel_tcp4.h
+++ b/lib/gso/gso_tunnel_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner TCP/IPv4 headers. This function
diff --git a/lib/gso/gso_tunnel_udp4.h b/lib/gso/gso_tunnel_udp4.h
index c49b43fe3e..214a69ccd5 100644
--- a/lib/gso/gso_tunnel_udp4.h
+++ b/lib/gso/gso_tunnel_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner UDP/IPv4 headers. This function
diff --git a/lib/gso/gso_udp4.h b/lib/gso/gso_udp4.h
index b2a2908e54..8baa0ba6db 100644
--- a/lib/gso/gso_udp4.h
+++ b/lib/gso/gso_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an UDP/IPv4 packet. This function doesn't check if the input
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 06/19] hash: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (4 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 05/19] gso: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 07/19] ip_frag: " Sean Morrissey
                     ` (13 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Yipeng Wang, Sameh Gobriel, Bruce Richardson, Vladimir Medvedkin
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/hash/rte_cuckoo_hash.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c
index 490f94af4b..de7d941638 100644
--- a/lib/hash/rte_cuckoo_hash.c
+++ b/lib/hash/rte_cuckoo_hash.c
@@ -10,7 +10,6 @@
 #include <sys/queue.h>
 
 #include <rte_common.h>
-#include <rte_memory.h>         /* for definition of RTE_CACHE_LINE_SIZE */
 #include <rte_log.h>
 #include <rte_prefetch.h>
 #include <rte_branch_prediction.h>
@@ -21,8 +20,6 @@
 #include <rte_cpuflags.h>
 #include <rte_rwlock.h>
 #include <rte_ring_elem.h>
-#include <rte_compat.h>
-#include <rte_vect.h>
 #include <rte_tailq.h>
 
 #include "rte_hash.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 07/19] ip_frag: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (5 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 06/19] hash: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 08/19] jobstats: " Sean Morrissey
                     ` (12 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Konstantin Ananyev; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/ip_frag/ip_frag_internal.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/ip_frag/ip_frag_internal.c b/lib/ip_frag/ip_frag_internal.c
index b436a4c931..043b0ffba3 100644
--- a/lib/ip_frag/ip_frag_internal.c
+++ b/lib/ip_frag/ip_frag_internal.c
@@ -4,7 +4,6 @@
 
 #include <stddef.h>
 
-#include <rte_jhash.h>
 #include <rte_hash_crc.h>
 
 #include "ip_frag_common.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 08/19] jobstats: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (6 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 07/19] ip_frag: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 09/19] mempool: " Sean Morrissey
                     ` (11 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/jobstats/rte_jobstats.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/jobstats/rte_jobstats.h b/lib/jobstats/rte_jobstats.h
index 023d9dd15c..45b460e603 100644
--- a/lib/jobstats/rte_jobstats.h
+++ b/lib/jobstats/rte_jobstats.h
@@ -8,7 +8,6 @@
 #include <stdint.h>
 
 #include <rte_memory.h>
-#include <rte_memcpy.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 09/19] mempool: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (7 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 08/19] jobstats: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 10/19] meter: " Sean Morrissey
                     ` (10 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Olivier Matz, Andrew Rybchenko; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/mempool/rte_mempool.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h
index 3ada37cb86..8d6554fbae 100644
--- a/lib/mempool/rte_mempool.h
+++ b/lib/mempool/rte_mempool.h
@@ -38,7 +38,6 @@
 #include <inttypes.h>
 
 #include <rte_config.h>
-#include <rte_spinlock.h>
 #include <rte_debug.h>
 #include <rte_lcore.h>
 #include <rte_branch_prediction.h>
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 10/19] meter: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (8 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 09/19] mempool: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 11/19] net: " Sean Morrissey
                     ` (9 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/meter/rte_meter.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/meter/rte_meter.c b/lib/meter/rte_meter.c
index da01429a8b..4549b97d36 100644
--- a/lib/meter/rte_meter.c
+++ b/lib/meter/rte_meter.c
@@ -2,12 +2,9 @@
  * Copyright(c) 2010-2014 Intel Corporation
  */
 
-#include <inttypes.h>
 #include <stdio.h>
 #include <math.h>
 
-#include <rte_common.h>
-#include <rte_log.h>
 #include <rte_cycles.h>
 
 #include "rte_meter.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 11/19] net: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (9 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 10/19] meter: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 12/19] power: " Sean Morrissey
                     ` (8 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/net/rte_net.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h
index 53a7f4d360..56611fc8f9 100644
--- a/lib/net/rte_net.h
+++ b/lib/net/rte_net.h
@@ -12,7 +12,6 @@ extern "C" {
 #include <rte_ip.h>
 #include <rte_udp.h>
 #include <rte_tcp.h>
-#include <rte_sctp.h>
 
 /**
  * Structure containing header lengths associated to a packet, filled
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 12/19] power: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (10 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 11/19] net: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 13/19] rawdev: " Sean Morrissey
                     ` (7 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: David Hunt; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/power/power_pstate_cpufreq.c | 1 -
 lib/power/rte_power_empty_poll.h | 3 ---
 lib/power/rte_power_pmd_mgmt.c   | 2 --
 lib/power/rte_power_pmd_mgmt.h   | 5 -----
 4 files changed, 11 deletions(-)

diff --git a/lib/power/power_pstate_cpufreq.c b/lib/power/power_pstate_cpufreq.c
index 78c9197695..fc258157a8 100644
--- a/lib/power/power_pstate_cpufreq.c
+++ b/lib/power/power_pstate_cpufreq.c
@@ -8,7 +8,6 @@
 #include <unistd.h>
 #include <limits.h>
 #include <errno.h>
-#include <inttypes.h>
 
 #include <rte_memcpy.h>
 
diff --git a/lib/power/rte_power_empty_poll.h b/lib/power/rte_power_empty_poll.h
index 43fb276077..f6306fdcdf 100644
--- a/lib/power/rte_power_empty_poll.h
+++ b/lib/power/rte_power_empty_poll.h
@@ -13,10 +13,7 @@
 #include <stdbool.h>
 
 #include <rte_common.h>
-#include <rte_byteorder.h>
-#include <rte_log.h>
 #include <rte_string_fns.h>
-#include <rte_power.h>
 #include <rte_timer.h>
 
 #ifdef __cplusplus
diff --git a/lib/power/rte_power_pmd_mgmt.c b/lib/power/rte_power_pmd_mgmt.c
index a66e08e574..7f445479bb 100644
--- a/lib/power/rte_power_pmd_mgmt.c
+++ b/lib/power/rte_power_pmd_mgmt.c
@@ -4,10 +4,8 @@
 
 #include <rte_lcore.h>
 #include <rte_cycles.h>
-#include <rte_cpuflags.h>
 #include <rte_malloc.h>
 #include <rte_ethdev.h>
-#include <rte_power_intrinsics.h>
 
 #include "rte_power_pmd_mgmt.h"
 #include "power_common.h"
diff --git a/lib/power/rte_power_pmd_mgmt.h b/lib/power/rte_power_pmd_mgmt.h
index 789fbe0e4d..c5a420861c 100644
--- a/lib/power/rte_power_pmd_mgmt.h
+++ b/lib/power/rte_power_pmd_mgmt.h
@@ -11,13 +11,8 @@
  */
 
 #include <stdint.h>
-#include <stdbool.h>
 
-#include <rte_common.h>
-#include <rte_byteorder.h>
-#include <rte_log.h>
 #include <rte_power.h>
-#include <rte_atomic.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 13/19] rawdev: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (11 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 12/19] power: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-17  4:21     ` Hemant Agrawal
  2022-06-16 15:17   ` [PATCH v2 14/19] regexdev: " Sean Morrissey
                     ` (6 subsequent siblings)
  19 siblings, 1 reply; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Sachin Saxena, Hemant Agrawal; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/rawdev/rte_rawdev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h
index 14e8eb972f..66080eae9e 100644
--- a/lib/rawdev/rte_rawdev.h
+++ b/lib/rawdev/rte_rawdev.h
@@ -20,7 +20,6 @@ extern "C" {
 
 #include <rte_common.h>
 #include <rte_memory.h>
-#include <rte_errno.h>
 
 /* Rawdevice object - essentially a void to be typecast by implementation */
 typedef void *rte_rawdev_obj_t;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 14/19] regexdev: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (12 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 13/19] rawdev: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 15/19] sched: " Sean Morrissey
                     ` (5 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Ori Kam; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/regexdev/rte_regexdev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/regexdev/rte_regexdev.h b/lib/regexdev/rte_regexdev.h
index 3bce8090f6..ce3dba5c10 100644
--- a/lib/regexdev/rte_regexdev.h
+++ b/lib/regexdev/rte_regexdev.h
@@ -200,7 +200,6 @@ extern "C" {
 
 #include <rte_common.h>
 #include <rte_dev.h>
-#include <rte_mbuf.h>
 
 #define RTE_REGEXDEV_NAME_MAX_LEN RTE_DEV_NAME_MAX_LEN
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 15/19] sched: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (13 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 14/19] regexdev: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 16/19] stack: " Sean Morrissey
                     ` (4 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Cristian Dumitrescu, Jasvinder Singh; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/sched/rte_pie.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/sched/rte_pie.c b/lib/sched/rte_pie.c
index d37b79e6dd..c84f75a18c 100644
--- a/lib/sched/rte_pie.c
+++ b/lib/sched/rte_pie.c
@@ -6,7 +6,6 @@
 #include <string.h>
 
 #include "rte_pie.h"
-#include <rte_malloc.h>
 
 #ifdef __INTEL_COMPILER
 #pragma warning(disable:2259) /* conversion may lose significant bits */
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 16/19] stack: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (14 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 15/19] sched: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 17/19] table: " Sean Morrissey
                     ` (3 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/stack/rte_stack.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stack.h
index 91fc570767..af8c3804f3 100644
--- a/lib/stack/rte_stack.h
+++ b/lib/stack/rte_stack.h
@@ -22,7 +22,6 @@ extern "C" {
 #include <rte_debug.h>
 #include <rte_errno.h>
 #include <rte_memzone.h>
-#include <rte_spinlock.h>
 
 #define RTE_TAILQ_STACK_NAME "RTE_STACK"
 #define RTE_STACK_MZ_PREFIX "STK_"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 17/19] table: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (15 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 16/19] stack: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 18/19] timer: " Sean Morrissey
                     ` (2 subsequent siblings)
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/table/rte_swx_table_learner.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/table/rte_swx_table_learner.c b/lib/table/rte_swx_table_learner.c
index f7f8e8aea9..3502cbd2a4 100644
--- a/lib/table/rte_swx_table_learner.c
+++ b/lib/table/rte_swx_table_learner.c
@@ -6,7 +6,6 @@
 #include <errno.h>
 
 #include <rte_common.h>
-#include <rte_cycles.h>
 #include <rte_prefetch.h>
 
 #include "rte_swx_table_learner.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 18/19] timer: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (16 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 17/19] table: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-16 15:17   ` [PATCH v2 19/19] vhost: " Sean Morrissey
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Erik Gabriel Carrillo; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/timer/rte_timer.c | 2 --
 lib/timer/rte_timer.h | 2 --
 2 files changed, 4 deletions(-)

diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c
index c51a393e5c..d914fcbf60 100644
--- a/lib/timer/rte_timer.c
+++ b/lib/timer/rte_timer.c
@@ -7,10 +7,8 @@
 #include <stdbool.h>
 #include <inttypes.h>
 #include <assert.h>
-#include <sys/queue.h>
 
 #include <rte_common.h>
-#include <rte_cycles.h>
 #include <rte_eal_memconfig.h>
 #include <rte_memory.h>
 #include <rte_lcore.h>
diff --git a/lib/timer/rte_timer.h b/lib/timer/rte_timer.h
index 0f820555c0..503438a36b 100644
--- a/lib/timer/rte_timer.h
+++ b/lib/timer/rte_timer.h
@@ -36,9 +36,7 @@
 
 #include <stdio.h>
 #include <stdint.h>
-#include <stddef.h>
 #include <rte_common.h>
-#include <rte_config.h>
 #include <rte_spinlock.h>
 
 #ifdef __cplusplus
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v2 19/19] vhost: remove unneeded header includes
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (17 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 18/19] timer: " Sean Morrissey
@ 2022-06-16 15:17   ` Sean Morrissey
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
  19 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-16 15:17 UTC (permalink / raw)
  To: Maxime Coquelin, Chenbo Xia; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/vhost/vhost.h      | 2 --
 lib/vhost/vhost_user.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h
index 14235aaf81..4ebcb7448a 100644
--- a/lib/vhost/vhost.h
+++ b/lib/vhost/vhost.h
@@ -7,10 +7,8 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <stdbool.h>
-#include <sys/types.h>
 #include <sys/queue.h>
 #include <unistd.h>
-#include <linux/vhost.h>
 #include <linux/virtio_net.h>
 #include <sys/socket.h>
 #include <linux/if.h>
diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h
index c4d091e175..8ecca68597 100644
--- a/lib/vhost/vhost_user.h
+++ b/lib/vhost/vhost_user.h
@@ -6,7 +6,6 @@
 #define _VHOST_NET_USER_H
 
 #include <stdint.h>
-#include <linux/vhost.h>
 
 #include "rte_vhost.h"
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* RE: [PATCH v2 13/19] rawdev: remove unneeded header includes
  2022-06-16 15:17   ` [PATCH v2 13/19] rawdev: " Sean Morrissey
@ 2022-06-17  4:21     ` Hemant Agrawal
  0 siblings, 0 replies; 82+ messages in thread
From: Hemant Agrawal @ 2022-06-17  4:21 UTC (permalink / raw)
  To: Sean Morrissey, Sachin Saxena (OSS); +Cc: dev

Acked-by:  Hemant Agrawal <hemant.agrawal@nxp.com>

> -----Original Message-----
> From: Sean Morrissey <sean.morrissey@intel.com>
> Sent: Thursday, June 16, 2022 8:47 PM
> To: Sachin Saxena (OSS) <sachin.saxena@oss.nxp.com>; Hemant Agrawal
> <hemant.agrawal@nxp.com>
> Cc: dev@dpdk.org; Sean Morrissey <sean.morrissey@intel.com>
> Subject: [PATCH v2 13/19] rawdev: remove unneeded header includes
> Importance: High
> 
> These header includes have been flagged by the iwyu_tool and removed.
> 
> Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
> ---
>  lib/rawdev/rte_rawdev.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h index
> 14e8eb972f..66080eae9e 100644
> --- a/lib/rawdev/rte_rawdev.h
> +++ b/lib/rawdev/rte_rawdev.h
> @@ -20,7 +20,6 @@ extern "C" {
> 
>  #include <rte_common.h>
>  #include <rte_memory.h>
> -#include <rte_errno.h>
> 
>  /* Rawdevice object - essentially a void to be typecast by implementation */
> typedef void *rte_rawdev_obj_t;
> --
> 2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 00/18] remove IWYU flagged headers
  2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
                     ` (18 preceding siblings ...)
  2022-06-16 15:17   ` [PATCH v2 19/19] vhost: " Sean Morrissey
@ 2022-06-17 19:08   ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 01/18] cmdline: remove unneeded header includes Sean Morrissey
                       ` (18 more replies)
  19 siblings, 19 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

This patchset removes unused header includes flagged
by the IWYU tool for the 22.07 release.

V3:
* Fix more linux build issues.
V2:
* Fix various build issues.

Sean Morrissey (18):
  cmdline: remove unneeded header includes
  eal: remove unneeded header includes
  ethdev: remove unneeded header includes
  gpudev: remove unneeded header includes
  gso: remove unneeded header includes
  hash: remove unneeded header includes
  ip_frag: remove unneeded header includes
  jobstats: remove unneeded header includes
  meter: remove unneeded header includes
  net: remove unneeded header includes
  power: remove unneeded header includes
  rawdev: remove unneeded header includes
  regexdev: remove unneeded header includes
  sched: remove unneeded header includes
  stack: remove unneeded header includes
  table: remove unneeded header includes
  timer: remove unneeded header includes
  vhost: remove unneeded header includes

 lib/cmdline/cmdline_cirbuf.h       | 1 -
 lib/cmdline/cmdline_parse_num.c    | 3 ---
 lib/cmdline/cmdline_socket.c       | 4 ----
 lib/cmdline/cmdline_socket.h       | 1 -
 lib/eal/common/eal_common_config.c | 1 -
 lib/eal/common/eal_common_launch.c | 1 -
 lib/eal/common/eal_common_log.c    | 1 -
 lib/eal/linux/eal_thread.c         | 6 ------
 lib/eal/unix/eal_filesystem.c      | 2 --
 lib/ethdev/rte_class_eth.c         | 2 --
 lib/ethdev/rte_ethdev.c            | 9 ---------
 lib/ethdev/rte_ethdev.h            | 1 -
 lib/ethdev/rte_flow.c              | 2 --
 lib/ethdev/rte_flow.h              | 3 ---
 lib/ethdev/rte_mtr.c               | 1 -
 lib/gpudev/gpudev.c                | 1 -
 lib/gso/gso_common.c               | 1 -
 lib/gso/gso_common.h               | 1 -
 lib/gso/gso_tcp4.h                 | 1 -
 lib/gso/gso_tunnel_tcp4.h          | 1 -
 lib/gso/gso_tunnel_udp4.h          | 1 -
 lib/gso/gso_udp4.h                 | 1 -
 lib/hash/rte_cuckoo_hash.c         | 3 ---
 lib/ip_frag/ip_frag_internal.c     | 1 -
 lib/jobstats/rte_jobstats.h        | 1 -
 lib/meter/rte_meter.c              | 3 ---
 lib/net/rte_net.h                  | 1 -
 lib/power/rte_power_empty_poll.h   | 3 ---
 lib/power/rte_power_pmd_mgmt.c     | 2 --
 lib/power/rte_power_pmd_mgmt.h     | 4 ----
 lib/rawdev/rte_rawdev.h            | 1 -
 lib/regexdev/rte_regexdev.h        | 1 -
 lib/sched/rte_pie.c                | 1 -
 lib/stack/rte_stack.h              | 1 -
 lib/table/rte_swx_table_learner.c  | 1 -
 lib/timer/rte_timer.c              | 2 --
 lib/timer/rte_timer.h              | 2 --
 lib/vhost/vhost.h                  | 2 --
 lib/vhost/vhost_user.h             | 1 -
 39 files changed, 75 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 01/18] cmdline: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 02/18] eal: " Sean Morrissey
                       ` (17 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/cmdline/cmdline_cirbuf.h    | 1 -
 lib/cmdline/cmdline_parse_num.c | 3 ---
 lib/cmdline/cmdline_socket.c    | 4 ----
 lib/cmdline/cmdline_socket.h    | 1 -
 4 files changed, 9 deletions(-)

diff --git a/lib/cmdline/cmdline_cirbuf.h b/lib/cmdline/cmdline_cirbuf.h
index c23b211ad4..c58fdabf00 100644
--- a/lib/cmdline/cmdline_cirbuf.h
+++ b/lib/cmdline/cmdline_cirbuf.h
@@ -7,7 +7,6 @@
 #ifndef _CIRBUF_H_
 #define _CIRBUF_H_
 
-#include <rte_config.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/lib/cmdline/cmdline_parse_num.c b/lib/cmdline/cmdline_parse_num.c
index b37dd94ae9..820af071fb 100644
--- a/lib/cmdline/cmdline_parse_num.c
+++ b/lib/cmdline/cmdline_parse_num.c
@@ -7,10 +7,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <inttypes.h>
-#include <ctype.h>
 #include <string.h>
-#include <stdarg.h>
-#include <errno.h>
 #include <rte_string_fns.h>
 
 #include "cmdline_parse.h"
diff --git a/lib/cmdline/cmdline_socket.c b/lib/cmdline/cmdline_socket.c
index ebd5343754..78fb67c474 100644
--- a/lib/cmdline/cmdline_socket.c
+++ b/lib/cmdline/cmdline_socket.c
@@ -5,11 +5,7 @@
  */
 
 #include <stdio.h>
-#include <string.h>
 #include <unistd.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <inttypes.h>
 #include <fcntl.h>
 
 #include "cmdline.h"
diff --git a/lib/cmdline/cmdline_socket.h b/lib/cmdline/cmdline_socket.h
index 80542e5599..a9c4ea26ad 100644
--- a/lib/cmdline/cmdline_socket.h
+++ b/lib/cmdline/cmdline_socket.h
@@ -8,7 +8,6 @@
 #define _CMDLINE_SOCKET_H_
 
 #include <cmdline_parse.h>
-#include <cmdline.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 02/18] eal: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 01/18] cmdline: remove unneeded header includes Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 03/18] ethdev: " Sean Morrissey
                       ` (16 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/eal/common/eal_common_config.c | 1 -
 lib/eal/common/eal_common_launch.c | 1 -
 lib/eal/common/eal_common_log.c    | 1 -
 lib/eal/linux/eal_thread.c         | 6 ------
 lib/eal/unix/eal_filesystem.c      | 2 --
 5 files changed, 11 deletions(-)

diff --git a/lib/eal/common/eal_common_config.c b/lib/eal/common/eal_common_config.c
index 3cef43a4f7..0daf0f3188 100644
--- a/lib/eal/common/eal_common_config.c
+++ b/lib/eal/common/eal_common_config.c
@@ -1,7 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright(c) 2020 Mellanox Technologies, Ltd
  */
-#include <string.h>
 
 #include <rte_string_fns.h>
 
diff --git a/lib/eal/common/eal_common_launch.c b/lib/eal/common/eal_common_launch.c
index 992f8e4631..462c886e30 100644
--- a/lib/eal/common/eal_common_launch.c
+++ b/lib/eal/common/eal_common_launch.c
@@ -6,7 +6,6 @@
 
 #include <rte_launch.h>
 #include <rte_eal_trace.h>
-#include <rte_atomic.h>
 #include <rte_pause.h>
 #include <rte_lcore.h>
 
diff --git a/lib/eal/common/eal_common_log.c b/lib/eal/common/eal_common_log.c
index d57dca9785..bd7b188ceb 100644
--- a/lib/eal/common/eal_common_log.c
+++ b/lib/eal/common/eal_common_log.c
@@ -13,7 +13,6 @@
 #include <sys/queue.h>
 
 #include <rte_log.h>
-#include <rte_os_shim.h>
 #include <rte_per_lcore.h>
 
 #include "eal_log.h"
diff --git a/lib/eal/linux/eal_thread.c b/lib/eal/linux/eal_thread.c
index 820cc905e0..e9294127d1 100644
--- a/lib/eal/linux/eal_thread.c
+++ b/lib/eal/linux/eal_thread.c
@@ -4,20 +4,14 @@
 
 #include <errno.h>
 #include <stdio.h>
-#include <stdint.h>
 #include <unistd.h>
 #include <pthread.h>
 #include <sys/syscall.h>
 
-#include <rte_debug.h>
-#include <rte_launch.h>
-#include <rte_log.h>
 #include <rte_eal.h>
 #include <rte_lcore.h>
 #include <rte_string_fns.h>
 
-#include "eal_private.h"
-#include "eal_thread.h"
 
 /* require calling thread tid by gettid() */
 int rte_sys_gettid(void)
diff --git a/lib/eal/unix/eal_filesystem.c b/lib/eal/unix/eal_filesystem.c
index 094a2bf7e4..afbab9368a 100644
--- a/lib/eal/unix/eal_filesystem.c
+++ b/lib/eal/unix/eal_filesystem.c
@@ -10,10 +10,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
-#include <sys/types.h>
 #include <unistd.h>
 
-#include <rte_common.h>
 #include <rte_log.h>
 
 #include "eal_private.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 03/18] ethdev: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 01/18] cmdline: remove unneeded header includes Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 02/18] eal: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 04/18] gpudev: " Sean Morrissey
                       ` (15 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Thomas Monjalon, Ferruh Yigit, Andrew Rybchenko, Ori Kam,
	Cristian Dumitrescu
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/ethdev/rte_class_eth.c | 2 --
 lib/ethdev/rte_ethdev.c    | 9 ---------
 lib/ethdev/rte_ethdev.h    | 1 -
 lib/ethdev/rte_flow.c      | 2 --
 lib/ethdev/rte_flow.h      | 3 ---
 lib/ethdev/rte_mtr.c       | 1 -
 6 files changed, 18 deletions(-)

diff --git a/lib/ethdev/rte_class_eth.c b/lib/ethdev/rte_class_eth.c
index c8e8fc9244..3be84dd45c 100644
--- a/lib/ethdev/rte_class_eth.c
+++ b/lib/ethdev/rte_class_eth.c
@@ -5,13 +5,11 @@
 #include <string.h>
 
 #include <rte_class.h>
-#include <rte_compat.h>
 #include <rte_errno.h>
 #include <rte_kvargs.h>
 #include <rte_log.h>
 
 #include "rte_ethdev.h"
-#include "rte_ethdev_core.h"
 #include "ethdev_driver.h"
 #include "ethdev_private.h"
 
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index 90e50eb02b..1979dc0850 100644
--- a/lib/ethdev/rte_ethdev.c
+++ b/lib/ethdev/rte_ethdev.c
@@ -11,18 +11,9 @@
 #include <string.h>
 #include <sys/queue.h>
 
-#include <rte_byteorder.h>
 #include <rte_log.h>
-#include <rte_debug.h>
 #include <rte_interrupts.h>
-#include <rte_memory.h>
 #include <rte_memcpy.h>
-#include <rte_memzone.h>
-#include <rte_launch.h>
-#include <rte_eal.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
-#include <rte_branch_prediction.h>
 #include <rte_common.h>
 #include <rte_mempool.h>
 #include <rte_malloc.h>
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index 045ee64747..de9e970d4d 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -169,7 +169,6 @@ extern "C" {
 #include <rte_errno.h>
 #include <rte_common.h>
 #include <rte_config.h>
-#include <rte_ether.h>
 #include <rte_power_intrinsics.h>
 
 #include "rte_ethdev_trace_fp.h"
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c
index 2c35a2f13e..501be9d602 100644
--- a/lib/ethdev/rte_flow.c
+++ b/lib/ethdev/rte_flow.c
@@ -6,13 +6,11 @@
 #include <errno.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <string.h>
 
 #include <rte_common.h>
 #include <rte_errno.h>
 #include <rte_branch_prediction.h>
 #include <rte_string_fns.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include "rte_ethdev.h"
 #include "rte_flow_driver.h"
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index 1b56f23cba..a79f1e7ef0 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -17,7 +17,6 @@
 #include <stddef.h>
 #include <stdint.h>
 
-#include <rte_arp.h>
 #include <rte_common.h>
 #include <rte_ether.h>
 #include <rte_icmp.h>
@@ -26,12 +25,10 @@
 #include <rte_tcp.h>
 #include <rte_udp.h>
 #include <rte_vxlan.h>
-#include <rte_byteorder.h>
 #include <rte_esp.h>
 #include <rte_higig.h>
 #include <rte_ecpri.h>
 #include <rte_bitops.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include <rte_meter.h>
 #include <rte_gtp.h>
diff --git a/lib/ethdev/rte_mtr.c b/lib/ethdev/rte_mtr.c
index 441ea1dca9..c460e4f4e0 100644
--- a/lib/ethdev/rte_mtr.c
+++ b/lib/ethdev/rte_mtr.c
@@ -5,7 +5,6 @@
 #include <stdint.h>
 
 #include <rte_errno.h>
-#include "rte_compat.h"
 #include "rte_ethdev.h"
 #include "rte_mtr_driver.h"
 #include "rte_mtr.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 04/18] gpudev: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (2 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 03/18] ethdev: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 05/18] gso: " Sean Morrissey
                       ` (14 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Elena Agostini; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gpudev/gpudev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c
index 56033f4a5f..ee3ae80f82 100644
--- a/lib/gpudev/gpudev.c
+++ b/lib/gpudev/gpudev.c
@@ -9,7 +9,6 @@
 #include <rte_malloc.h>
 #include <rte_errno.h>
 #include <rte_log.h>
-#include <rte_eal_paging.h>
 
 #include "rte_gpudev.h"
 #include "gpudev_driver.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 05/18] gso: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (3 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 04/18] gpudev: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 06/18] hash: " Sean Morrissey
                       ` (13 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Jiayu Hu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gso/gso_common.c      | 1 -
 lib/gso/gso_common.h      | 1 -
 lib/gso/gso_tcp4.h        | 1 -
 lib/gso/gso_tunnel_tcp4.h | 1 -
 lib/gso/gso_tunnel_udp4.h | 1 -
 lib/gso/gso_udp4.h        | 1 -
 6 files changed, 6 deletions(-)

diff --git a/lib/gso/gso_common.c b/lib/gso/gso_common.c
index 0fad1132fc..378bf2c6aa 100644
--- a/lib/gso/gso_common.c
+++ b/lib/gso/gso_common.c
@@ -6,7 +6,6 @@
 #include <errno.h>
 
 #include <rte_memcpy.h>
-#include <rte_mempool.h>
 
 #include "gso_common.h"
 
diff --git a/lib/gso/gso_common.h b/lib/gso/gso_common.h
index 2c258b22bf..9456d596d3 100644
--- a/lib/gso/gso_common.h
+++ b/lib/gso/gso_common.h
@@ -7,7 +7,6 @@
 
 #include <stdint.h>
 
-#include <rte_mbuf.h>
 #include <rte_ip.h>
 #include <rte_tcp.h>
 #include <rte_udp.h>
diff --git a/lib/gso/gso_tcp4.h b/lib/gso/gso_tcp4.h
index 10d4b3acdd..7527fa51c9 100644
--- a/lib/gso/gso_tcp4.h
+++ b/lib/gso/gso_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an IPv4/TCP packet. This function doesn't check if the input
diff --git a/lib/gso/gso_tunnel_tcp4.h b/lib/gso/gso_tunnel_tcp4.h
index c522ed27f2..3a7ea238c8 100644
--- a/lib/gso/gso_tunnel_tcp4.h
+++ b/lib/gso/gso_tunnel_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner TCP/IPv4 headers. This function
diff --git a/lib/gso/gso_tunnel_udp4.h b/lib/gso/gso_tunnel_udp4.h
index c49b43fe3e..214a69ccd5 100644
--- a/lib/gso/gso_tunnel_udp4.h
+++ b/lib/gso/gso_tunnel_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner UDP/IPv4 headers. This function
diff --git a/lib/gso/gso_udp4.h b/lib/gso/gso_udp4.h
index b2a2908e54..8baa0ba6db 100644
--- a/lib/gso/gso_udp4.h
+++ b/lib/gso/gso_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an UDP/IPv4 packet. This function doesn't check if the input
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 06/18] hash: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (4 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 05/18] gso: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 07/18] ip_frag: " Sean Morrissey
                       ` (12 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Yipeng Wang, Sameh Gobriel, Bruce Richardson, Vladimir Medvedkin
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/hash/rte_cuckoo_hash.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c
index 490f94af4b..de7d941638 100644
--- a/lib/hash/rte_cuckoo_hash.c
+++ b/lib/hash/rte_cuckoo_hash.c
@@ -10,7 +10,6 @@
 #include <sys/queue.h>
 
 #include <rte_common.h>
-#include <rte_memory.h>         /* for definition of RTE_CACHE_LINE_SIZE */
 #include <rte_log.h>
 #include <rte_prefetch.h>
 #include <rte_branch_prediction.h>
@@ -21,8 +20,6 @@
 #include <rte_cpuflags.h>
 #include <rte_rwlock.h>
 #include <rte_ring_elem.h>
-#include <rte_compat.h>
-#include <rte_vect.h>
 #include <rte_tailq.h>
 
 #include "rte_hash.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 07/18] ip_frag: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (5 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 06/18] hash: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 08/18] jobstats: " Sean Morrissey
                       ` (11 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Konstantin Ananyev; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/ip_frag/ip_frag_internal.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/ip_frag/ip_frag_internal.c b/lib/ip_frag/ip_frag_internal.c
index b436a4c931..043b0ffba3 100644
--- a/lib/ip_frag/ip_frag_internal.c
+++ b/lib/ip_frag/ip_frag_internal.c
@@ -4,7 +4,6 @@
 
 #include <stddef.h>
 
-#include <rte_jhash.h>
 #include <rte_hash_crc.h>
 
 #include "ip_frag_common.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 08/18] jobstats: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (6 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 07/18] ip_frag: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 09/18] meter: " Sean Morrissey
                       ` (10 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/jobstats/rte_jobstats.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/jobstats/rte_jobstats.h b/lib/jobstats/rte_jobstats.h
index 023d9dd15c..45b460e603 100644
--- a/lib/jobstats/rte_jobstats.h
+++ b/lib/jobstats/rte_jobstats.h
@@ -8,7 +8,6 @@
 #include <stdint.h>
 
 #include <rte_memory.h>
-#include <rte_memcpy.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 09/18] meter: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (7 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 08/18] jobstats: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 10/18] net: " Sean Morrissey
                       ` (9 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/meter/rte_meter.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/meter/rte_meter.c b/lib/meter/rte_meter.c
index da01429a8b..4549b97d36 100644
--- a/lib/meter/rte_meter.c
+++ b/lib/meter/rte_meter.c
@@ -2,12 +2,9 @@
  * Copyright(c) 2010-2014 Intel Corporation
  */
 
-#include <inttypes.h>
 #include <stdio.h>
 #include <math.h>
 
-#include <rte_common.h>
-#include <rte_log.h>
 #include <rte_cycles.h>
 
 #include "rte_meter.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 10/18] net: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (8 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 09/18] meter: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 11/18] power: " Sean Morrissey
                       ` (8 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/net/rte_net.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h
index 53a7f4d360..56611fc8f9 100644
--- a/lib/net/rte_net.h
+++ b/lib/net/rte_net.h
@@ -12,7 +12,6 @@ extern "C" {
 #include <rte_ip.h>
 #include <rte_udp.h>
 #include <rte_tcp.h>
-#include <rte_sctp.h>
 
 /**
  * Structure containing header lengths associated to a packet, filled
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 11/18] power: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (9 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 10/18] net: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 12/18] rawdev: " Sean Morrissey
                       ` (7 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: David Hunt; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/power/rte_power_empty_poll.h | 3 ---
 lib/power/rte_power_pmd_mgmt.c   | 2 --
 lib/power/rte_power_pmd_mgmt.h   | 4 ----
 3 files changed, 9 deletions(-)

diff --git a/lib/power/rte_power_empty_poll.h b/lib/power/rte_power_empty_poll.h
index 43fb276077..f6306fdcdf 100644
--- a/lib/power/rte_power_empty_poll.h
+++ b/lib/power/rte_power_empty_poll.h
@@ -13,10 +13,7 @@
 #include <stdbool.h>
 
 #include <rte_common.h>
-#include <rte_byteorder.h>
-#include <rte_log.h>
 #include <rte_string_fns.h>
-#include <rte_power.h>
 #include <rte_timer.h>
 
 #ifdef __cplusplus
diff --git a/lib/power/rte_power_pmd_mgmt.c b/lib/power/rte_power_pmd_mgmt.c
index a66e08e574..7f445479bb 100644
--- a/lib/power/rte_power_pmd_mgmt.c
+++ b/lib/power/rte_power_pmd_mgmt.c
@@ -4,10 +4,8 @@
 
 #include <rte_lcore.h>
 #include <rte_cycles.h>
-#include <rte_cpuflags.h>
 #include <rte_malloc.h>
 #include <rte_ethdev.h>
-#include <rte_power_intrinsics.h>
 
 #include "rte_power_pmd_mgmt.h"
 #include "power_common.h"
diff --git a/lib/power/rte_power_pmd_mgmt.h b/lib/power/rte_power_pmd_mgmt.h
index 789fbe0e4d..7ae6ef2d32 100644
--- a/lib/power/rte_power_pmd_mgmt.h
+++ b/lib/power/rte_power_pmd_mgmt.h
@@ -11,13 +11,9 @@
  */
 
 #include <stdint.h>
-#include <stdbool.h>
 
-#include <rte_common.h>
-#include <rte_byteorder.h>
 #include <rte_log.h>
 #include <rte_power.h>
-#include <rte_atomic.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 12/18] rawdev: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (10 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 11/18] power: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 13/18] regexdev: " Sean Morrissey
                       ` (6 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Sachin Saxena, Hemant Agrawal; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
 lib/rawdev/rte_rawdev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h
index 14e8eb972f..66080eae9e 100644
--- a/lib/rawdev/rte_rawdev.h
+++ b/lib/rawdev/rte_rawdev.h
@@ -20,7 +20,6 @@ extern "C" {
 
 #include <rte_common.h>
 #include <rte_memory.h>
-#include <rte_errno.h>
 
 /* Rawdevice object - essentially a void to be typecast by implementation */
 typedef void *rte_rawdev_obj_t;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 13/18] regexdev: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (11 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 12/18] rawdev: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 14/18] sched: " Sean Morrissey
                       ` (5 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Ori Kam; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/regexdev/rte_regexdev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/regexdev/rte_regexdev.h b/lib/regexdev/rte_regexdev.h
index 3bce8090f6..ce3dba5c10 100644
--- a/lib/regexdev/rte_regexdev.h
+++ b/lib/regexdev/rte_regexdev.h
@@ -200,7 +200,6 @@ extern "C" {
 
 #include <rte_common.h>
 #include <rte_dev.h>
-#include <rte_mbuf.h>
 
 #define RTE_REGEXDEV_NAME_MAX_LEN RTE_DEV_NAME_MAX_LEN
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 14/18] sched: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (12 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 13/18] regexdev: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 15/18] stack: " Sean Morrissey
                       ` (4 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Cristian Dumitrescu, Jasvinder Singh; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/sched/rte_pie.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/sched/rte_pie.c b/lib/sched/rte_pie.c
index d37b79e6dd..c84f75a18c 100644
--- a/lib/sched/rte_pie.c
+++ b/lib/sched/rte_pie.c
@@ -6,7 +6,6 @@
 #include <string.h>
 
 #include "rte_pie.h"
-#include <rte_malloc.h>
 
 #ifdef __INTEL_COMPILER
 #pragma warning(disable:2259) /* conversion may lose significant bits */
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 15/18] stack: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (13 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 14/18] sched: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 16/18] table: " Sean Morrissey
                       ` (3 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/stack/rte_stack.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stack.h
index 91fc570767..af8c3804f3 100644
--- a/lib/stack/rte_stack.h
+++ b/lib/stack/rte_stack.h
@@ -22,7 +22,6 @@ extern "C" {
 #include <rte_debug.h>
 #include <rte_errno.h>
 #include <rte_memzone.h>
-#include <rte_spinlock.h>
 
 #define RTE_TAILQ_STACK_NAME "RTE_STACK"
 #define RTE_STACK_MZ_PREFIX "STK_"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 16/18] table: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (14 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 15/18] stack: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 17/18] timer: " Sean Morrissey
                       ` (2 subsequent siblings)
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/table/rte_swx_table_learner.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/table/rte_swx_table_learner.c b/lib/table/rte_swx_table_learner.c
index f7f8e8aea9..3502cbd2a4 100644
--- a/lib/table/rte_swx_table_learner.c
+++ b/lib/table/rte_swx_table_learner.c
@@ -6,7 +6,6 @@
 #include <errno.h>
 
 #include <rte_common.h>
-#include <rte_cycles.h>
 #include <rte_prefetch.h>
 
 #include "rte_swx_table_learner.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 17/18] timer: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (15 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 16/18] table: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-17 19:08     ` [PATCH v3 18/18] vhost: " Sean Morrissey
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
  18 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Erik Gabriel Carrillo; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/timer/rte_timer.c | 2 --
 lib/timer/rte_timer.h | 2 --
 2 files changed, 4 deletions(-)

diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c
index c51a393e5c..d914fcbf60 100644
--- a/lib/timer/rte_timer.c
+++ b/lib/timer/rte_timer.c
@@ -7,10 +7,8 @@
 #include <stdbool.h>
 #include <inttypes.h>
 #include <assert.h>
-#include <sys/queue.h>
 
 #include <rte_common.h>
-#include <rte_cycles.h>
 #include <rte_eal_memconfig.h>
 #include <rte_memory.h>
 #include <rte_lcore.h>
diff --git a/lib/timer/rte_timer.h b/lib/timer/rte_timer.h
index 0f820555c0..503438a36b 100644
--- a/lib/timer/rte_timer.h
+++ b/lib/timer/rte_timer.h
@@ -36,9 +36,7 @@
 
 #include <stdio.h>
 #include <stdint.h>
-#include <stddef.h>
 #include <rte_common.h>
-#include <rte_config.h>
 #include <rte_spinlock.h>
 
 #ifdef __cplusplus
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v3 18/18] vhost: remove unneeded header includes
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (16 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 17/18] timer: " Sean Morrissey
@ 2022-06-17 19:08     ` Sean Morrissey
  2022-06-20  1:42       ` Xia, Chenbo
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
  18 siblings, 1 reply; 82+ messages in thread
From: Sean Morrissey @ 2022-06-17 19:08 UTC (permalink / raw)
  To: Maxime Coquelin, Chenbo Xia; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/vhost/vhost.h      | 2 --
 lib/vhost/vhost_user.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h
index 14235aaf81..4ebcb7448a 100644
--- a/lib/vhost/vhost.h
+++ b/lib/vhost/vhost.h
@@ -7,10 +7,8 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <stdbool.h>
-#include <sys/types.h>
 #include <sys/queue.h>
 #include <unistd.h>
-#include <linux/vhost.h>
 #include <linux/virtio_net.h>
 #include <sys/socket.h>
 #include <linux/if.h>
diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h
index c4d091e175..8ecca68597 100644
--- a/lib/vhost/vhost_user.h
+++ b/lib/vhost/vhost_user.h
@@ -6,7 +6,6 @@
 #define _VHOST_NET_USER_H
 
 #include <stdint.h>
-#include <linux/vhost.h>
 
 #include "rte_vhost.h"
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* RE: [PATCH v3 18/18] vhost: remove unneeded header includes
  2022-06-17 19:08     ` [PATCH v3 18/18] vhost: " Sean Morrissey
@ 2022-06-20  1:42       ` Xia, Chenbo
  0 siblings, 0 replies; 82+ messages in thread
From: Xia, Chenbo @ 2022-06-20  1:42 UTC (permalink / raw)
  To: Morrissey, Sean, Maxime Coquelin; +Cc: dev

> -----Original Message-----
> From: Morrissey, Sean <sean.morrissey@intel.com>
> Sent: Saturday, June 18, 2022 3:09 AM
> To: Maxime Coquelin <maxime.coquelin@redhat.com>; Xia, Chenbo
> <chenbo.xia@intel.com>
> Cc: dev@dpdk.org; Morrissey, Sean <sean.morrissey@intel.com>
> Subject: [PATCH v3 18/18] vhost: remove unneeded header includes
> 
> These header includes have been flagged by the iwyu_tool
> and removed.
> 
> Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
> ---
>  lib/vhost/vhost.h      | 2 --
>  lib/vhost/vhost_user.h | 1 -
>  2 files changed, 3 deletions(-)
> 
> diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h
> index 14235aaf81..4ebcb7448a 100644
> --- a/lib/vhost/vhost.h
> +++ b/lib/vhost/vhost.h
> @@ -7,10 +7,8 @@
>  #include <stdint.h>
>  #include <stdio.h>
>  #include <stdbool.h>
> -#include <sys/types.h>
>  #include <sys/queue.h>
>  #include <unistd.h>
> -#include <linux/vhost.h>
>  #include <linux/virtio_net.h>
>  #include <sys/socket.h>
>  #include <linux/if.h>
> diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h
> index c4d091e175..8ecca68597 100644
> --- a/lib/vhost/vhost_user.h
> +++ b/lib/vhost/vhost_user.h
> @@ -6,7 +6,6 @@
>  #define _VHOST_NET_USER_H
> 
>  #include <stdint.h>
> -#include <linux/vhost.h>
> 
>  #include "rte_vhost.h"
> 
> --
> 2.25.1

Acked-by: Chenbo Xia <chenbo.xia@intel.com>

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 00/14] remove IWYU flagged headers
  2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
                       ` (17 preceding siblings ...)
  2022-06-17 19:08     ` [PATCH v3 18/18] vhost: " Sean Morrissey
@ 2022-06-20 10:40     ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 01/14] cmdline: remove unneeded header includes Sean Morrissey
                         ` (14 more replies)
  18 siblings, 15 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

This patchset removes unused header includes flagged
by the IWYU tool for the 22.07 release.

V4:
* Fix arm build issues.
V3:
* Fix more linux build issues.
V2:
* Fix various build issues.

Sean Morrissey (14):
  cmdline: remove unneeded header includes
  eal: remove unneeded header includes
  ethdev: remove unneeded header includes
  gpudev: remove unneeded header includes
  gso: remove unneeded header includes
  hash: remove unneeded header includes
  jobstats: remove unneeded header includes
  meter: remove unneeded header includes
  net: remove unneeded header includes
  power: remove unneeded header includes
  rawdev: remove unneeded header includes
  sched: remove unneeded header includes
  timer: remove unneeded header includes
  vhost: remove unneeded header includes

 lib/cmdline/cmdline_cirbuf.h       | 1 -
 lib/cmdline/cmdline_parse_num.c    | 3 ---
 lib/cmdline/cmdline_socket.c       | 4 ----
 lib/cmdline/cmdline_socket.h       | 1 -
 lib/eal/common/eal_common_config.c | 1 -
 lib/eal/common/eal_common_launch.c | 1 -
 lib/eal/common/eal_common_log.c    | 1 -
 lib/eal/linux/eal_thread.c         | 6 ------
 lib/eal/unix/eal_filesystem.c      | 2 --
 lib/ethdev/rte_class_eth.c         | 2 --
 lib/ethdev/rte_ethdev.c            | 9 ---------
 lib/ethdev/rte_ethdev.h            | 1 -
 lib/ethdev/rte_flow.c              | 2 --
 lib/ethdev/rte_flow.h              | 3 ---
 lib/ethdev/rte_mtr.c               | 1 -
 lib/gpudev/gpudev.c                | 1 -
 lib/gso/gso_common.c               | 1 -
 lib/gso/gso_common.h               | 1 -
 lib/gso/gso_tcp4.h                 | 1 -
 lib/gso/gso_tunnel_tcp4.h          | 1 -
 lib/gso/gso_tunnel_udp4.h          | 1 -
 lib/gso/gso_udp4.h                 | 1 -
 lib/hash/rte_cuckoo_hash.c         | 2 --
 lib/jobstats/rte_jobstats.h        | 1 -
 lib/meter/rte_meter.c              | 3 ---
 lib/net/rte_net.h                  | 1 -
 lib/power/rte_power_empty_poll.h   | 3 ---
 lib/power/rte_power_pmd_mgmt.h     | 4 ----
 lib/rawdev/rte_rawdev.h            | 1 -
 lib/sched/rte_pie.c                | 1 -
 lib/timer/rte_timer.c              | 1 -
 lib/timer/rte_timer.h              | 2 --
 lib/vhost/vhost.h                  | 2 --
 lib/vhost/vhost_user.h             | 1 -
 34 files changed, 67 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 01/14] cmdline: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 02/14] eal: " Sean Morrissey
                         ` (13 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/cmdline/cmdline_cirbuf.h    | 1 -
 lib/cmdline/cmdline_parse_num.c | 3 ---
 lib/cmdline/cmdline_socket.c    | 4 ----
 lib/cmdline/cmdline_socket.h    | 1 -
 4 files changed, 9 deletions(-)

diff --git a/lib/cmdline/cmdline_cirbuf.h b/lib/cmdline/cmdline_cirbuf.h
index c23b211ad4..c58fdabf00 100644
--- a/lib/cmdline/cmdline_cirbuf.h
+++ b/lib/cmdline/cmdline_cirbuf.h
@@ -7,7 +7,6 @@
 #ifndef _CIRBUF_H_
 #define _CIRBUF_H_
 
-#include <rte_config.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/lib/cmdline/cmdline_parse_num.c b/lib/cmdline/cmdline_parse_num.c
index b37dd94ae9..820af071fb 100644
--- a/lib/cmdline/cmdline_parse_num.c
+++ b/lib/cmdline/cmdline_parse_num.c
@@ -7,10 +7,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <inttypes.h>
-#include <ctype.h>
 #include <string.h>
-#include <stdarg.h>
-#include <errno.h>
 #include <rte_string_fns.h>
 
 #include "cmdline_parse.h"
diff --git a/lib/cmdline/cmdline_socket.c b/lib/cmdline/cmdline_socket.c
index ebd5343754..78fb67c474 100644
--- a/lib/cmdline/cmdline_socket.c
+++ b/lib/cmdline/cmdline_socket.c
@@ -5,11 +5,7 @@
  */
 
 #include <stdio.h>
-#include <string.h>
 #include <unistd.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <inttypes.h>
 #include <fcntl.h>
 
 #include "cmdline.h"
diff --git a/lib/cmdline/cmdline_socket.h b/lib/cmdline/cmdline_socket.h
index 80542e5599..a9c4ea26ad 100644
--- a/lib/cmdline/cmdline_socket.h
+++ b/lib/cmdline/cmdline_socket.h
@@ -8,7 +8,6 @@
 #define _CMDLINE_SOCKET_H_
 
 #include <cmdline_parse.h>
-#include <cmdline.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 02/14] eal: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 01/14] cmdline: remove unneeded header includes Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 03/14] ethdev: " Sean Morrissey
                         ` (12 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/eal/common/eal_common_config.c | 1 -
 lib/eal/common/eal_common_launch.c | 1 -
 lib/eal/common/eal_common_log.c    | 1 -
 lib/eal/linux/eal_thread.c         | 6 ------
 lib/eal/unix/eal_filesystem.c      | 2 --
 5 files changed, 11 deletions(-)

diff --git a/lib/eal/common/eal_common_config.c b/lib/eal/common/eal_common_config.c
index 3cef43a4f7..0daf0f3188 100644
--- a/lib/eal/common/eal_common_config.c
+++ b/lib/eal/common/eal_common_config.c
@@ -1,7 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright(c) 2020 Mellanox Technologies, Ltd
  */
-#include <string.h>
 
 #include <rte_string_fns.h>
 
diff --git a/lib/eal/common/eal_common_launch.c b/lib/eal/common/eal_common_launch.c
index 992f8e4631..462c886e30 100644
--- a/lib/eal/common/eal_common_launch.c
+++ b/lib/eal/common/eal_common_launch.c
@@ -6,7 +6,6 @@
 
 #include <rte_launch.h>
 #include <rte_eal_trace.h>
-#include <rte_atomic.h>
 #include <rte_pause.h>
 #include <rte_lcore.h>
 
diff --git a/lib/eal/common/eal_common_log.c b/lib/eal/common/eal_common_log.c
index d57dca9785..bd7b188ceb 100644
--- a/lib/eal/common/eal_common_log.c
+++ b/lib/eal/common/eal_common_log.c
@@ -13,7 +13,6 @@
 #include <sys/queue.h>
 
 #include <rte_log.h>
-#include <rte_os_shim.h>
 #include <rte_per_lcore.h>
 
 #include "eal_log.h"
diff --git a/lib/eal/linux/eal_thread.c b/lib/eal/linux/eal_thread.c
index 820cc905e0..e9294127d1 100644
--- a/lib/eal/linux/eal_thread.c
+++ b/lib/eal/linux/eal_thread.c
@@ -4,20 +4,14 @@
 
 #include <errno.h>
 #include <stdio.h>
-#include <stdint.h>
 #include <unistd.h>
 #include <pthread.h>
 #include <sys/syscall.h>
 
-#include <rte_debug.h>
-#include <rte_launch.h>
-#include <rte_log.h>
 #include <rte_eal.h>
 #include <rte_lcore.h>
 #include <rte_string_fns.h>
 
-#include "eal_private.h"
-#include "eal_thread.h"
 
 /* require calling thread tid by gettid() */
 int rte_sys_gettid(void)
diff --git a/lib/eal/unix/eal_filesystem.c b/lib/eal/unix/eal_filesystem.c
index 094a2bf7e4..afbab9368a 100644
--- a/lib/eal/unix/eal_filesystem.c
+++ b/lib/eal/unix/eal_filesystem.c
@@ -10,10 +10,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
-#include <sys/types.h>
 #include <unistd.h>
 
-#include <rte_common.h>
 #include <rte_log.h>
 
 #include "eal_private.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 03/14] ethdev: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 01/14] cmdline: remove unneeded header includes Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 02/14] eal: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 04/14] gpudev: " Sean Morrissey
                         ` (11 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Thomas Monjalon, Ferruh Yigit, Andrew Rybchenko, Ori Kam,
	Cristian Dumitrescu
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/ethdev/rte_class_eth.c | 2 --
 lib/ethdev/rte_ethdev.c    | 9 ---------
 lib/ethdev/rte_ethdev.h    | 1 -
 lib/ethdev/rte_flow.c      | 2 --
 lib/ethdev/rte_flow.h      | 3 ---
 lib/ethdev/rte_mtr.c       | 1 -
 6 files changed, 18 deletions(-)

diff --git a/lib/ethdev/rte_class_eth.c b/lib/ethdev/rte_class_eth.c
index c8e8fc9244..3be84dd45c 100644
--- a/lib/ethdev/rte_class_eth.c
+++ b/lib/ethdev/rte_class_eth.c
@@ -5,13 +5,11 @@
 #include <string.h>
 
 #include <rte_class.h>
-#include <rte_compat.h>
 #include <rte_errno.h>
 #include <rte_kvargs.h>
 #include <rte_log.h>
 
 #include "rte_ethdev.h"
-#include "rte_ethdev_core.h"
 #include "ethdev_driver.h"
 #include "ethdev_private.h"
 
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index 90e50eb02b..1979dc0850 100644
--- a/lib/ethdev/rte_ethdev.c
+++ b/lib/ethdev/rte_ethdev.c
@@ -11,18 +11,9 @@
 #include <string.h>
 #include <sys/queue.h>
 
-#include <rte_byteorder.h>
 #include <rte_log.h>
-#include <rte_debug.h>
 #include <rte_interrupts.h>
-#include <rte_memory.h>
 #include <rte_memcpy.h>
-#include <rte_memzone.h>
-#include <rte_launch.h>
-#include <rte_eal.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
-#include <rte_branch_prediction.h>
 #include <rte_common.h>
 #include <rte_mempool.h>
 #include <rte_malloc.h>
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index 045ee64747..de9e970d4d 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -169,7 +169,6 @@ extern "C" {
 #include <rte_errno.h>
 #include <rte_common.h>
 #include <rte_config.h>
-#include <rte_ether.h>
 #include <rte_power_intrinsics.h>
 
 #include "rte_ethdev_trace_fp.h"
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c
index 2c35a2f13e..501be9d602 100644
--- a/lib/ethdev/rte_flow.c
+++ b/lib/ethdev/rte_flow.c
@@ -6,13 +6,11 @@
 #include <errno.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <string.h>
 
 #include <rte_common.h>
 #include <rte_errno.h>
 #include <rte_branch_prediction.h>
 #include <rte_string_fns.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include "rte_ethdev.h"
 #include "rte_flow_driver.h"
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index 1b56f23cba..a79f1e7ef0 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -17,7 +17,6 @@
 #include <stddef.h>
 #include <stdint.h>
 
-#include <rte_arp.h>
 #include <rte_common.h>
 #include <rte_ether.h>
 #include <rte_icmp.h>
@@ -26,12 +25,10 @@
 #include <rte_tcp.h>
 #include <rte_udp.h>
 #include <rte_vxlan.h>
-#include <rte_byteorder.h>
 #include <rte_esp.h>
 #include <rte_higig.h>
 #include <rte_ecpri.h>
 #include <rte_bitops.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include <rte_meter.h>
 #include <rte_gtp.h>
diff --git a/lib/ethdev/rte_mtr.c b/lib/ethdev/rte_mtr.c
index 441ea1dca9..c460e4f4e0 100644
--- a/lib/ethdev/rte_mtr.c
+++ b/lib/ethdev/rte_mtr.c
@@ -5,7 +5,6 @@
 #include <stdint.h>
 
 #include <rte_errno.h>
-#include "rte_compat.h"
 #include "rte_ethdev.h"
 #include "rte_mtr_driver.h"
 #include "rte_mtr.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 04/14] gpudev: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (2 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 03/14] ethdev: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 05/14] gso: " Sean Morrissey
                         ` (10 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Elena Agostini; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gpudev/gpudev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c
index 56033f4a5f..ee3ae80f82 100644
--- a/lib/gpudev/gpudev.c
+++ b/lib/gpudev/gpudev.c
@@ -9,7 +9,6 @@
 #include <rte_malloc.h>
 #include <rte_errno.h>
 #include <rte_log.h>
-#include <rte_eal_paging.h>
 
 #include "rte_gpudev.h"
 #include "gpudev_driver.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 05/14] gso: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (3 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 04/14] gpudev: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 06/14] hash: " Sean Morrissey
                         ` (9 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Jiayu Hu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gso/gso_common.c      | 1 -
 lib/gso/gso_common.h      | 1 -
 lib/gso/gso_tcp4.h        | 1 -
 lib/gso/gso_tunnel_tcp4.h | 1 -
 lib/gso/gso_tunnel_udp4.h | 1 -
 lib/gso/gso_udp4.h        | 1 -
 6 files changed, 6 deletions(-)

diff --git a/lib/gso/gso_common.c b/lib/gso/gso_common.c
index 0fad1132fc..378bf2c6aa 100644
--- a/lib/gso/gso_common.c
+++ b/lib/gso/gso_common.c
@@ -6,7 +6,6 @@
 #include <errno.h>
 
 #include <rte_memcpy.h>
-#include <rte_mempool.h>
 
 #include "gso_common.h"
 
diff --git a/lib/gso/gso_common.h b/lib/gso/gso_common.h
index 2c258b22bf..9456d596d3 100644
--- a/lib/gso/gso_common.h
+++ b/lib/gso/gso_common.h
@@ -7,7 +7,6 @@
 
 #include <stdint.h>
 
-#include <rte_mbuf.h>
 #include <rte_ip.h>
 #include <rte_tcp.h>
 #include <rte_udp.h>
diff --git a/lib/gso/gso_tcp4.h b/lib/gso/gso_tcp4.h
index 10d4b3acdd..7527fa51c9 100644
--- a/lib/gso/gso_tcp4.h
+++ b/lib/gso/gso_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an IPv4/TCP packet. This function doesn't check if the input
diff --git a/lib/gso/gso_tunnel_tcp4.h b/lib/gso/gso_tunnel_tcp4.h
index c522ed27f2..3a7ea238c8 100644
--- a/lib/gso/gso_tunnel_tcp4.h
+++ b/lib/gso/gso_tunnel_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner TCP/IPv4 headers. This function
diff --git a/lib/gso/gso_tunnel_udp4.h b/lib/gso/gso_tunnel_udp4.h
index c49b43fe3e..214a69ccd5 100644
--- a/lib/gso/gso_tunnel_udp4.h
+++ b/lib/gso/gso_tunnel_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner UDP/IPv4 headers. This function
diff --git a/lib/gso/gso_udp4.h b/lib/gso/gso_udp4.h
index b2a2908e54..8baa0ba6db 100644
--- a/lib/gso/gso_udp4.h
+++ b/lib/gso/gso_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an UDP/IPv4 packet. This function doesn't check if the input
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 06/14] hash: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (4 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 05/14] gso: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 07/14] jobstats: " Sean Morrissey
                         ` (8 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Yipeng Wang, Sameh Gobriel, Bruce Richardson, Vladimir Medvedkin
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/hash/rte_cuckoo_hash.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c
index 490f94af4b..62c762439a 100644
--- a/lib/hash/rte_cuckoo_hash.c
+++ b/lib/hash/rte_cuckoo_hash.c
@@ -10,7 +10,6 @@
 #include <sys/queue.h>
 
 #include <rte_common.h>
-#include <rte_memory.h>         /* for definition of RTE_CACHE_LINE_SIZE */
 #include <rte_log.h>
 #include <rte_prefetch.h>
 #include <rte_branch_prediction.h>
@@ -21,7 +20,6 @@
 #include <rte_cpuflags.h>
 #include <rte_rwlock.h>
 #include <rte_ring_elem.h>
-#include <rte_compat.h>
 #include <rte_vect.h>
 #include <rte_tailq.h>
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 07/14] jobstats: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (5 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 06/14] hash: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 08/14] meter: " Sean Morrissey
                         ` (7 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/jobstats/rte_jobstats.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/jobstats/rte_jobstats.h b/lib/jobstats/rte_jobstats.h
index 023d9dd15c..45b460e603 100644
--- a/lib/jobstats/rte_jobstats.h
+++ b/lib/jobstats/rte_jobstats.h
@@ -8,7 +8,6 @@
 #include <stdint.h>
 
 #include <rte_memory.h>
-#include <rte_memcpy.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 08/14] meter: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (6 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 07/14] jobstats: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 09/14] net: " Sean Morrissey
                         ` (6 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/meter/rte_meter.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/meter/rte_meter.c b/lib/meter/rte_meter.c
index da01429a8b..4549b97d36 100644
--- a/lib/meter/rte_meter.c
+++ b/lib/meter/rte_meter.c
@@ -2,12 +2,9 @@
  * Copyright(c) 2010-2014 Intel Corporation
  */
 
-#include <inttypes.h>
 #include <stdio.h>
 #include <math.h>
 
-#include <rte_common.h>
-#include <rte_log.h>
 #include <rte_cycles.h>
 
 #include "rte_meter.h"
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 09/14] net: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (7 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 08/14] meter: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 10/14] power: " Sean Morrissey
                         ` (5 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/net/rte_net.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h
index 53a7f4d360..56611fc8f9 100644
--- a/lib/net/rte_net.h
+++ b/lib/net/rte_net.h
@@ -12,7 +12,6 @@ extern "C" {
 #include <rte_ip.h>
 #include <rte_udp.h>
 #include <rte_tcp.h>
-#include <rte_sctp.h>
 
 /**
  * Structure containing header lengths associated to a packet, filled
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 10/14] power: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (8 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 09/14] net: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 11/14] rawdev: " Sean Morrissey
                         ` (4 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: David Hunt; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/power/rte_power_empty_poll.h | 3 ---
 lib/power/rte_power_pmd_mgmt.h   | 4 ----
 2 files changed, 7 deletions(-)

diff --git a/lib/power/rte_power_empty_poll.h b/lib/power/rte_power_empty_poll.h
index 43fb276077..f6306fdcdf 100644
--- a/lib/power/rte_power_empty_poll.h
+++ b/lib/power/rte_power_empty_poll.h
@@ -13,10 +13,7 @@
 #include <stdbool.h>
 
 #include <rte_common.h>
-#include <rte_byteorder.h>
-#include <rte_log.h>
 #include <rte_string_fns.h>
-#include <rte_power.h>
 #include <rte_timer.h>
 
 #ifdef __cplusplus
diff --git a/lib/power/rte_power_pmd_mgmt.h b/lib/power/rte_power_pmd_mgmt.h
index 789fbe0e4d..7ae6ef2d32 100644
--- a/lib/power/rte_power_pmd_mgmt.h
+++ b/lib/power/rte_power_pmd_mgmt.h
@@ -11,13 +11,9 @@
  */
 
 #include <stdint.h>
-#include <stdbool.h>
 
-#include <rte_common.h>
-#include <rte_byteorder.h>
 #include <rte_log.h>
 #include <rte_power.h>
-#include <rte_atomic.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 11/14] rawdev: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (9 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 10/14] power: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 12/14] sched: " Sean Morrissey
                         ` (3 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Sachin Saxena, Hemant Agrawal; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
 lib/rawdev/rte_rawdev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h
index 14e8eb972f..66080eae9e 100644
--- a/lib/rawdev/rte_rawdev.h
+++ b/lib/rawdev/rte_rawdev.h
@@ -20,7 +20,6 @@ extern "C" {
 
 #include <rte_common.h>
 #include <rte_memory.h>
-#include <rte_errno.h>
 
 /* Rawdevice object - essentially a void to be typecast by implementation */
 typedef void *rte_rawdev_obj_t;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 12/14] sched: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (10 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 11/14] rawdev: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 13/14] timer: " Sean Morrissey
                         ` (2 subsequent siblings)
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Cristian Dumitrescu, Jasvinder Singh; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/sched/rte_pie.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/sched/rte_pie.c b/lib/sched/rte_pie.c
index d37b79e6dd..c84f75a18c 100644
--- a/lib/sched/rte_pie.c
+++ b/lib/sched/rte_pie.c
@@ -6,7 +6,6 @@
 #include <string.h>
 
 #include "rte_pie.h"
-#include <rte_malloc.h>
 
 #ifdef __INTEL_COMPILER
 #pragma warning(disable:2259) /* conversion may lose significant bits */
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 13/14] timer: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (11 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 12/14] sched: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-20 10:40       ` [PATCH v4 14/14] vhost: " Sean Morrissey
  2022-06-21 14:48       ` [PATCH v4 00/14] remove IWYU flagged headers Thomas Monjalon
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Erik Gabriel Carrillo; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/timer/rte_timer.c | 1 -
 lib/timer/rte_timer.h | 2 --
 2 files changed, 3 deletions(-)

diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c
index c51a393e5c..9994813d0d 100644
--- a/lib/timer/rte_timer.c
+++ b/lib/timer/rte_timer.c
@@ -7,7 +7,6 @@
 #include <stdbool.h>
 #include <inttypes.h>
 #include <assert.h>
-#include <sys/queue.h>
 
 #include <rte_common.h>
 #include <rte_cycles.h>
diff --git a/lib/timer/rte_timer.h b/lib/timer/rte_timer.h
index 0f820555c0..503438a36b 100644
--- a/lib/timer/rte_timer.h
+++ b/lib/timer/rte_timer.h
@@ -36,9 +36,7 @@
 
 #include <stdio.h>
 #include <stdint.h>
-#include <stddef.h>
 #include <rte_common.h>
-#include <rte_config.h>
 #include <rte_spinlock.h>
 
 #ifdef __cplusplus
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* [PATCH v4 14/14] vhost: remove unneeded header includes
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (12 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 13/14] timer: " Sean Morrissey
@ 2022-06-20 10:40       ` Sean Morrissey
  2022-06-21 14:48       ` [PATCH v4 00/14] remove IWYU flagged headers Thomas Monjalon
  14 siblings, 0 replies; 82+ messages in thread
From: Sean Morrissey @ 2022-06-20 10:40 UTC (permalink / raw)
  To: Maxime Coquelin, Chenbo Xia; +Cc: dev, Sean Morrissey

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
Acked-by: Chenbo Xia <chenbo.xia@intel.com>
---
 lib/vhost/vhost.h      | 2 --
 lib/vhost/vhost_user.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h
index 14235aaf81..4ebcb7448a 100644
--- a/lib/vhost/vhost.h
+++ b/lib/vhost/vhost.h
@@ -7,10 +7,8 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <stdbool.h>
-#include <sys/types.h>
 #include <sys/queue.h>
 #include <unistd.h>
-#include <linux/vhost.h>
 #include <linux/virtio_net.h>
 #include <sys/socket.h>
 #include <linux/if.h>
diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h
index c4d091e175..8ecca68597 100644
--- a/lib/vhost/vhost_user.h
+++ b/lib/vhost/vhost_user.h
@@ -6,7 +6,6 @@
 #define _VHOST_NET_USER_H
 
 #include <stdint.h>
-#include <linux/vhost.h>
 
 #include "rte_vhost.h"
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [PATCH v4 00/14] remove IWYU flagged headers
  2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
                         ` (13 preceding siblings ...)
  2022-06-20 10:40       ` [PATCH v4 14/14] vhost: " Sean Morrissey
@ 2022-06-21 14:48       ` Thomas Monjalon
  14 siblings, 0 replies; 82+ messages in thread
From: Thomas Monjalon @ 2022-06-21 14:48 UTC (permalink / raw)
  To: Sean Morrissey; +Cc: dev, david.marchand

20/06/2022 12:40, Sean Morrissey:
> This patchset removes unused header includes flagged
> by the IWYU tool for the 22.07 release.
> 
> V4:
> * Fix arm build issues.
> V3:
> * Fix more linux build issues.
> V2:
> * Fix various build issues.

Build looks fine now.
Applied, thanks.




^ permalink raw reply	[flat|nested] 82+ messages in thread

end of thread, other threads:[~2022-06-21 14:48 UTC | newest]

Thread overview: 82+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 01/19] cmdline: remove unneeded header includes Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 02/19] eal: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 03/19] ethdev: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 04/19] gpudev: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 05/19] gso: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 06/19] hash: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 07/19] ip_frag: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 08/19] jobstats: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 09/19] mempool: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 10/19] meter: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 11/19] net: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 12/19] power: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 13/19] rawdev: " Sean Morrissey
2022-04-22  4:51   ` Hemant Agrawal
2022-04-21 19:08 ` [PATCH v1 14/19] regexdev: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 15/19] sched: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 16/19] stack: " Sean Morrissey
2022-04-21 20:10   ` Stephen Hemminger
2022-04-21 19:08 ` [PATCH v1 17/19] table: " Sean Morrissey
2022-04-21 20:09   ` Stephen Hemminger
2022-04-21 19:08 ` [PATCH v1 18/19] timer: " Sean Morrissey
2022-04-21 20:08   ` Stephen Hemminger
2022-04-22  8:44     ` Morrissey, Sean
2022-04-21 19:08 ` [PATCH v1 19/19] vhost: " Sean Morrissey
2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 01/19] cmdline: remove unneeded header includes Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 02/19] eal: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 03/19] ethdev: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 04/19] gpudev: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 05/19] gso: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 06/19] hash: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 07/19] ip_frag: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 08/19] jobstats: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 09/19] mempool: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 10/19] meter: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 11/19] net: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 12/19] power: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 13/19] rawdev: " Sean Morrissey
2022-06-17  4:21     ` Hemant Agrawal
2022-06-16 15:17   ` [PATCH v2 14/19] regexdev: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 15/19] sched: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 16/19] stack: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 17/19] table: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 18/19] timer: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 19/19] vhost: " Sean Morrissey
2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 01/18] cmdline: remove unneeded header includes Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 02/18] eal: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 03/18] ethdev: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 04/18] gpudev: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 05/18] gso: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 06/18] hash: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 07/18] ip_frag: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 08/18] jobstats: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 09/18] meter: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 10/18] net: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 11/18] power: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 12/18] rawdev: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 13/18] regexdev: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 14/18] sched: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 15/18] stack: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 16/18] table: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 17/18] timer: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 18/18] vhost: " Sean Morrissey
2022-06-20  1:42       ` Xia, Chenbo
2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 01/14] cmdline: remove unneeded header includes Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 02/14] eal: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 03/14] ethdev: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 04/14] gpudev: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 05/14] gso: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 06/14] hash: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 07/14] jobstats: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 08/14] meter: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 09/14] net: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 10/14] power: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 11/14] rawdev: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 12/14] sched: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 13/14] timer: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 14/14] vhost: " Sean Morrissey
2022-06-21 14:48       ` [PATCH v4 00/14] remove IWYU flagged headers Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).