introduce IWYU
PATCH v9 36/50 gro: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/gro/gro_tcp4.c | 1 - lib/gro/gro_tcp4.h | 2 -- lib/gro/gro_udp4.c | 1 - lib/gro/gro_udp4.h | 2 -- lib/gro/gro_vxlan_tcp4.c | 1 - lib/gro/gro_vxlan_udp4.c | 1 - lib/gro/rte_gro.c | 1 - 7 files changed, 9 deletions(-)
lib/gro/gro_tcp4.c +0 -1
@@ -4,7 +4,6 @@#include <rte_malloc.h> #include <rte_mbuf.h> -#include <rte_cycles.h> #include <rte_ethdev.h> #include "gro_tcp4.h"
lib/gro/gro_tcp4.h +0 -2
@@ -5,9 +5,7 @@#ifndef _GRO_TCP4_H_#define _GRO_TCP4_H_ -#include <rte_ip.h> #include <rte_tcp.h> -#include <rte_vxlan.h> #define INVALID_ARRAY_INDEX 0xffffffffUL#define GRO_TCP4_TBL_MAX_ITEM_NUM (1024UL * 1024UL)
lib/gro/gro_udp4.c +0 -1
@@ -4,7 +4,6 @@#include <rte_malloc.h> #include <rte_mbuf.h> -#include <rte_cycles.h> #include <rte_ethdev.h> #include "gro_udp4.h"
lib/gro/gro_udp4.h +0 -2
@@ -6,8 +6,6 @@#define _GRO_UDP4_H_#include <rte_ip.h> -#include <rte_udp.h> -#include <rte_vxlan.h> #define INVALID_ARRAY_INDEX 0xffffffffUL#define GRO_UDP4_TBL_MAX_ITEM_NUM (1024UL * 1024UL)
lib/gro/gro_vxlan_tcp4.c +0 -1
@@ -4,7 +4,6 @@#include <rte_malloc.h> #include <rte_mbuf.h> -#include <rte_cycles.h> #include <rte_ethdev.h> #include <rte_udp.h>
lib/gro/gro_vxlan_udp4.c +0 -1
@@ -4,7 +4,6 @@#include <rte_malloc.h> #include <rte_mbuf.h> -#include <rte_cycles.h> #include <rte_ethdev.h> #include <rte_udp.h>
lib/gro/rte_gro.c +0 -1
@@ -3,7 +3,6 @@*/ #include <rte_malloc.h> -#include <rte_mbuf.h> #include <rte_cycles.h> #include <rte_ethdev.h>
Signature · 1 line
2.25.1
PATCH v9 37/50 graph: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/graph/graph_debug.c | 2 -- lib/graph/graph_ops.c | 1 - lib/graph/graph_populate.c | 2 -- lib/graph/node.c | 1 - 4 files changed, 6 deletions(-)
lib/graph/graph_debug.c +0 -2
@@ -2,8 +2,6 @@* Copyright(C) 2020 Marvell International Ltd. */ -#include <rte_common.h> -#include <rte_debug.h> #include "graph_private.h"
lib/graph/graph_ops.c +0 -1
@@ -5,7 +5,6 @@#include <stdbool.h> #include <string.h> -#include <rte_common.h> #include <rte_errno.h> #include "graph_private.h"
lib/graph/graph_populate.c +0 -2
@@ -2,8 +2,6 @@* Copyright(C) 2020 Marvell International Ltd. */ -#include <fnmatch.h> -#include <stdbool.h> #include <rte_common.h> #include <rte_errno.h>
lib/graph/node.c +0 -1
@@ -8,7 +8,6 @@#include <rte_common.h> #include <rte_debug.h> -#include <rte_eal.h> #include <rte_errno.h> #include <rte_string_fns.h>
Signature · 1 line
2.25.1
PATCH v9 38/50 gpudev: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/gpudev/gpudev.c | 1 - 1 file changed, 1 deletion(-)
lib/gpudev/gpudev.c +0 -1
@@ -4,7 +4,6 @@#include <rte_eal.h> #include <rte_tailq.h> -#include <rte_rwlock.h> #include <rte_string_fns.h> #include <rte_memzone.h> #include <rte_malloc.h>
Signature · 1 line
2.25.1
PATCH v9 39/50 flow_classify: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/flow_classify/rte_flow_classify.c | 3 --- lib/flow_classify/rte_flow_classify.h | 4 ---- lib/flow_classify/rte_flow_classify_parse.c | 1 - lib/flow_classify/rte_flow_classify_parse.h | 1 - 4 files changed, 9 deletions(-)
lib/flow_classify/rte_flow_classify.c +0 -3
@@ -3,12 +3,9 @@*/ #include <rte_string_fns.h> -#include <rte_compat.h> #include <rte_flow_classify.h> #include "rte_flow_classify_parse.h" -#include <rte_flow_driver.h> #include <rte_table_acl.h> -#include <stdbool.h> static uint32_t unique_id =1 ;
lib/flow_classify/rte_flow_classify.h +0 -4
@@ -45,11 +45,7 @@#include <rte_compat.h> #include <rte_common.h> -#include <rte_ethdev.h> -#include <rte_ether.h> #include <rte_flow.h> -#include <rte_acl.h> -#include <rte_table_acl.h> #ifdef __cplusplusextern "C" {
lib/flow_classify/rte_flow_classify_parse.c +0 -1
@@ -4,7 +4,6 @@#include <rte_flow_classify.h> #include "rte_flow_classify_parse.h" -#include <rte_flow_driver.h> struct classify_valid_pattern {enum rte_flow_item_type *items;
lib/flow_classify/rte_flow_classify_parse.h +0 -1
@@ -6,7 +6,6 @@#define _RTE_FLOW_CLASSIFY_PARSE_H_#include <rte_ethdev.h> -#include <rte_ether.h> #include <rte_flow.h> #include <stdbool.h>
Signature · 1 line
2.25.1
PATCH v9 40/50 fib: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/fib/dir24_8.c | 4 ---- lib/fib/rte_fib.c | 2 -- lib/fib/rte_fib.h | 1 - lib/fib/rte_fib6.c | 2 -- lib/fib/rte_fib6.h | 1 - lib/fib/trie.c | 5 ----- lib/fib/trie.h | 2 -- 7 files changed, 17 deletions(-)
lib/fib/dir24_8.c +0 -4
@@ -4,15 +4,11 @@*/ #include <stdint.h> -#include <stdlib.h> #include <stdio.h> -#include <string.h> -#include <inttypes.h> #include <rte_debug.h> #include <rte_malloc.h> #include <rte_errno.h> -#include <rte_memory.h> #include <rte_vect.h> #include <rte_rib.h>
lib/fib/rte_fib.c +0 -2
@@ -6,11 +6,9 @@#include <stdint.h> #include <string.h> -#include <rte_eal.h> #include <rte_eal_memconfig.h> #include <rte_errno.h> #include <rte_malloc.h> -#include <rte_rwlock.h> #include <rte_string_fns.h> #include <rte_tailq.h>
lib/fib/rte_fib.h +0 -1
@@ -17,7 +17,6 @@#include <stdint.h> -#include <rte_compat.h> #ifdef __cplusplusextern "C" {
lib/fib/rte_fib6.c +0 -2
@@ -6,11 +6,9 @@#include <stdint.h> #include <string.h> -#include <rte_eal.h> #include <rte_eal_memconfig.h> #include <rte_tailq.h> #include <rte_errno.h> -#include <rte_rwlock.h> #include <rte_malloc.h> #include <rte_string_fns.h>
lib/fib/rte_fib6.h +0 -1
@@ -17,7 +17,6 @@#include <stdint.h> -#include <rte_compat.h> #ifdef __cplusplusextern "C" {
lib/fib/trie.c +0 -5
@@ -4,16 +4,11 @@*/ #include <stdint.h> -#include <stdlib.h> #include <stdio.h> -#include <string.h> -#include <inttypes.h> #include <rte_debug.h> #include <rte_malloc.h> #include <rte_errno.h> -#include <rte_memory.h> -#include <rte_vect.h> #include <rte_rib6.h> #include <rte_fib6.h>
lib/fib/trie.h +0 -2
@@ -10,8 +10,6 @@* @file * RTE IPv6 Longest Prefix Match (LPM) */ -#include <rte_prefetch.h> -#include <rte_branch_prediction.h> /* @internal Total number of tbl24 entries. */ #define TRIE_TBL24_NUM_ENT (1 << 24)
Signature · 1 line
2.25.1
PATCH v9 41/50 eventdev: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/eventdev/rte_event_ring.c | 6 ------ lib/eventdev/rte_event_ring.h | 2 -- lib/eventdev/rte_event_timer_adapter.c | 5 ----- lib/eventdev/rte_event_timer_adapter.h | 2 -- lib/eventdev/rte_eventdev.c | 11 ----------- lib/eventdev/rte_eventdev.h | 2 -- 6 files changed, 28 deletions(-)
lib/eventdev/rte_event_ring.c +0 -6
@@ -3,13 +3,7 @@* Copyright(c) 2019 Arm Limited */ -#include <sys/queue.h> -#include <string.h> -#include <rte_tailq.h> -#include <rte_memzone.h> -#include <rte_rwlock.h> -#include <rte_eal_memconfig.h> #include "rte_event_ring.h" int
lib/eventdev/rte_event_ring.h +0 -2
@@ -17,8 +17,6 @@#include <stdint.h> #include <rte_common.h> -#include <rte_memory.h> -#include <rte_malloc.h> #include <rte_ring.h> #include <rte_ring_elem.h> #include "rte_eventdev.h"
lib/eventdev/rte_event_timer_adapter.c +0 -5
@@ -6,19 +6,14 @@#include <string.h> #include <inttypes.h> #include <stdbool.h> -#include <sys/queue.h> #include <rte_memzone.h> -#include <rte_memory.h> -#include <rte_dev.h> #include <rte_errno.h> #include <rte_malloc.h> -#include <rte_ring.h> #include <rte_mempool.h> #include <rte_common.h> #include <rte_timer.h> #include <rte_service_component.h> -#include <rte_cycles.h> #include "event_timer_adapter_pmd.h" #include "eventdev_pmd.h"
lib/eventdev/rte_event_timer_adapter.h +0 -2
@@ -111,8 +111,6 @@extern "C" {#endif -#include <rte_spinlock.h> -#include <rte_memory.h> #include "rte_eventdev.h" #include "rte_eventdev_trace_fp.h"
lib/eventdev/rte_eventdev.c +0 -11
@@ -6,26 +6,15 @@#include <stdio.h> #include <stdlib.h> #include <string.h> -#include <stdarg.h> #include <errno.h> #include <stdint.h> #include <inttypes.h> -#include <sys/types.h> -#include <sys/queue.h> #include <rte_string_fns.h> -#include <rte_byteorder.h> #include <rte_log.h> -#include <rte_debug.h> #include <rte_dev.h> -#include <rte_memory.h> -#include <rte_memcpy.h> #include <rte_memzone.h> #include <rte_eal.h> -#include <rte_per_lcore.h> -#include <rte_lcore.h> -#include <rte_atomic.h> -#include <rte_branch_prediction.h> #include <rte_common.h> #include <rte_malloc.h> #include <rte_errno.h>
lib/eventdev/rte_eventdev.h +0 -2
@@ -211,10 +211,8 @@ extern "C" {#endif #include <rte_common.h> -#include <rte_config.h> #include <rte_errno.h> #include <rte_mbuf_pool_ops.h> -#include <rte_memory.h> #include <rte_mempool.h> #include "rte_eventdev_trace_fp.h"
Signature · 1 line
2.25.1
PATCH v9 42/50 efd: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/efd/rte_efd.c | 3 --- 1 file changed, 3 deletions(-)
lib/efd/rte_efd.c +0 -3
@@ -6,7 +6,6 @@#include <stdint.h> #include <inttypes.h> #include <errno.h> -#include <stdarg.h> #include <sys/queue.h> #include <rte_string_fns.h>
@@ -21,11 +20,9 @@#include <rte_jhash.h> #include <rte_hash_crc.h> #include <rte_tailq.h> -#include <rte_vect.h> #include "rte_efd.h" #if defined(RTE_ARCH_X86 ) -#include "rte_efd_x86.h" #elif defined(RTE_ARCH_ARM64 )#include "rte_efd_arm64.h" #endif
Signature · 1 line
2.25.1
PATCH v9 43/50 dmadev: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/dmadev/rte_dmadev.h | 1 - 1 file changed, 1 deletion(-)
lib/dmadev/rte_dmadev.h +0 -1
@@ -149,7 +149,6 @@#include <rte_bitops.h> #include <rte_common.h> #include <rte_compat.h> -#include <rte_dev.h> #ifdef __cplusplusextern "C" {
Signature · 1 line
2.25.1
PATCH v9 44/50 distributor: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/distributor/rte_distributor.c | 2 -- lib/distributor/rte_distributor_match_sse.c | 2 -- lib/distributor/rte_distributor_single.c | 2 -- 3 files changed, 6 deletions(-)
lib/distributor/rte_distributor.c +0 -2
@@ -6,7 +6,6 @@#include <sys/queue.h> #include <string.h> #include <rte_mbuf.h> -#include <rte_memory.h> #include <rte_cycles.h> #include <rte_memzone.h> #include <rte_errno.h>
@@ -14,7 +13,6 @@#include <rte_eal_memconfig.h> #include <rte_pause.h> #include <rte_tailq.h> -#include <rte_vect.h> #include "rte_distributor.h" #include "rte_distributor_single.h"
lib/distributor/rte_distributor_match_sse.c +0 -2
@@ -3,10 +3,8 @@*/ #include <rte_mbuf.h> -#include "rte_distributor.h" #include "distributor_private.h" #include "smmintrin.h" -#include "nmmintrin.h" void
lib/distributor/rte_distributor_single.c +0 -2
@@ -4,9 +4,7 @@#include <stdio.h> #include <sys/queue.h> -#include <string.h> #include <rte_mbuf.h> -#include <rte_memory.h> #include <rte_memzone.h> #include <rte_errno.h> #include <rte_string_fns.h>
Signature · 1 line
2.25.1
PATCH v9 45/50 compressdev: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/compressdev/rte_comp.c | 1 - lib/compressdev/rte_comp.h | 1 - lib/compressdev/rte_compressdev.c | 1 - lib/compressdev/rte_compressdev.h | 1 - lib/compressdev/rte_compressdev_pmd.h | 2 -- 5 files changed, 6 deletions(-)
lib/compressdev/rte_comp.c +0 -1
@@ -3,7 +3,6 @@*/ #include "rte_comp.h" -#include "rte_compressdev.h" #include "rte_compressdev_internal.h" const char *
lib/compressdev/rte_comp.h +0 -1
@@ -16,7 +16,6 @@extern "C" {#endif -#include <rte_mempool.h> #include <rte_mbuf.h> /**
lib/compressdev/rte_compressdev.c +0 -1
@@ -3,7 +3,6 @@*/ #include <string.h> -#include <stdarg.h> #include <stdio.h> #include <inttypes.h>
lib/compressdev/rte_compressdev.h +0 -1
@@ -21,7 +21,6 @@extern "C" {#endif -#include <rte_common.h> #include "rte_comp.h"
lib/compressdev/rte_compressdev_pmd.h +0 -2
@@ -19,8 +19,6 @@ extern "C" {#include <string.h> -#include <rte_dev.h> -#include <rte_common.h> #include "rte_compressdev.h" #include "rte_compressdev_internal.h"
Signature · 1 line
2.25.1
PATCH v9 46/50 cmdline: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/cmdline/cmdline.c | 2 -- lib/cmdline/cmdline_parse.c | 3 --- lib/cmdline/cmdline_parse_portlist.c | 3 --- lib/cmdline/cmdline_parse_string.c | 4 ---- lib/cmdline/cmdline_rdline.c | 2 -- lib/cmdline/cmdline_vt100.c | 3 --- 6 files changed, 17 deletions(-)
lib/cmdline/cmdline.c +0 -2
@@ -9,8 +9,6 @@#include <unistd.h> #include <stdlib.h> #include <stdarg.h> -#include <inttypes.h> -#include <fcntl.h> #include <errno.h> #include <rte_string_fns.h>
lib/cmdline/cmdline_parse.c +0 -3
@@ -5,11 +5,8 @@*/ #include <stdio.h> -#include <stdarg.h> #include <errno.h> #include <string.h> -#include <inttypes.h> -#include <ctype.h> #include <rte_string_fns.h>
lib/cmdline/cmdline_parse_portlist.c +0 -3
@@ -6,11 +6,8 @@#include <stdio.h> #include <stdlib.h> -#include <inttypes.h> -#include <ctype.h> #include <string.h> #include <errno.h> -#include <stdarg.h> #include <rte_string_fns.h> #include "cmdline_parse.h"
lib/cmdline/cmdline_parse_string.c +0 -4
@@ -5,11 +5,7 @@*/ #include <stdio.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"
lib/cmdline/cmdline_rdline.c +0 -2
@@ -6,9 +6,7 @@#include <stdlib.h> #include <stdio.h> -#include <stdint.h> #include <string.h> -#include <stdarg.h> #include <errno.h> #include <ctype.h>
lib/cmdline/cmdline_vt100.c +0 -3
@@ -4,12 +4,9 @@* All rights reserved. */ -#include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <string.h> -#include <stdarg.h> -#include <ctype.h> #include "cmdline_vt100.h"
Signature · 1 line
2.25.1
PATCH v9 47/50 bpf: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/bpf/bpf.c | 4 ---- lib/bpf/bpf_exec.c | 6 ------ lib/bpf/bpf_jit_x86.c | 5 ----- lib/bpf/bpf_load.c | 8 -------- lib/bpf/bpf_pkt.c | 12 ------------ lib/bpf/bpf_validate.c | 3 --- 6 files changed, 38 deletions(-)
lib/bpf/bpf.c +0 -4
@@ -2,15 +2,11 @@* Copyright(c) 2018 Intel Corporation */ -#include <stdarg.h> #include <stdio.h> -#include <string.h> #include <errno.h> #include <stdint.h> -#include <inttypes.h> #include <rte_common.h> -#include <rte_eal.h> #include "bpf_impl.h"
lib/bpf/bpf_exec.c +0 -6
@@ -2,18 +2,12 @@* Copyright(c) 2018 Intel Corporation */ -#include <stdarg.h> #include <stdio.h> -#include <string.h> -#include <errno.h> #include <stdint.h> -#include <inttypes.h> #include <rte_common.h> #include <rte_log.h> #include <rte_debug.h> -#include <rte_memory.h> -#include <rte_eal.h> #include <rte_byteorder.h> #include "bpf_impl.h"
lib/bpf/bpf_jit_x86.c +0 -5
@@ -2,17 +2,12 @@* Copyright(c) 2018 Intel Corporation */ -#include <stdarg.h> #include <errno.h> #include <stdint.h> -#include <inttypes.h> #include <rte_common.h> #include <rte_log.h> #include <rte_debug.h> -#include <rte_memory.h> -#include <rte_eal.h> -#include <rte_byteorder.h> #include "bpf_impl.h"
lib/bpf/bpf_load.c +0 -8
@@ -2,20 +2,12 @@* Copyright(c) 2018 Intel Corporation */ -#include <stdarg.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <stdint.h> -#include <unistd.h> -#include <inttypes.h> -#include <rte_common.h> #include <rte_log.h> -#include <rte_debug.h> -#include <rte_memory.h> -#include <rte_eal.h> -#include <rte_byteorder.h> #include <rte_errno.h> #include "bpf_impl.h"
lib/bpf/bpf_pkt.c +0 -12
@@ -2,28 +2,16 @@* Copyright(c) 2018 Intel Corporation */ -#include <stdarg.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <stdint.h> -#include <unistd.h> -#include <inttypes.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <fcntl.h> #include <sys/queue.h> #include <rte_common.h> -#include <rte_byteorder.h> #include <rte_malloc.h> #include <rte_log.h> -#include <rte_debug.h> -#include <rte_cycles.h> -#include <rte_eal.h> -#include <rte_per_lcore.h> -#include <rte_lcore.h> #include <rte_atomic.h> #include <rte_mbuf.h> #include <rte_ethdev.h>
lib/bpf/bpf_validate.c +0 -3
@@ -2,7 +2,6 @@* Copyright(c) 2018 Intel Corporation */ -#include <stdarg.h> #include <stdio.h> #include <string.h> #include <errno.h>
@@ -10,8 +9,6 @@#include <inttypes.h> #include <rte_common.h> -#include <rte_eal.h> -#include <rte_byteorder.h> #include "bpf_impl.h"
Signature · 1 line
2.25.1
PATCH v9 48/50 bbdev: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/bbdev/rte_bbdev.c | 4 ---- lib/bbdev/rte_bbdev.h | 4 ---- 2 files changed, 8 deletions(-)
lib/bbdev/rte_bbdev.c +0 -4
@@ -6,19 +6,15 @@#include <string.h> #include <stdbool.h> -#include <rte_compat.h> #include <rte_common.h> #include <rte_errno.h> #include <rte_log.h> -#include <rte_debug.h> #include <rte_eal.h> #include <rte_malloc.h> #include <rte_mempool.h> #include <rte_memzone.h> #include <rte_lcore.h> -#include <rte_dev.h> #include <rte_spinlock.h> -#include <rte_tailq.h> #include <rte_interrupts.h> #include "rte_bbdev_op.h"
lib/bbdev/rte_bbdev.h +0 -4
@@ -26,12 +26,8 @@ extern "C" {#include <stdint.h> #include <stdbool.h> -#include <string.h> -#include <rte_compat.h> -#include <rte_bus.h> #include <rte_cpuflags.h> -#include <rte_memory.h> #include "rte_bbdev_op.h"
Signature · 1 line
2.25.1
PATCH v9 49/50 cryptodev: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/cryptodev/cryptodev_pmd.h | 4 ---- lib/cryptodev/rte_cryptodev.c | 11 ----------- lib/cryptodev/rte_cryptodev.h | 2 -- 3 files changed, 17 deletions(-)
lib/cryptodev/cryptodev_pmd.h +0 -4
@@ -15,11 +15,7 @@#include <string.h> -#include <rte_config.h> -#include <rte_dev.h> #include <rte_malloc.h> -#include <rte_mbuf.h> -#include <rte_mempool.h> #include <rte_log.h> #include <rte_common.h>
lib/cryptodev/rte_cryptodev.c +0 -11
@@ -2,36 +2,25 @@* Copyright(c) 2015-2020 Intel Corporation */ -#include <sys/types.h> #include <sys/queue.h> #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <stdarg.h> #include <errno.h> #include <stdint.h> #include <inttypes.h> -#include <rte_byteorder.h> #include <rte_log.h> #include <rte_debug.h> #include <rte_dev.h> -#include <rte_interrupts.h> #include <rte_memory.h> #include <rte_memcpy.h> #include <rte_memzone.h> -#include <rte_launch.h> -#include <rte_tailq.h> #include <rte_eal.h> -#include <rte_per_lcore.h> -#include <rte_lcore.h> -#include <rte_atomic.h> -#include <rte_branch_prediction.h> #include <rte_common.h> #include <rte_mempool.h> #include <rte_malloc.h> -#include <rte_mbuf.h> #include <rte_errno.h> #include <rte_spinlock.h> #include <rte_string_fns.h>
lib/cryptodev/rte_cryptodev.h +0 -2
@@ -20,9 +20,7 @@ extern "C" {#include "rte_kvargs.h" #include "rte_crypto.h" -#include "rte_dev.h" #include <rte_common.h> -#include <rte_config.h> #include <rte_rcu_qsbr.h> #include "rte_cryptodev_trace_fp.h"
Signature · 1 line
2.25.1
PATCH v9 50/50 acl: remove unneeded header includes
In reply to Sean MorrisseyThese header includes have been flagged by the iwyu_tool and removed.
--- lib/acl/rte_acl.c | 1 - 1 file changed, 1 deletion(-)
lib/acl/rte_acl.c +0 -1
@@ -6,7 +6,6 @@#include <rte_string_fns.h> #include <rte_acl.h> #include <rte_tailq.h> -#include <rte_vect.h> #include "acl.h"
Signature · 1 line
2.25.1
Thomas Monjalon
Applied15/02/2022 13:29, Sean Morrissey:
Quoted 7 lines
This patchset introduces the include-what-you-use script which removes unused header includes. IWYU GitHub:
https://github.com/include-what-you-use/include-what-you-use
Along with the script there are some patches which make a start on removing unneeded headers.
Applied, thanks for the cleanup.