From patchwork Mon Feb 14 11:35:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107454 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 17545A034C; Mon, 14 Feb 2022 12:37:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11B94410F3; Mon, 14 Feb 2022 12:37:04 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id ED72B4067E for ; Mon, 14 Feb 2022 12:37:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838621; x=1676374621; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pjX+mx97VoeEUCRAGvzhtBBr34EDSL09KhLFuikBuwg=; b=kYv3V0XmpasUD3XfG9sLfd+HM57VmtCX5oVWH18sVUEG2zUb3fDqhTNA izcaUtH3mbEyWmiXV1o9p6cLV/N5JobwWfqXKDQpz4eBPoZoLQ3Ax8jGR 9Sd4mZH6BHKw3469XIs4m1Mmq+qqFkasBxmSbTBTzZ+IewzaL9MdebtVY hdkzGM8BsEVavIzgKe8BlTPbxrelwFQg/QCptjsodghtBZmGhq6ukzzwf y1IWEdR70Maf7Ji56IKVaSuZzyXItT98Jdsx6aoxEXlC+CJpJGGGthlnH vx1yyarEdT4B+8jlBUjm++apQn1vFQ8d+1AG+df9ktqYtPTMHxb6ZfFwv w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619803" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619803" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632086854" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:36:58 -0800 From: Sean Morrissey To: Cc: dev@dpdk.org, Sean Morrissey , Conor Fogarty , Bruce Richardson Subject: [PATCH v7 01/50] devtools: script to remove unused headers includes Date: Mon, 14 Feb 2022 11:35:43 +0000 Message-Id: <20220214113632.3184921-2-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This script can be used for removing headers flagged for removal by the include-what-you-use (IWYU) tool. The script has the ability to remove headers from specified sub-directories or dpdk as a whole and tests the build after each removal by calling meson compile. example usages: Remove headers flagged by iwyu_tool output file $ ./devtools/process_iwyu.py iwyu.out -b build Remove headers flagged by iwyu_tool output file from sub-directory $ ./devtools/process_iwyu.py iwyu.out -b build -d lib/kvargs Remove headers directly piped from the iwyu_tool $ iwyu_tool -p build | ./devtools/process_iwyu.py - -b build Signed-off-by: Sean Morrissey Signed-off-by: Conor Fogarty Reviewed-by: Bruce Richardson --- devtools/process_iwyu.py | 109 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100755 devtools/process_iwyu.py diff --git a/devtools/process_iwyu.py b/devtools/process_iwyu.py new file mode 100755 index 0000000000..50f3d4c5c7 --- /dev/null +++ b/devtools/process_iwyu.py @@ -0,0 +1,109 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2021 Intel Corporation +# + +import argparse +import fileinput +import sys +from os.path import abspath, relpath, join +from pathlib import Path +from mesonbuild import mesonmain + + +def args_parse(): + "parse arguments and return the argument object back to main" + parser = argparse.ArgumentParser(description="This script can be used to remove includes which are not in use\n") + parser.add_argument('-b', '--build_dir', type=str, default='build', + help="The path to the build directory in which the IWYU tool was used in.") + parser.add_argument('-d', '--sub_dir', type=str, default='', + help="The sub-directory to remove headers from.") + parser.add_argument('file', type=Path, + help="The path to the IWYU log file or output from stdin.") + + return parser.parse_args() + + +def run_meson(args): + "Runs a meson command logging output to process.log" + with open('process_iwyu.log', 'a') as sys.stdout: + ret = mesonmain.run(args, abspath('meson')) + sys.stdout = sys.__stdout__ + return ret + + +def remove_includes(filepath, include, build_dir): + "Attempts to remove include, if it fails then revert to original state" + with open(filepath) as f: + lines = f.readlines() # Read lines when file is opened + + with open(filepath, 'w') as f: + for ln in lines: # Removes the include passed in + if not ln.startswith(include): + f.write(ln) + + # run test build -> call meson on the build folder, meson compile -C build + ret = run_meson(['compile', '-C', build_dir]) + if (ret == 0): # Include is not needed -> build is successful + print('SUCCESS') + else: + # failed, catch the error + # return file to original state + with open(filepath, 'w') as f: + f.writelines(lines) + print('FAILED') + + +def get_build_config(builddir, condition): + "returns contents of rte_build_config.h" + with open(join(builddir, 'rte_build_config.h')) as f: + return [ln for ln in f.readlines() if condition(ln)] + + +def uses_libbsd(builddir): + "return whether the build uses libbsd or not" + return bool(get_build_config(builddir, lambda ln: 'RTE_USE_LIBBSD' in ln)) + + +def process(args): + "process the iwyu output on a set of files" + filepath = None + build_dir = abspath(args.build_dir) + directory = args.sub_dir + + print("Warning: The results of this script may include false positives which are required for different systems", + file=sys.stderr) + + keep_str_fns = uses_libbsd(build_dir) # check for libbsd + if keep_str_fns: + print("Warning: libbsd is present, build will fail to detect incorrect removal of rte_string_fns.h", + file=sys.stderr) + # turn on werror + run_meson(['configure', build_dir, '-Dwerror=true']) + # Use stdin if no iwyu_tool out file given + for line in fileinput.input(args.file): + if 'should remove' in line: + # If the file path in the iwyu_tool output is an absolute path it + # means the file is outside of the dpdk directory, therefore ignore it. + # Also check to see if the file is within the specified sub directory. + filename = line.split()[0] + if (filename != abspath(filename) and + directory in filename): + filepath = relpath(join(build_dir, filename)) + elif line.startswith('-') and filepath: + include = '#include ' + line.split()[2] + print(f"Remove {include} from {filepath} ... ", end='', flush=True) + if keep_str_fns and '' in include: + print('skipped') + continue + remove_includes(filepath, include, build_dir) + else: + filepath = None + + +def main(): + process(args_parse()) + + +if __name__ == '__main__': + main() From patchwork Mon Feb 14 11:35:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107455 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4FE0EA00C5; Mon, 14 Feb 2022 12:37:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE3F74114E; Mon, 14 Feb 2022 12:37:04 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 906224067E for ; Mon, 14 Feb 2022 12:37:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838622; x=1676374622; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dFaJerY4vXwfMNXpVmfSGMyzBMVhDZ9JqTHonO+d1iI=; b=Qpfw6XuzseiJ4FAfPGTCWBSL3ngRKns/ZdbqcghbcdY1JWH23sCoQj3k gjd1w5bcj2rF9N8ZmOrJ+QtgEioKpKFaQnoymCLgbewFJcj2JI2u+oTqY 0+oOY+Z/p7z+PZG7IypHr45Oq95b9FrAofr320ECzqk+zx/SOSFbAS/Ob ueg6eCH6dRbI+0GYLwSy6LFAyY8dR6sjod6vHyDdGvoBMnBb8DDMRPKwt ib7HyV1vlJdVxylHm4N9U3LpIdqo2pHT9UgWpp6FOkcGp18vRfxI2Fr91 sq0no5xIkXzWwpPLkCpa+Et0CO1kSbYDkfTTRz+Jbx27CX6L8t23qM1Oe A==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619817" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619817" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632086883" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:00 -0800 From: Sean Morrissey To: Ciara Power Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 02/50] telemetry: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:44 +0000 Message-Id: <20220214113632.3184921-3-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Ciara Power --- lib/telemetry/telemetry.c | 1 - lib/telemetry/telemetry_data.h | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/telemetry/telemetry.c b/lib/telemetry/telemetry.c index e5ccfe47f7..c6fd03a5ab 100644 --- a/lib/telemetry/telemetry.c +++ b/lib/telemetry/telemetry.c @@ -8,7 +8,6 @@ #include #include #include -#include #endif /* !RTE_EXEC_ENV_WINDOWS */ /* we won't link against libbsd, so just always use DPDKs-specific strlcpy */ diff --git a/lib/telemetry/telemetry_data.h b/lib/telemetry/telemetry_data.h index adb84a09f1..26aa28e72c 100644 --- a/lib/telemetry/telemetry_data.h +++ b/lib/telemetry/telemetry_data.h @@ -5,7 +5,6 @@ #ifndef _TELEMETRY_DATA_H_ #define _TELEMETRY_DATA_H_ -#include #include "rte_telemetry.h" enum tel_container_types { From patchwork Mon Feb 14 11:35:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107456 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 65226A00C5; Mon, 14 Feb 2022 12:37:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1DDD94068C; Mon, 14 Feb 2022 12:37:09 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 84B8841145 for ; Mon, 14 Feb 2022 12:37:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838624; x=1676374624; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GThK9HmHHeSyOwHfv00+zBIkJaAiKLlAUXeA3wmdS+8=; b=KDBL3f0AJrvjqui13DTWpUYIVj3Synp9hAPKcOZG41jtwg8mq4MDe46m eKULfnrVNuO8JBZwM45SkStEDtv7l9/t9pLCeJkP8ZUN/AASCl3LE2xoY vjI7G2kBeY+vlFUSYbytohf0rQdnQztP0JO7LrnccH1pO6WCDEvpf59vs RJ80Xiuhiy0/NdNu2f+octr4Rn/hz1yqiTGJAm1puaail5SyeV3ijS2YO Ds5kIclNTyIx3EytUxFVcJbYpNOzT+KZk2G8bjHOgIV5KUZziJTNk4Wu4 mw2Pr53fRRtcJCWNSP56QHT747gNaXJtYtyqkfiuvErzvOrW713dp5ga8 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619829" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619829" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632086917" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:02 -0800 From: Sean Morrissey To: Honnappa Nagarahalli , Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 03/50] ring: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:45 +0000 Message-Id: <20220214113632.3184921-4-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/ring/rte_ring.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/ring/rte_ring.c b/lib/ring/rte_ring.c index f17bd966be..7945e5d9ed 100644 --- a/lib/ring/rte_ring.c +++ b/lib/ring/rte_ring.c @@ -8,7 +8,6 @@ */ #include -#include #include #include #include @@ -17,19 +16,11 @@ #include #include -#include #include #include -#include -#include #include -#include -#include -#include -#include #include #include -#include #include #include "rte_ring.h" From patchwork Mon Feb 14 11:35:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107457 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8FE64A00C5; Mon, 14 Feb 2022 12:37:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F1E641159; Mon, 14 Feb 2022 12:37:10 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 4FD5141150 for ; Mon, 14 Feb 2022 12:37:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838626; x=1676374626; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=55GggX0D67w1ApVHtvY/FsKbOzXtS0fNCdUNyo8Qu4w=; b=jIMN/1MOkmPhgNzG61ZLJ9y5ZOU8oDQ2+aY3HlXHV3Wk2wgUJvutdjK8 d29M4q4qv3TQs9wddRvMWyXiLYkSD+rlzxrKi+5uSuSbf5z9cuVaG4ZR2 YMB1qUyDchscSyVSkaBmsy6gUzP5mJ+URwzcYvJFEPvVuAtBCtsF4jOCO G7NQsf8NS/xClghghiT99NjXXR02+Euz3a7bCQLVrdTQLDKXfCbafRAfs wNS9s+/WWeoBYRYqw2IVjIfxIYA4ldiJ7tn5ZHzJPGNIf3yY/F2k3sbt+ eSkaQlEoBRKq7PgaXSQuul3B7400v5OB6Vb2UOFSCCgTh+dDp8fZjUeOS A==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619832" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619832" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632086946" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:04 -0800 From: Sean Morrissey To: Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 04/50] kvargs: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:46 +0000 Message-Id: <20220214113632.3184921-5-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/kvargs/rte_kvargs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/kvargs/rte_kvargs.c b/lib/kvargs/rte_kvargs.c index 11f624ef14..c77bb82feb 100644 --- a/lib/kvargs/rte_kvargs.c +++ b/lib/kvargs/rte_kvargs.c @@ -8,7 +8,6 @@ #include #include -#include #include "rte_kvargs.h" From patchwork Mon Feb 14 11:35:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107458 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2A93FA00C5; Mon, 14 Feb 2022 12:37:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1617C4115E; Mon, 14 Feb 2022 12:37:13 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 4728B4115E for ; Mon, 14 Feb 2022 12:37:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838631; x=1676374631; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=f1CWYSeeknj2awEDAebC/Ce4k5ei/gjJ6E4Rbspy9uk=; b=O3Pf3cPtc7XMTCY/aKsSQFyweDc8Y7+U+qXpB1kNugjHjOumYeu1QLx1 QkIfhEkkI/I7brEpRcbH2jG+xb3oC4seC2j3IW2I2B7pnE71mPe8ECMXp FFBvd1UGMJo3RdB5dLQ6kom2WanfOvy3KOIHh0ht6u0QylXGAvFpat3KH +vpj/NYx9zSvpLnHZV68KhGWVtDAYKubMtSTO9jRUdWWOvmIUzBJG2faG /HYuMeaM3JcV6b8v+K8cRTENMayWnzXWUIMm+FQjmfuvpsbuHOfHWhoB5 Uo/p2gS/MslT3VKIuHH2w6uYdDyQakVxKf/LFFjqQpWwQLAZmVH/vwHLD g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619846" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619846" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087056" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:06 -0800 From: Sean Morrissey To: Anatoly Burakov , Jerin Jacob , Sunil Kumar Kori , =?utf-8?q?Mattias_R=C3=B6nnblom?= , Harry van Haaren , Harman Kalra , Bruce Richardson , Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey , David Christensen Subject: [PATCH v7 05/50] eal: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:47 +0000 Message-Id: <20220214113632.3184921-6-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Reviewed-by: Harry van Haaren Reviewed-by: Mattias Rönnblom Reviewed-by: David Christensen --- lib/eal/common/eal_common_dev.c | 5 ----- lib/eal/common/eal_common_devargs.c | 1 - lib/eal/common/eal_common_errno.c | 4 ---- lib/eal/common/eal_common_fbarray.c | 3 --- lib/eal/common/eal_common_hexdump.c | 3 --- lib/eal/common/eal_common_launch.c | 6 ------ lib/eal/common/eal_common_lcore.c | 7 +------ lib/eal/common/eal_common_log.c | 1 - lib/eal/common/eal_common_memalloc.c | 3 --- lib/eal/common/eal_common_memory.c | 4 ---- lib/eal/common/eal_common_memzone.c | 4 ---- lib/eal/common/eal_common_options.c | 2 -- lib/eal/common/eal_common_proc.c | 2 -- lib/eal/common/eal_common_string_fns.c | 2 -- lib/eal/common/eal_common_tailqs.c | 11 ----------- lib/eal/common/eal_common_thread.c | 3 --- lib/eal/common/eal_common_timer.c | 6 ------ lib/eal/common/eal_common_trace.c | 1 - lib/eal/common/hotplug_mp.h | 1 - lib/eal/common/malloc_elem.c | 6 ------ lib/eal/common/malloc_heap.c | 5 ----- lib/eal/common/malloc_mp.c | 1 - lib/eal/common/malloc_mp.h | 2 -- lib/eal/common/rte_malloc.c | 5 ----- lib/eal/common/rte_random.c | 3 --- lib/eal/common/rte_service.c | 6 ------ lib/eal/include/rte_version.h | 2 -- lib/eal/linux/eal.c | 10 ---------- lib/eal/linux/eal_alarm.c | 7 ------- lib/eal/linux/eal_cpuflags.c | 2 -- lib/eal/linux/eal_debug.c | 5 ----- lib/eal/linux/eal_dev.c | 4 ---- lib/eal/linux/eal_hugepage_info.c | 7 ------- lib/eal/linux/eal_interrupts.c | 8 -------- lib/eal/linux/eal_lcore.c | 7 ------- lib/eal/linux/eal_log.c | 11 +---------- lib/eal/linux/eal_memalloc.c | 8 -------- lib/eal/linux/eal_memory.c | 9 --------- lib/eal/linux/eal_thread.c | 6 ------ lib/eal/linux/eal_timer.c | 15 --------------- lib/eal/linux/eal_vfio_mp_sync.c | 1 - lib/eal/unix/eal_file.c | 1 - lib/eal/unix/rte_thread.c | 1 - lib/eal/x86/rte_cycles.c | 1 - 44 files changed, 2 insertions(+), 200 deletions(-) diff --git a/lib/eal/common/eal_common_dev.c b/lib/eal/common/eal_common_dev.c index e1e9976d8d..c0ee4e442f 100644 --- a/lib/eal/common/eal_common_dev.c +++ b/lib/eal/common/eal_common_dev.c @@ -5,20 +5,15 @@ #include #include -#include #include -#include #include #include #include #include -#include #include -#include #include #include -#include #include #include "eal_private.h" diff --git a/lib/eal/common/eal_common_devargs.c b/lib/eal/common/eal_common_devargs.c index 8c7650cf6c..c3c3a9e6e4 100644 --- a/lib/eal/common/eal_common_devargs.c +++ b/lib/eal/common/eal_common_devargs.c @@ -12,7 +12,6 @@ #include #include -#include #include #include #include diff --git a/lib/eal/common/eal_common_errno.c b/lib/eal/common/eal_common_errno.c index f86802705a..1091065568 100644 --- a/lib/eal/common/eal_common_errno.c +++ b/lib/eal/common/eal_common_errno.c @@ -5,15 +5,11 @@ /* Use XSI-compliant portable version of strerror_r() */ #undef _GNU_SOURCE -#include #include #include -#include -#include #include #include -#include #ifdef RTE_EXEC_ENV_WINDOWS #define strerror_r(errnum, buf, buflen) strerror_s(buf, buflen, errnum) diff --git a/lib/eal/common/eal_common_fbarray.c b/lib/eal/common/eal_common_fbarray.c index 3a28a53247..f11f87979f 100644 --- a/lib/eal/common/eal_common_fbarray.c +++ b/lib/eal/common/eal_common_fbarray.c @@ -2,7 +2,6 @@ * Copyright(c) 2017-2018 Intel Corporation */ -#include #include #include #include @@ -14,9 +13,7 @@ #include #include #include -#include #include -#include #include "eal_filesystem.h" #include "eal_private.h" diff --git a/lib/eal/common/eal_common_hexdump.c b/lib/eal/common/eal_common_hexdump.c index 2d2179d411..63bbbdcf0a 100644 --- a/lib/eal/common/eal_common_hexdump.c +++ b/lib/eal/common/eal_common_hexdump.c @@ -1,10 +1,7 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2010-2014 Intel Corporation */ -#include #include -#include -#include #include #include diff --git a/lib/eal/common/eal_common_launch.c b/lib/eal/common/eal_common_launch.c index e95dadffb3..9f393b9bda 100644 --- a/lib/eal/common/eal_common_launch.c +++ b/lib/eal/common/eal_common_launch.c @@ -3,16 +3,10 @@ */ #include -#include -#include -#include #include -#include -#include #include #include -#include #include #include "eal_private.h" diff --git a/lib/eal/common/eal_common_lcore.c b/lib/eal/common/eal_common_lcore.c index 5de7570aac..11092791a4 100644 --- a/lib/eal/common/eal_common_lcore.c +++ b/lib/eal/common/eal_common_lcore.c @@ -2,19 +2,14 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include -#include #include #include -#include -#include +#include #include #include #include -#include -#include "eal_memcfg.h" #include "eal_private.h" #include "eal_thread.h" diff --git a/lib/eal/common/eal_common_log.c b/lib/eal/common/eal_common_log.c index 1be35f5397..2185857cf7 100644 --- a/lib/eal/common/eal_common_log.c +++ b/lib/eal/common/eal_common_log.c @@ -12,7 +12,6 @@ #include #include -#include #include #include #include diff --git a/lib/eal/common/eal_common_memalloc.c b/lib/eal/common/eal_common_memalloc.c index e872c6533b..f8770ff835 100644 --- a/lib/eal/common/eal_common_memalloc.c +++ b/lib/eal/common/eal_common_memalloc.c @@ -5,12 +5,9 @@ #include #include -#include #include -#include #include #include -#include #include "eal_private.h" #include "eal_internal_cfg.h" diff --git a/lib/eal/common/eal_common_memory.c b/lib/eal/common/eal_common_memory.c index 88517fd69e..688dc615d7 100644 --- a/lib/eal/common/eal_common_memory.c +++ b/lib/eal/common/eal_common_memory.c @@ -2,16 +2,12 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include #include #include #include #include -#include #include -#include #include -#include #include #include diff --git a/lib/eal/common/eal_common_memzone.c b/lib/eal/common/eal_common_memzone.c index ecde9441ee..0059de6981 100644 --- a/lib/eal/common/eal_common_memzone.c +++ b/lib/eal/common/eal_common_memzone.c @@ -2,20 +2,16 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include #include #include -#include #include #include #include -#include #include #include #include #include -#include #include #include #include diff --git a/lib/eal/common/eal_common_options.c b/lib/eal/common/eal_common_options.c index 1cfdd75f3b..071f1acf50 100644 --- a/lib/eal/common/eal_common_options.c +++ b/lib/eal/common/eal_common_options.c @@ -4,7 +4,6 @@ */ #include -#include #include #ifndef RTE_EXEC_ENV_WINDOWS #include @@ -17,7 +16,6 @@ #include #include #endif -#include #include #ifndef RTE_EXEC_ENV_WINDOWS #include diff --git a/lib/eal/common/eal_common_proc.c b/lib/eal/common/eal_common_proc.c index ebd0f6673b..575b4ca24d 100644 --- a/lib/eal/common/eal_common_proc.c +++ b/lib/eal/common/eal_common_proc.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include @@ -27,7 +26,6 @@ #include #include #include -#include #include "eal_memcfg.h" #include "eal_private.h" diff --git a/lib/eal/common/eal_common_string_fns.c b/lib/eal/common/eal_common_string_fns.c index ddd1891656..0236ae4023 100644 --- a/lib/eal/common/eal_common_string_fns.c +++ b/lib/eal/common/eal_common_string_fns.c @@ -2,9 +2,7 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include #include -#include #include #include diff --git a/lib/eal/common/eal_common_tailqs.c b/lib/eal/common/eal_common_tailqs.c index ead06897b8..580fbf24bc 100644 --- a/lib/eal/common/eal_common_tailqs.c +++ b/lib/eal/common/eal_common_tailqs.c @@ -3,24 +3,13 @@ */ #include -#include -#include #include -#include #include -#include -#include -#include #include #include -#include -#include -#include -#include #include #include -#include #include "eal_private.h" #include "eal_memcfg.h" diff --git a/lib/eal/common/eal_common_thread.c b/lib/eal/common/eal_common_thread.c index bb6fc8084c..684bea166c 100644 --- a/lib/eal/common/eal_common_thread.c +++ b/lib/eal/common/eal_common_thread.c @@ -4,10 +4,7 @@ #include #include -#include -#include #include -#include #include #include #include diff --git a/lib/eal/common/eal_common_timer.c b/lib/eal/common/eal_common_timer.c index 86f8429847..5686a5102b 100644 --- a/lib/eal/common/eal_common_timer.c +++ b/lib/eal/common/eal_common_timer.c @@ -2,16 +2,10 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include #include -#include #include -#include -#include -#include #include -#include #include #include #include diff --git a/lib/eal/common/eal_common_trace.c b/lib/eal/common/eal_common_trace.c index 7bff1cd2ce..036f6ac348 100644 --- a/lib/eal/common/eal_common_trace.c +++ b/lib/eal/common/eal_common_trace.c @@ -3,7 +3,6 @@ */ #include -#include #include #include diff --git a/lib/eal/common/hotplug_mp.h b/lib/eal/common/hotplug_mp.h index 8fcf9b52e2..066494ff27 100644 --- a/lib/eal/common/hotplug_mp.h +++ b/lib/eal/common/hotplug_mp.h @@ -6,7 +6,6 @@ #define _HOTPLUG_MP_H_ #include "rte_dev.h" -#include "rte_bus.h" #define EAL_DEV_MP_ACTION_REQUEST "eal_dev_mp_request" #define EAL_DEV_MP_ACTION_RESPONSE "eal_dev_mp_response" diff --git a/lib/eal/common/malloc_elem.c b/lib/eal/common/malloc_elem.c index bdd20a162e..c08f129c04 100644 --- a/lib/eal/common/malloc_elem.c +++ b/lib/eal/common/malloc_elem.c @@ -6,17 +6,11 @@ #include #include #include -#include #include #include #include -#include -#include -#include -#include #include -#include #include "eal_private.h" #include "eal_internal_cfg.h" diff --git a/lib/eal/common/malloc_heap.c b/lib/eal/common/malloc_heap.c index 55aad2711b..5ee5b07941 100644 --- a/lib/eal/common/malloc_heap.c +++ b/lib/eal/common/malloc_heap.c @@ -5,7 +5,6 @@ #include #include #include -#include #include #include @@ -13,15 +12,11 @@ #include #include #include -#include -#include #include #include #include #include -#include #include -#include #include #include "eal_internal_cfg.h" diff --git a/lib/eal/common/malloc_mp.c b/lib/eal/common/malloc_mp.c index 2e597a17a2..801b2e7fbd 100644 --- a/lib/eal/common/malloc_mp.c +++ b/lib/eal/common/malloc_mp.c @@ -5,7 +5,6 @@ #include #include -#include #include #include diff --git a/lib/eal/common/malloc_mp.h b/lib/eal/common/malloc_mp.h index 0095062b72..fb10817e13 100644 --- a/lib/eal/common/malloc_mp.h +++ b/lib/eal/common/malloc_mp.h @@ -10,8 +10,6 @@ #include #include -#include -#include /* forward declarations */ struct malloc_heap; diff --git a/lib/eal/common/rte_malloc.c b/lib/eal/common/rte_malloc.c index d0bec26920..7bcbec51a2 100644 --- a/lib/eal/common/rte_malloc.c +++ b/lib/eal/common/rte_malloc.c @@ -13,11 +13,6 @@ #include #include #include -#include -#include -#include -#include -#include #include #include diff --git a/lib/eal/common/rte_random.c b/lib/eal/common/rte_random.c index ce21c2242a..4535cc980c 100644 --- a/lib/eal/common/rte_random.c +++ b/lib/eal/common/rte_random.c @@ -5,14 +5,11 @@ #ifdef __RDSEED__ #include #endif -#include #include #include #include -#include #include -#include #include struct rte_rand_state { diff --git a/lib/eal/common/rte_service.c b/lib/eal/common/rte_service.c index bd8fb72e78..ef31b1f63c 100644 --- a/lib/eal/common/rte_service.c +++ b/lib/eal/common/rte_service.c @@ -3,22 +3,16 @@ */ #include -#include #include -#include #include -#include #include #include -#include #include #include -#include #include #include -#include #include #include diff --git a/lib/eal/include/rte_version.h b/lib/eal/include/rte_version.h index b06a62e7a2..414b6167f2 100644 --- a/lib/eal/include/rte_version.h +++ b/lib/eal/include/rte_version.h @@ -14,10 +14,8 @@ extern "C" { #endif -#include #include #include -#include #include /** diff --git a/lib/eal/linux/eal.c b/lib/eal/linux/eal.c index 60b4924838..b5621e64e2 100644 --- a/lib/eal/linux/eal.c +++ b/lib/eal/linux/eal.c @@ -7,10 +7,8 @@ #include #include #include -#include #include #include -#include #include #include #include @@ -20,32 +18,24 @@ #include #include #include -#include #include #if defined(RTE_ARCH_X86) #include #endif #include -#include #include #include #include #include #include #include -#include #include #include #include -#include -#include #include #include -#include #include -#include -#include #include #include #include diff --git a/lib/eal/linux/eal_alarm.c b/lib/eal/linux/eal_alarm.c index 3b5e894595..4de67138bc 100644 --- a/lib/eal/linux/eal_alarm.c +++ b/lib/eal/linux/eal_alarm.c @@ -3,21 +3,14 @@ */ #include #include -#include #include -#include #include #include #include -#include #include #include #include -#include -#include -#include -#include #include #include #include diff --git a/lib/eal/linux/eal_cpuflags.c b/lib/eal/linux/eal_cpuflags.c index d38296e1e5..c684940e1d 100644 --- a/lib/eal/linux/eal_cpuflags.c +++ b/lib/eal/linux/eal_cpuflags.c @@ -5,8 +5,6 @@ #include #include #include -#include -#include #include #if defined(__GLIBC__) && defined(__GLIBC_PREREQ) diff --git a/lib/eal/linux/eal_debug.c b/lib/eal/linux/eal_debug.c index 64dab4e0da..b0ecf5a9dc 100644 --- a/lib/eal/linux/eal_debug.c +++ b/lib/eal/linux/eal_debug.c @@ -5,16 +5,11 @@ #ifdef RTE_BACKTRACE #include #endif -#include -#include #include #include -#include #include #include -#include -#include #define BACKTRACE_SIZE 256 diff --git a/lib/eal/linux/eal_dev.c b/lib/eal/linux/eal_dev.c index bde55a3d92..f6e5861221 100644 --- a/lib/eal/linux/eal_dev.c +++ b/lib/eal/linux/eal_dev.c @@ -4,20 +4,16 @@ #include #include -#include #include #include #include #include #include -#include #include -#include #include #include #include -#include #include #include diff --git a/lib/eal/linux/eal_hugepage_info.c b/lib/eal/linux/eal_hugepage_info.c index 9fb0e968db..3f760f85ca 100644 --- a/lib/eal/linux/eal_hugepage_info.c +++ b/lib/eal/linux/eal_hugepage_info.c @@ -3,7 +3,6 @@ */ #include -#include #include #include #include @@ -12,19 +11,13 @@ #include #include #include -#include #include #include #include -#include #include #include /* for hugetlb-related flags */ -#include -#include -#include -#include #include #include #include diff --git a/lib/eal/linux/eal_interrupts.c b/lib/eal/linux/eal_interrupts.c index 70060bf3ef..d52ec8eb4c 100644 --- a/lib/eal/linux/eal_interrupts.c +++ b/lib/eal/linux/eal_interrupts.c @@ -7,13 +7,10 @@ #include #include #include -#include #include #include #include -#include #include -#include #include #include #include @@ -21,9 +18,6 @@ #include #include -#include -#include -#include #include #include #include @@ -36,8 +30,6 @@ #include #include "eal_private.h" -#include "eal_vfio.h" -#include "eal_thread.h" #define EAL_INTR_EPOLL_WAIT_FOREVER (-1) #define NB_OTHER_INTR 1 diff --git a/lib/eal/linux/eal_lcore.c b/lib/eal/linux/eal_lcore.c index bc8965844c..2e6a350603 100644 --- a/lib/eal/linux/eal_lcore.c +++ b/lib/eal/linux/eal_lcore.c @@ -4,15 +4,8 @@ #include #include -#include -#include #include -#include -#include -#include -#include -#include #include "eal_private.h" #include "eal_filesystem.h" diff --git a/lib/eal/linux/eal_log.c b/lib/eal/linux/eal_log.c index c0aa1007c4..9e72412e2b 100644 --- a/lib/eal/linux/eal_log.c +++ b/lib/eal/linux/eal_log.c @@ -2,19 +2,10 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include #include -#include #include #include -#include - -#include -#include -#include -#include -#include -#include + #include #include "eal_log.h" diff --git a/lib/eal/linux/eal_memalloc.c b/lib/eal/linux/eal_memalloc.c index 16b58d861b..026701f331 100644 --- a/lib/eal/linux/eal_memalloc.c +++ b/lib/eal/linux/eal_memalloc.c @@ -3,23 +3,17 @@ */ #include -#include #include #include #include #include -#include #include #include -#include #include -#include #include #include #include #include -#include -#include #include #include #ifdef F_ADD_SEALS /* if file sealing is supported, so is memfd */ @@ -36,9 +30,7 @@ #include #include #include -#include #include -#include #include "eal_filesystem.h" #include "eal_internal_cfg.h" diff --git a/lib/eal/linux/eal_memory.c b/lib/eal/linux/eal_memory.c index 03a4f2dd2d..40ec9663d0 100644 --- a/lib/eal/linux/eal_memory.c +++ b/lib/eal/linux/eal_memory.c @@ -5,7 +5,6 @@ #include #include -#include #include #include #include @@ -13,19 +12,14 @@ #include #include #include -#include #include -#include #include #include #include #include -#include -#include #include #include #ifdef F_ADD_SEALS /* if file sealing is supported, so is memfd */ -#include #define MEMFD_SUPPORTED #endif #ifdef RTE_EAL_NUMA_AWARE_HUGEPAGES @@ -36,12 +30,9 @@ #include #include #include -#include #include -#include #include #include -#include #include "eal_private.h" #include "eal_memalloc.h" diff --git a/lib/eal/linux/eal_thread.c b/lib/eal/linux/eal_thread.c index c7f0f9b2f7..fa6cd7e2c4 100644 --- a/lib/eal/linux/eal_thread.c +++ b/lib/eal/linux/eal_thread.c @@ -4,20 +4,14 @@ #include #include -#include #include #include #include -#include -#include #include #include -#include #include #include -#include -#include #include #include #include diff --git a/lib/eal/linux/eal_timer.c b/lib/eal/linux/eal_timer.c index 7cf15cabac..620baf038d 100644 --- a/lib/eal/linux/eal_timer.c +++ b/lib/eal/linux/eal_timer.c @@ -3,28 +3,13 @@ * Copyright(c) 2012-2013 6WIND S.A. */ -#include -#include #include #include -#include -#include -#include -#include -#include -#include -#include #include -#include #include -#include -#include -#include -#include #include "eal_private.h" -#include "eal_internal_cfg.h" enum timer_source eal_timer_source = EAL_TIMER_HPET; diff --git a/lib/eal/linux/eal_vfio_mp_sync.c b/lib/eal/linux/eal_vfio_mp_sync.c index a2accfab3a..e1776166af 100644 --- a/lib/eal/linux/eal_vfio_mp_sync.c +++ b/lib/eal/linux/eal_vfio_mp_sync.c @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/lib/eal/unix/eal_file.c b/lib/eal/unix/eal_file.c index ec554e0096..f04f5fbcbc 100644 --- a/lib/eal/unix/eal_file.c +++ b/lib/eal/unix/eal_file.c @@ -3,7 +3,6 @@ */ #include -#include #include #include diff --git a/lib/eal/unix/rte_thread.c b/lib/eal/unix/rte_thread.c index c72d619ec1..c34ede9186 100644 --- a/lib/eal/unix/rte_thread.c +++ b/lib/eal/unix/rte_thread.c @@ -7,7 +7,6 @@ #include #include -#include #include #include #include diff --git a/lib/eal/x86/rte_cycles.c b/lib/eal/x86/rte_cycles.c index edd9621abb..0e695caf28 100644 --- a/lib/eal/x86/rte_cycles.c +++ b/lib/eal/x86/rte_cycles.c @@ -6,7 +6,6 @@ #include #include -#include #include "eal_private.h" From patchwork Mon Feb 14 11:35:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107459 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 51F7CA00C5; Mon, 14 Feb 2022 12:37:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B56541156; Mon, 14 Feb 2022 12:37:15 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 6227D4115F for ; Mon, 14 Feb 2022 12:37:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838633; x=1676374633; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HvprPNfk3v4pGee32vx76TxlrpIRFMmi9bizIAhpC5k=; b=J0a+fIifQJnNEwTDejkU+WODNhZ7QqsDRai60zv2HOMA5nnw26tMrb8A h1Gm9nCsyW7d8lvGldkruZ1tt1GrW89AfWdRATaG52e5A06Tea6Efpwkc yKo1qKiEf9dTeuFaTnCLvwyxc5T6zmGvtfRUVz93SILAktIcLemi60kE0 6byc6+iTXOecIlEwdru5g1LyAdqwrPND5TC51Qwa2KjS0GzwDe0bWuLNM P3RJb0DIO2bTAUDp6jhlCcv5PZSC9D2PvjgoXLJCQPG1uBLcQ2HLvGZVC L6IHERxwnVbNzBbILwt6qmtVGHZ6gRpCaDpbKCaXe9H+PH2t4zyBFxXtG A==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619852" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619852" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087103" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:11 -0800 From: Sean Morrissey To: Maxime Coquelin , Chenbo Xia Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 06/50] vhost: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:48 +0000 Message-Id: <20220214113632.3184921-7-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/vhost/fd_man.c | 6 ------ lib/vhost/fd_man.h | 1 - lib/vhost/socket.c | 1 - lib/vhost/vdpa.c | 1 - lib/vhost/vhost.c | 4 ---- lib/vhost/vhost.h | 2 -- lib/vhost/vhost_user.c | 2 -- 7 files changed, 17 deletions(-) diff --git a/lib/vhost/fd_man.c b/lib/vhost/fd_man.c index 55d4856f9e..1876fada33 100644 --- a/lib/vhost/fd_man.c +++ b/lib/vhost/fd_man.c @@ -2,14 +2,8 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include #include -#include -#include -#include -#include #include -#include #include #include diff --git a/lib/vhost/fd_man.h b/lib/vhost/fd_man.h index 3ab5cfdd60..6f4499bdfa 100644 --- a/lib/vhost/fd_man.h +++ b/lib/vhost/fd_man.h @@ -4,7 +4,6 @@ #ifndef _FD_MAN_H_ #define _FD_MAN_H_ -#include #include #include diff --git a/lib/vhost/socket.c b/lib/vhost/socket.c index 82963c1e6d..c22d84a2cb 100644 --- a/lib/vhost/socket.c +++ b/lib/vhost/socket.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/lib/vhost/vdpa.c b/lib/vhost/vdpa.c index 09ad5d866e..7c57b3f75b 100644 --- a/lib/vhost/vdpa.c +++ b/lib/vhost/vdpa.c @@ -8,7 +8,6 @@ * Device specific vhost lib */ -#include #include #include diff --git a/lib/vhost/vhost.c b/lib/vhost/vhost.c index 13a9bb9dd1..40703b882f 100644 --- a/lib/vhost/vhost.c +++ b/lib/vhost/vhost.c @@ -4,7 +4,6 @@ #include #include -#include #include #include #ifdef RTE_LIBRTE_VHOST_NUMA @@ -13,13 +12,10 @@ #endif #include -#include #include -#include #include #include #include -#include #include "iotlb.h" #include "vhost.h" diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h index 7085e0885c..819d361578 100644 --- a/lib/vhost/vhost.h +++ b/lib/vhost/vhost.h @@ -17,11 +17,9 @@ #include #include -#include #include #include "rte_vhost.h" -#include "rte_vdpa.h" #include "vdpa_driver.h" #include "rte_vhost_async.h" diff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c index 5eb1dd6812..f8c216c453 100644 --- a/lib/vhost/vhost_user.c +++ b/lib/vhost/vhost_user.c @@ -27,10 +27,8 @@ #include #include #include -#include #include #include -#include #ifdef RTE_LIBRTE_VHOST_NUMA #include #endif From patchwork Mon Feb 14 11:35:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107460 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 56FC4A00C5; Mon, 14 Feb 2022 12:37:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6EC3741163; Mon, 14 Feb 2022 12:37:18 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 76B3341170 for ; Mon, 14 Feb 2022 12:37:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838635; x=1676374635; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UEM03x0L/vRbT1ZPutoP0GLcryzTd4JGyEEIbeuD1eo=; b=DDwflxrCvOSyctBxhpUqk8j3OgYsFNnf3zURQN1qOB3ebRa1P7kqHW2D ATJxR8Au8PCGfJq3s75MxtC24W8njaP9oLyU7HJTszVSIzBDGWRpc+io2 K0HkZdoT7h5nUejrBURnuvcnCCvrFQdKf2KASfUF3yt2wADh/PR3I3dw8 YqvZf2JEMPNVnQTb8OpxUerjVKdC5p6IqTFmOCFB7Kz4MKQNbnrU/CL4w mK6YoQgzeHdmvqv80VfWDtXgYSnEAHHrzRLr0x0odUWHHhHZN953hZspZ XaxR/vcoB4lMtPYZEwsMihUkYtp88THulOlUsqp9gswQ7u76A0XwTr3Z/ w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619856" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619856" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087151" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:13 -0800 From: Sean Morrissey To: Robert Sanford , Erik Gabriel Carrillo Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 07/50] timer: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:49 +0000 Message-Id: <20220214113632.3184921-8-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Erik Gabriel Carrillo --- lib/timer/rte_timer.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c index 6d19ce469b..c51a393e5c 100644 --- a/lib/timer/rte_timer.c +++ b/lib/timer/rte_timer.c @@ -2,7 +2,6 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include #include #include #include @@ -13,18 +12,13 @@ #include #include #include -#include #include -#include -#include #include #include #include #include #include #include -#include -#include #include "rte_timer.h" From patchwork Mon Feb 14 11:35:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107461 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 193ACA00C5; Mon, 14 Feb 2022 12:37:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B00741145; Mon, 14 Feb 2022 12:37:22 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 6CA1241163 for ; Mon, 14 Feb 2022 12:37:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838637; x=1676374637; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8n7uNAWvK5Pf6Iru/aZ+6Vk5CWQYZSMjVYa+VtnZgVM=; b=AgFQqX+T95UlbmGUYqOzkb9ZqAlWHZZF+u4J+V0FufAlodXyK726SiRc IVv7HpprSijEaa2SkG6N2Ih61KsHKv1Fg0Aqdwz6Cu4wJa0CXT7iniMtF XTHm73sYu8L+MyVgRVzdz95ATU1luYPFj/F51vNEDrhgvFQwtBxFUjmU6 DdL8wy3OxnloLX4LYTkRjXqmt7w+mTp6Kdauo2QqvT+gPSSS6j4i1i2VP MXMK5FKG/riPHmhCq3GAsnwA5Bex4ma/gHyT+XKzA8Nv+dDJ7quFQdn+n olfZV6Rw1VfBL+Ae+HN7iTunWw4JKmmb9nLSM9Jif+TedrAHizSBgJKRb Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619859" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619859" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087172" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:15 -0800 From: Sean Morrissey To: Cristian Dumitrescu Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 08/50] table: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:50 +0000 Message-Id: <20220214113632.3184921-9-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/table/rte_swx_table_em.c | 1 - lib/table/rte_swx_table_em.h | 1 - lib/table/rte_swx_table_learner.c | 1 - lib/table/rte_swx_table_learner.h | 1 - lib/table/rte_swx_table_selector.c | 1 - lib/table/rte_swx_table_wm.c | 2 -- lib/table/rte_swx_table_wm.h | 1 - lib/table/rte_table_acl.c | 3 --- lib/table/rte_table_array.c | 2 -- lib/table/rte_table_hash_cuckoo.c | 2 -- lib/table/rte_table_hash_ext.c | 2 -- lib/table/rte_table_hash_key16.c | 2 -- lib/table/rte_table_hash_key32.c | 2 -- lib/table/rte_table_hash_key8.c | 2 -- lib/table/rte_table_hash_lru.c | 2 -- lib/table/rte_table_lpm.c | 2 -- lib/table/rte_table_lpm_ipv6.c | 3 --- lib/table/rte_table_stub.c | 1 - lib/table/rte_table_stub.h | 1 - 19 files changed, 32 deletions(-) diff --git a/lib/table/rte_swx_table_em.c b/lib/table/rte_swx_table_em.c index 03b28c4c9d..f783cfe282 100644 --- a/lib/table/rte_swx_table_em.c +++ b/lib/table/rte_swx_table_em.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2020 Intel Corporation */ -#include #include #include #include diff --git a/lib/table/rte_swx_table_em.h b/lib/table/rte_swx_table_em.h index 909ada483b..b7423dd060 100644 --- a/lib/table/rte_swx_table_em.h +++ b/lib/table/rte_swx_table_em.h @@ -13,7 +13,6 @@ extern "C" { * RTE SWX Exact Match Table */ -#include #include diff --git a/lib/table/rte_swx_table_learner.c b/lib/table/rte_swx_table_learner.c index c3c840ff06..15576c2aa3 100644 --- a/lib/table/rte_swx_table_learner.c +++ b/lib/table/rte_swx_table_learner.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2020 Intel Corporation */ -#include #include #include #include diff --git a/lib/table/rte_swx_table_learner.h b/lib/table/rte_swx_table_learner.h index d6ec733655..eb9d7689fd 100644 --- a/lib/table/rte_swx_table_learner.h +++ b/lib/table/rte_swx_table_learner.h @@ -22,7 +22,6 @@ extern "C" { */ #include -#include #include diff --git a/lib/table/rte_swx_table_selector.c b/lib/table/rte_swx_table_selector.c index 541ebc2213..ad99f18453 100644 --- a/lib/table/rte_swx_table_selector.c +++ b/lib/table/rte_swx_table_selector.c @@ -7,7 +7,6 @@ #include #include -#include #include "rte_swx_table_selector.h" diff --git a/lib/table/rte_swx_table_wm.c b/lib/table/rte_swx_table_wm.c index e260be1062..27a67b47bd 100644 --- a/lib/table/rte_swx_table_wm.c +++ b/lib/table/rte_swx_table_wm.c @@ -4,10 +4,8 @@ #include #include #include -#include #include -#include #include #include diff --git a/lib/table/rte_swx_table_wm.h b/lib/table/rte_swx_table_wm.h index 9e228f971c..4fd52c0a17 100644 --- a/lib/table/rte_swx_table_wm.h +++ b/lib/table/rte_swx_table_wm.h @@ -13,7 +13,6 @@ extern "C" { * RTE SWX Wildcard Match Table */ -#include #include diff --git a/lib/table/rte_table_acl.c b/lib/table/rte_table_acl.c index 14d54019f0..179a1da835 100644 --- a/lib/table/rte_table_acl.c +++ b/lib/table/rte_table_acl.c @@ -6,13 +6,10 @@ #include #include -#include -#include #include #include #include "rte_table_acl.h" -#include #ifdef RTE_TABLE_STATS_COLLECT diff --git a/lib/table/rte_table_array.c b/lib/table/rte_table_array.c index 8264c50c27..54a0c42f7d 100644 --- a/lib/table/rte_table_array.c +++ b/lib/table/rte_table_array.c @@ -6,8 +6,6 @@ #include #include -#include -#include #include #include diff --git a/lib/table/rte_table_hash_cuckoo.c b/lib/table/rte_table_hash_cuckoo.c index f024303330..c77eccf527 100644 --- a/lib/table/rte_table_hash_cuckoo.c +++ b/lib/table/rte_table_hash_cuckoo.c @@ -5,8 +5,6 @@ #include #include -#include -#include #include #include diff --git a/lib/table/rte_table_hash_ext.c b/lib/table/rte_table_hash_ext.c index 802a24fe0f..70ea84fa2e 100644 --- a/lib/table/rte_table_hash_ext.c +++ b/lib/table/rte_table_hash_ext.c @@ -6,8 +6,6 @@ #include #include -#include -#include #include #include diff --git a/lib/table/rte_table_hash_key16.c b/lib/table/rte_table_hash_key16.c index c4384b114d..ea8195dc17 100644 --- a/lib/table/rte_table_hash_key16.c +++ b/lib/table/rte_table_hash_key16.c @@ -5,8 +5,6 @@ #include #include -#include -#include #include #include diff --git a/lib/table/rte_table_hash_key32.c b/lib/table/rte_table_hash_key32.c index 3e0031fe1e..87f83ce6f5 100644 --- a/lib/table/rte_table_hash_key32.c +++ b/lib/table/rte_table_hash_key32.c @@ -5,8 +5,6 @@ #include #include -#include -#include #include #include diff --git a/lib/table/rte_table_hash_key8.c b/lib/table/rte_table_hash_key8.c index 34e3ed1af9..7779a9d1a3 100644 --- a/lib/table/rte_table_hash_key8.c +++ b/lib/table/rte_table_hash_key8.c @@ -5,8 +5,6 @@ #include #include -#include -#include #include #include diff --git a/lib/table/rte_table_hash_lru.c b/lib/table/rte_table_hash_lru.c index 5bcdb7ba02..c31acc11cf 100644 --- a/lib/table/rte_table_hash_lru.c +++ b/lib/table/rte_table_hash_lru.c @@ -6,8 +6,6 @@ #include #include -#include -#include #include #include diff --git a/lib/table/rte_table_lpm.c b/lib/table/rte_table_lpm.c index 4dd8289ce5..9de9e8a20d 100644 --- a/lib/table/rte_table_lpm.c +++ b/lib/table/rte_table_lpm.c @@ -6,8 +6,6 @@ #include #include -#include -#include #include #include #include diff --git a/lib/table/rte_table_lpm_ipv6.c b/lib/table/rte_table_lpm_ipv6.c index 4e068d79bf..8fde2c012f 100644 --- a/lib/table/rte_table_lpm_ipv6.c +++ b/lib/table/rte_table_lpm_ipv6.c @@ -6,10 +6,7 @@ #include #include -#include -#include #include -#include #include #include diff --git a/lib/table/rte_table_stub.c b/lib/table/rte_table_stub.c index 9ce7be9cec..23d0de5c79 100644 --- a/lib/table/rte_table_stub.c +++ b/lib/table/rte_table_stub.c @@ -4,7 +4,6 @@ #include -#include #include #include "rte_table_stub.h" diff --git a/lib/table/rte_table_stub.h b/lib/table/rte_table_stub.h index 2b40739790..9086e4edcc 100644 --- a/lib/table/rte_table_stub.h +++ b/lib/table/rte_table_stub.h @@ -17,7 +17,6 @@ extern "C" { * ***/ -#include #include "rte_table.h" From patchwork Mon Feb 14 11:35:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107462 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 62F08A00C5; Mon, 14 Feb 2022 12:37:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A40441174; Mon, 14 Feb 2022 12:37:23 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D19CF41170 for ; Mon, 14 Feb 2022 12:37:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838639; x=1676374639; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mjYVeLiFduBoKrJgJBsEX7bf8Oi8tfMrBHr11FG2Q8A=; b=NhdICCL6O4HIhZm6KyK2E8VIY9+Qs3/MSIsf4ALhPLZODd2LItawcsXM PCnffa+MieXbTVdlSyXJj+SRgOA2m1r4MayahWofRaXb6j5h6C8oa4iRH gP+iR+rDjmSrQfOeCbSd88si3XyGDXwLwf6OWJxXb+iL6eTB8GX+TZZeI wjNpItLxS4rLl2PlYqz4PDRRDKYDaKm7zP0JpdXIvCCgfpINykgxuuIwa Fbiy26SldS7myNlpxsts5NQZCGur3dMuHEsD8R88C5uR18RIVWVmEkVpf UIAZUp7ZJ2S6w1tFi7nqqnvg96L8L+vixSA9iOjYcC6+C/c/2eQENLSuH w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619861" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619861" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087192" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:17 -0800 From: Sean Morrissey To: Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 09/50] stack: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:51 +0000 Message-Id: <20220214113632.3184921-10-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/stack/rte_stack.c | 2 -- lib/stack/rte_stack.h | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/stack/rte_stack.c b/lib/stack/rte_stack.c index 56bf2c8d6d..1fabec2bfe 100644 --- a/lib/stack/rte_stack.c +++ b/lib/stack/rte_stack.c @@ -6,12 +6,10 @@ #include #include -#include #include #include #include #include -#include #include #include "rte_stack.h" diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stack.h index 321f4cec1a..91fc570767 100644 --- a/lib/stack/rte_stack.h +++ b/lib/stack/rte_stack.h @@ -19,7 +19,6 @@ extern "C" { #endif -#include #include #include #include From patchwork Mon Feb 14 11:35:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107463 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 66271A00C5; Mon, 14 Feb 2022 12:37:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F50741180; Mon, 14 Feb 2022 12:37:24 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id A7CF441153 for ; Mon, 14 Feb 2022 12:37:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838640; x=1676374640; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XC//6kYGQ+23cOqeDkVk0OMscfTxPiovGf4bu5YSmDU=; b=R0gJihlgjOnF1JisOeHstfIOvjxdff1h2xDC+FVSTDJybSfhJH/unmFU 6gOB+/UmFVh43ZBEvmcDb1g2VSkaHgOWuzuSNR0M97QloGnQ5bh5vgBVe Y/lZ1N+5du2PNbCMyf/a/e8VtLzmyUJJMKJqC0DB/eIl3dOc1dmB54H7k 3gIs9QKswESkIW9qimKFulBF5ohcl1F0UV9VSDWzJxqh2AXctAjOCoYpg BfcZXs+2SJLBovAchAWCrdsKldWuTJvoYIh+7LH2E9FBuBO6f4M9ia7If oA27Y6+r4In9U0qZPOimurVAiJLpQr//Ci79ofltwT8LAeQfM51l6p0Bn Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619865" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619865" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087212" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:18 -0800 From: Sean Morrissey To: Akhil Goyal , Declan Doherty Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 10/50] security: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:52 +0000 Message-Id: <20220214113632.3184921-11-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/security/rte_security.c | 2 -- lib/security/rte_security.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/lib/security/rte_security.c b/lib/security/rte_security.c index 6e45a03fa0..4f5e4b4d49 100644 --- a/lib/security/rte_security.c +++ b/lib/security/rte_security.c @@ -5,10 +5,8 @@ */ #include -#include #include #include -#include "rte_compat.h" #include "rte_security.h" #include "rte_security_driver.h" diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index 1228b6c8b1..d54d993ccc 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -23,10 +23,7 @@ extern "C" { #include #include #include -#include #include -#include -#include /** IPSec protocol mode */ enum rte_security_ipsec_sa_mode { From patchwork Mon Feb 14 11:35:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107464 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6DA41A00C5; Mon, 14 Feb 2022 12:38:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3BA7F41177; Mon, 14 Feb 2022 12:37:29 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 7A92641170 for ; Mon, 14 Feb 2022 12:37:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838642; x=1676374642; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Uzky0EbMwCeF2Z7312/0yz/yhkrRZ1B6R9P5qvl4q5U=; b=Ux+vEw9dtz6Mx/zPk2IKfituJ6Aq9BPcSz1QqOikS0V/Z13Pfl360Mbg hbtYDXoW8CiXsOR/QdGVILyzWm89DOO2BIH39JOp0IJEYNLTpGv19AkiB mI20M012/HapT++DwHF/P70OXTkMI6cdcG4n3z1fbZ21BLT54xi781Q0u nfkR/p7RqHiiyl99KUxnT6NTXVvxNsBtDfw1HbO9ALdfGM10RlACWpwG/ QsQt4jMnJFDwNKFLcYVaqAgenVqYWt7fV4eSpWujJ2pp4qPeYLcSOrPn+ 6D8sXmDnB7g4ssDUYJbN1ZrW9Oz33gkFoMTgpQC70kKrPdY8lpl0lGNOV Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619873" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619873" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087220" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:20 -0800 From: Sean Morrissey To: Cristian Dumitrescu , Jasvinder Singh Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 11/50] sched: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:53 +0000 Message-Id: <20220214113632.3184921-12-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/sched/rte_pie.c | 2 -- lib/sched/rte_red.h | 1 - lib/sched/rte_sched.c | 1 - lib/sched/rte_sched.h | 1 - 4 files changed, 5 deletions(-) diff --git a/lib/sched/rte_pie.c b/lib/sched/rte_pie.c index 934e9aee50..cdb7bab697 100644 --- a/lib/sched/rte_pie.c +++ b/lib/sched/rte_pie.c @@ -5,8 +5,6 @@ #include #include "rte_pie.h" -#include -#include #include #ifdef __INTEL_COMPILER diff --git a/lib/sched/rte_red.h b/lib/sched/rte_red.h index f5843dab1b..80b43b6da0 100644 --- a/lib/sched/rte_red.h +++ b/lib/sched/rte_red.h @@ -18,7 +18,6 @@ extern "C" { #include #include -#include #include #include #include diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index 62b3d2e315..e5c62e3d77 100644 --- a/lib/sched/rte_sched.c +++ b/lib/sched/rte_sched.c @@ -7,7 +7,6 @@ #include #include -#include #include #include #include diff --git a/lib/sched/rte_sched.h b/lib/sched/rte_sched.h index 3c625ba169..5ece64e527 100644 --- a/lib/sched/rte_sched.h +++ b/lib/sched/rte_sched.h @@ -56,7 +56,6 @@ extern "C" { * */ -#include #include #include #include From patchwork Mon Feb 14 11:35:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107465 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C4556A00C5; Mon, 14 Feb 2022 12:38:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 26F684118A; Mon, 14 Feb 2022 12:37:30 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id EA7B741153 for ; Mon, 14 Feb 2022 12:37:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838644; x=1676374644; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DgAARMc3lGaToMseh3ulg78UV0c337IUm9Qzi0ioXE0=; b=Y76D3HlSDFK+WNvqg1KltQouJ3+J6e3LHGtdiH1oKjQhyXkrqpFciM0w yg4Cud0VkcfBaYyR3jWQiT9RK13ApADVGR09fcgopp7HaRZf0Zs0uFQh6 oixGMx0CsLkh4G99NnFz08BMiR/X85IYFD+ZmmIRxAf2erPjaWIEqLJiP zp3JWcAdud3/nGe3DNgFxxd2I5ffA9lo3oB6kOGsfycvoLoDX1DeQtELx Yp3TwsOltKlR574xVBv6bpHdqcBvAnnGz4dSEEZhWqQlsbVQrsZ/ecwyO 4/cdcA8Xyb2ct8Hf8r9JTtQ0TSiZVE0G+q4hP7llbGbZKjz+X1qPGLf9Y g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619876" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619876" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087227" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:22 -0800 From: Sean Morrissey To: Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 12/50] rib: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:54 +0000 Message-Id: <20220214113632.3184921-13-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/rib/rte_rib.c | 2 -- lib/rib/rte_rib.h | 1 - lib/rib/rte_rib6.c | 2 -- lib/rib/rte_rib6.h | 1 - 4 files changed, 6 deletions(-) diff --git a/lib/rib/rte_rib.c b/lib/rib/rte_rib.c index 6c29e1c49a..cd9e823068 100644 --- a/lib/rib/rte_rib.c +++ b/lib/rib/rte_rib.c @@ -6,12 +6,10 @@ #include #include -#include #include #include #include #include -#include #include #include diff --git a/lib/rib/rte_rib.h b/lib/rib/rte_rib.h index bebb30f7d7..c18c4ca594 100644 --- a/lib/rib/rte_rib.h +++ b/lib/rib/rte_rib.h @@ -17,7 +17,6 @@ #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c index 70405113b4..042ac1f090 100644 --- a/lib/rib/rte_rib6.c +++ b/lib/rib/rte_rib6.c @@ -6,12 +6,10 @@ #include #include -#include #include #include #include #include -#include #include #include diff --git a/lib/rib/rte_rib6.h b/lib/rib/rte_rib6.h index 6f532265c6..fa8e9bf732 100644 --- a/lib/rib/rte_rib6.h +++ b/lib/rib/rte_rib6.h @@ -15,7 +15,6 @@ */ #include -#include #include #ifdef __cplusplus From patchwork Mon Feb 14 11:35:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107466 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 48F3DA00C5; Mon, 14 Feb 2022 12:38:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 07A08411AB; Mon, 14 Feb 2022 12:37:31 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 6F6EF41184 for ; Mon, 14 Feb 2022 12:37:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838645; x=1676374645; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WkP6rz7fuURRRU+lCzi9DQzkDpkjMO3nW7h86yau+bI=; b=QUggDt54bReN3rmUZJyfUqFXAaCGZBSaujPw1wE5V43hiCWYbF81O5z+ v6iW8fFJcA68tMGWQNmCA8L1f9hkzpRfD29gfhOT73k7DmfyHVvdkWHDy RRgGPWucvy735ytd6K8rPXmqSYLz29ngnrLY/b/waadNIFpLdhl153Qg0 KjYVRf/SkKGYOyw+ChtxtM4NWE1lCREDmW4XmNqUtVGTommIpLcoE3y+6 GZtdL/+fa5kjHI6I/t/7Og0YBL8h8gatwrTyZDMccMQC/hs2mMpkvUmBN FNqpxcwQUkVoDn6zkcMEkzCBmByyePuOtqgtrP65/PWEXQ9aq0TG4lJVo g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619884" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619884" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087233" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:23 -0800 From: Sean Morrissey To: Reshma Pattan Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 13/50] reorder: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:55 +0000 Message-Id: <20220214113632.3184921-14-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/reorder/rte_reorder.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/reorder/rte_reorder.c b/lib/reorder/rte_reorder.c index 9445853b79..f40a48201f 100644 --- a/lib/reorder/rte_reorder.c +++ b/lib/reorder/rte_reorder.c @@ -2,7 +2,6 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include #include #include From patchwork Mon Feb 14 11:35:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107467 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98FE5A00C5; Mon, 14 Feb 2022 12:38:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF4AB411C9; Mon, 14 Feb 2022 12:37:31 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id E7CF541177 for ; Mon, 14 Feb 2022 12:37:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838647; x=1676374647; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sV8rOLEgig89Nm8CcQIJ5ufBJ0k+JGoR9uMkvfWEpgk=; b=EsHA+gGjfGcz3oGBVhvJh4K9lNZGefoPN2f8IfCfmvv3v8pUhKX/dz8M be+KLHP/hx92100piOkw5e1hIhkJxFd5Evm8QbsSiFaWIiBQuzIV758Lj UXJRzdHN9zl6y1CjeUi9ayGsTFe61icVU42/G1zgQDJCsjNe6wIL1RG0n 3rd77N+EIGbnOqddhPWDWaXoA5xuu9k7hNh43B0Dw/duH1pSZ3taqAZXQ DQEgjncRgeK++lVz1KHNkXItkpUcR5aOa171kRZ4f9v9k4l1Ko5x179fP LGOrYHj5Ih8WO5lSzMk/H/dsts2MkDD0+RMbfeTTn7nZJRb+39vsb6sun A==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619885" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619885" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087237" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:25 -0800 From: Sean Morrissey To: Ori Kam Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 14/50] regexdev: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:56 +0000 Message-Id: <20220214113632.3184921-15-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Ori Kam --- lib/regexdev/rte_regexdev.c | 2 -- lib/regexdev/rte_regexdev.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/lib/regexdev/rte_regexdev.c b/lib/regexdev/rte_regexdev.c index 04ab713730..02a388bc5d 100644 --- a/lib/regexdev/rte_regexdev.c +++ b/lib/regexdev/rte_regexdev.c @@ -5,8 +5,6 @@ #include -#include -#include #include #include diff --git a/lib/regexdev/rte_regexdev.h b/lib/regexdev/rte_regexdev.h index 0bac46cda9..4ba67b0c25 100644 --- a/lib/regexdev/rte_regexdev.h +++ b/lib/regexdev/rte_regexdev.h @@ -199,11 +199,8 @@ extern "C" { #endif #include -#include #include -#include #include -#include #define RTE_REGEXDEV_NAME_MAX_LEN RTE_DEV_NAME_MAX_LEN From patchwork Mon Feb 14 11:35:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107468 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 73BBDA00C5; Mon, 14 Feb 2022 12:38:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A2C6411B5; Mon, 14 Feb 2022 12:37:35 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 6B3D14114A for ; Mon, 14 Feb 2022 12:37:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838648; x=1676374648; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xM99L+P/Yv8BMdHUjOxjUH0I0N+/RyZo1Txfd85dfc4=; b=GmrZ5helArUQkZRRSMHJYADwY7cEBuNuGOD29w2qxgpLN2JdLASSRct7 iPzNkc8zuIxjGcjdZ5M2bCUKT3guZmQZ6EKmMVLciF/LnkExiqmHH4O+n 5KE2q0bCv9WK+uK+2JeAfrwhOvEQH0V67aK8wKh0tVyUU8BKT1t1vRApE 0CMNWP+8Udkyz98Iodg/N4LC9reTSTcjJ9jcsSuxjrrpl1BptqcYXcOXW JN9/8jot6G4XqKlJ84wW1ttpQhIUmc3jk9Ngq/TGjnrVCKwAmDQ+DSGVD LPMuURULRTM5kJq2zyAilj/cxKSvnVcRKvRqTOBPvPXle5cnIVxIAkJu8 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619888" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619888" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087301" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:26 -0800 From: Sean Morrissey To: Honnappa Nagarahalli Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 15/50] rcu: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:57 +0000 Message-Id: <20220214113632.3184921-16-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/rcu/rte_rcu_qsbr.c | 4 ---- lib/rcu/rte_rcu_qsbr.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/lib/rcu/rte_rcu_qsbr.c b/lib/rcu/rte_rcu_qsbr.c index 7510db2f81..17be93e830 100644 --- a/lib/rcu/rte_rcu_qsbr.c +++ b/lib/rcu/rte_rcu_qsbr.c @@ -13,10 +13,6 @@ #include #include #include -#include -#include -#include -#include #include #include diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h index 62a420a785..d81bf5e8db 100644 --- a/lib/rcu/rte_rcu_qsbr.h +++ b/lib/rcu/rte_rcu_qsbr.h @@ -32,11 +32,7 @@ extern "C" { #include #include #include -#include -#include #include -#include -#include #include #include #include From patchwork Mon Feb 14 11:35:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107469 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 25E40A00C5; Mon, 14 Feb 2022 12:38:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5D85411E1; Mon, 14 Feb 2022 12:37:35 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 3A73A41199 for ; Mon, 14 Feb 2022 12:37:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838650; x=1676374650; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IdOqP2wQ15ggZI/G80TdprAZFBGz0Wt0Bu5giWwuMww=; b=Qe2Scqn1b1EPtGP7bbfNFVrCeahPvtIG/MWb7WVfnOWzGJpBGsJA5OTQ 0bXCFMGSAowVNo+6ekXdJ2xiOawhTFiHlljQt7lMp6Fl15Ud0cIBnPuUZ swwbKo+4cNMtInTQkg/9WFPk+bCrc5h5dVzl5RyTxvXBjP2EoHuOBYjLr I/2uClAr4wp1lu6fclfVF32pyfhOFm50YIQEKHG4Pw6KAd3zHbSFGkrkU GgS6tlF8E9+RPJKpEhzeV2PPqD8CzilJpgAo5hJ4iRjs8XUPOQtP+LbAN 10NEZZ0LQM04/MhPuT5AxCtvULs0QjsDsolmano0/AK6Pb2urQLm7CDI4 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619893" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619893" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087382" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:28 -0800 From: Sean Morrissey To: Nipun Gupta , Hemant Agrawal Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 16/50] rawdev: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:58 +0000 Message-Id: <20220214113632.3184921-17-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Hemant Agrawal --- lib/rawdev/rte_rawdev.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/rawdev/rte_rawdev.c b/lib/rawdev/rte_rawdev.c index a6134e76ea..2f0a4f132e 100644 --- a/lib/rawdev/rte_rawdev.c +++ b/lib/rawdev/rte_rawdev.c @@ -6,29 +6,15 @@ #include #include #include -#include #include #include #include -#include -#include #include -#include #include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include #include #include -#include #include #include "rte_rawdev.h" From patchwork Mon Feb 14 11:35:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107470 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 125A4A00C5; Mon, 14 Feb 2022 12:38:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C8DA441223; Mon, 14 Feb 2022 12:37:36 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D232F411B8 for ; Mon, 14 Feb 2022 12:37:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838652; x=1676374652; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0eTYOyOVpGAi5fV5KshnwmO9NI42pZ24f6C6YNMYjts=; b=A3/gMXgaWu8mLDzOKdCjb8P+I5rmQkappdt/ISlLEXczt5VatVVbrFZc dE0nLWSbXjrht0cSvcygRSle+D0JqC+sgQtqc/fncU21lTROHH+L0Y6HF 1V3nUkX91OPlIJnYj5006nmSfAT6G+y8J4VHdSdqzHwuJX60wAMViRQwO 89Scbwds5/8xn67k6A1rOPW7TyRnsWTUzfsLHbYI01B7UJISKSKeNH0PO aOrEfLTwxhqN3R+SwnUEbJSOrQBfX11X8rSDl1QkgckpFh/lk+oA6g+SC xGSfB2zk91Mxvrpu7EHUe5BMOy7gU8PQQZm4GaNz06Z6ipqmB+MGJ8owA A==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619894" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619894" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087403" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:30 -0800 From: Sean Morrissey To: David Hunt Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 17/50] power: remove unneeded header includes Date: Mon, 14 Feb 2022 11:35:59 +0000 Message-Id: <20220214113632.3184921-18-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Also added rte_string_fns.h to example app vm_power_manager for users without libbsd. Signed-off-by: Sean Morrissey Acked-by: David Hunt --- examples/vm_power_manager/guest_cli/main.c | 1 + lib/power/guest_channel.c | 2 -- lib/power/power_acpi_cpufreq.c | 7 ------- lib/power/power_acpi_cpufreq.h | 4 ---- lib/power/power_common.h | 1 - lib/power/power_cppc_cpufreq.c | 1 - lib/power/power_cppc_cpufreq.h | 4 ---- lib/power/power_kvm_vm.c | 1 - lib/power/power_kvm_vm.h | 4 ---- lib/power/power_pstate_cpufreq.c | 6 ------ lib/power/power_pstate_cpufreq.h | 4 ---- lib/power/rte_power.c | 1 - lib/power/rte_power.h | 2 -- lib/power/rte_power_empty_poll.c | 2 -- 14 files changed, 1 insertion(+), 39 deletions(-) diff --git a/examples/vm_power_manager/guest_cli/main.c b/examples/vm_power_manager/guest_cli/main.c index b8fa65ef15..9da50020ac 100644 --- a/examples/vm_power_manager/guest_cli/main.c +++ b/examples/vm_power_manager/guest_cli/main.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "vm_power_cli_guest.h" #include "parse.h" diff --git a/lib/power/guest_channel.c b/lib/power/guest_channel.c index 474dd92998..969a9e5aaa 100644 --- a/lib/power/guest_channel.c +++ b/lib/power/guest_channel.c @@ -4,9 +4,7 @@ #include #include -#include #include -#include #include #include #include diff --git a/lib/power/power_acpi_cpufreq.c b/lib/power/power_acpi_cpufreq.c index 402ed8c99b..6e57aca535 100644 --- a/lib/power/power_acpi_cpufreq.c +++ b/lib/power/power_acpi_cpufreq.c @@ -3,17 +3,10 @@ */ #include -#include -#include #include #include -#include -#include -#include -#include #include -#include #include #include "power_acpi_cpufreq.h" diff --git a/lib/power/power_acpi_cpufreq.h b/lib/power/power_acpi_cpufreq.h index 41675b9cd9..682fd9278c 100644 --- a/lib/power/power_acpi_cpufreq.h +++ b/lib/power/power_acpi_cpufreq.h @@ -10,10 +10,6 @@ * RTE Power Management via userspace ACPI cpufreq */ -#include -#include -#include -#include #include "rte_power.h" /** diff --git a/lib/power/power_common.h b/lib/power/power_common.h index 0b264edfa5..c1c7139276 100644 --- a/lib/power/power_common.h +++ b/lib/power/power_common.h @@ -5,7 +5,6 @@ #ifndef _POWER_COMMON_H_ #define _POWER_COMMON_H_ -#include #include diff --git a/lib/power/power_cppc_cpufreq.c b/lib/power/power_cppc_cpufreq.c index 25185a791c..ef06fbcd9e 100644 --- a/lib/power/power_cppc_cpufreq.c +++ b/lib/power/power_cppc_cpufreq.c @@ -4,7 +4,6 @@ */ #include -#include #include "power_cppc_cpufreq.h" #include "power_common.h" diff --git a/lib/power/power_cppc_cpufreq.h b/lib/power/power_cppc_cpufreq.h index 4e73c91b05..f4121b237e 100644 --- a/lib/power/power_cppc_cpufreq.h +++ b/lib/power/power_cppc_cpufreq.h @@ -11,10 +11,6 @@ * RTE Power Management via userspace CPPC cpufreq */ -#include -#include -#include -#include #include "rte_power.h" /** diff --git a/lib/power/power_kvm_vm.c b/lib/power/power_kvm_vm.c index ab7d4b8cee..6a8109d449 100644 --- a/lib/power/power_kvm_vm.c +++ b/lib/power/power_kvm_vm.c @@ -9,7 +9,6 @@ #include "rte_power_guest_channel.h" #include "guest_channel.h" #include "power_kvm_vm.h" -#include "power_common.h" #define FD_PATH "/dev/virtio-ports/virtio.serial.port.poweragent" diff --git a/lib/power/power_kvm_vm.h b/lib/power/power_kvm_vm.h index 9a309a300f..303fcc041b 100644 --- a/lib/power/power_kvm_vm.h +++ b/lib/power/power_kvm_vm.h @@ -10,10 +10,6 @@ * RTE Power Management KVM VM */ -#include -#include -#include -#include #include "rte_power.h" /** diff --git a/lib/power/power_pstate_cpufreq.c b/lib/power/power_pstate_cpufreq.c index 86f8a76e46..f4c36179ec 100644 --- a/lib/power/power_pstate_cpufreq.c +++ b/lib/power/power_pstate_cpufreq.c @@ -3,20 +3,14 @@ */ #include -#include -#include #include -#include #include #include -#include #include #include #include #include -#include -#include #include "power_pstate_cpufreq.h" #include "power_common.h" diff --git a/lib/power/power_pstate_cpufreq.h b/lib/power/power_pstate_cpufreq.h index 3260b32494..7bf64a518c 100644 --- a/lib/power/power_pstate_cpufreq.h +++ b/lib/power/power_pstate_cpufreq.h @@ -10,10 +10,6 @@ * RTE Power Management via Intel Pstate driver */ -#include -#include -#include -#include #include "rte_power.h" /** diff --git a/lib/power/rte_power.c b/lib/power/rte_power.c index 3cba56bac9..0a6614be77 100644 --- a/lib/power/rte_power.c +++ b/lib/power/rte_power.c @@ -10,7 +10,6 @@ #include "power_cppc_cpufreq.h" #include "power_kvm_vm.h" #include "power_pstate_cpufreq.h" -#include "power_common.h" enum power_management_env global_default_env = PM_ENV_NOT_SET; diff --git a/lib/power/rte_power.h b/lib/power/rte_power.h index c5759afa39..47345e26df 100644 --- a/lib/power/rte_power.h +++ b/lib/power/rte_power.h @@ -11,9 +11,7 @@ */ #include -#include #include -#include #include #ifdef __cplusplus diff --git a/lib/power/rte_power_empty_poll.c b/lib/power/rte_power_empty_poll.c index c4b5de9601..dca88555aa 100644 --- a/lib/power/rte_power_empty_poll.c +++ b/lib/power/rte_power_empty_poll.c @@ -5,8 +5,6 @@ #include #include -#include -#include #include #include From patchwork Mon Feb 14 11:36:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107471 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 54EDDA00C5; Mon, 14 Feb 2022 12:38:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0BBB41C27; Mon, 14 Feb 2022 12:37:37 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 65596411CE for ; Mon, 14 Feb 2022 12:37:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838653; x=1676374653; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cSZglcfcKi63QqKUUpBx2Pmi2AWDSq/U3VI8BZCNz7A=; b=llNP4ab6gOx3OdVmdMc+xSPB9T7dDWNE3W7TBSRAMelkmHysAEqUldxA J4z/TcJCYcNiwRY7x7KgaISvV7H/IVKbMvS2PzqT2o92caHDkyQpaWADU rU/ifntPDZEgjy/9YZLkI5bJN9rnqjtaXGLXx4Idnlc6jWHJJyWlGv/CE ymwq1+H5+YPvbqKPNpt2CjOZDLiiWhMNHYjSIlsLecSdw4Ohs+RbZ/KiA 3mGO3eB1P3FDNPmVbVfFuoaKveYBYKgdij7gDM2KLyC/dDxebzmwofmt8 xxPtg5XBIb4Gkc92EPZl/q2616Z/c+PbunI51ROUB459be09sIvjyARkG w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619898" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619898" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087422" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:31 -0800 From: Sean Morrissey To: Cristian Dumitrescu Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 18/50] port: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:00 +0000 Message-Id: <20220214113632.3184921-19-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/port/rte_port_fd.h | 1 - lib/port/rte_port_frag.c | 2 -- lib/port/rte_port_frag.h | 1 - lib/port/rte_port_kni.c | 1 - lib/port/rte_port_kni.h | 1 - lib/port/rte_port_ras.c | 1 - lib/port/rte_port_ras.h | 1 - lib/port/rte_port_ring.h | 1 - lib/port/rte_port_sched.c | 1 - lib/port/rte_port_source_sink.c | 1 - lib/port/rte_swx_port_fd.c | 1 - lib/port/rte_swx_port_fd.h | 1 - lib/port/rte_swx_port_ring.h | 1 - 13 files changed, 14 deletions(-) diff --git a/lib/port/rte_port_fd.h b/lib/port/rte_port_fd.h index e7620ef522..c8cfd9765a 100644 --- a/lib/port/rte_port_fd.h +++ b/lib/port/rte_port_fd.h @@ -20,7 +20,6 @@ extern "C" { #include -#include #include "rte_port.h" /** fd_reader port parameters */ diff --git a/lib/port/rte_port_frag.c b/lib/port/rte_port_frag.c index 8a803fda11..e1f1892176 100644 --- a/lib/port/rte_port_frag.c +++ b/lib/port/rte_port_frag.c @@ -3,9 +3,7 @@ */ #include -#include #include -#include #include "rte_port_frag.h" diff --git a/lib/port/rte_port_frag.h b/lib/port/rte_port_frag.h index 74321e4c4c..07060297f6 100644 --- a/lib/port/rte_port_frag.h +++ b/lib/port/rte_port_frag.h @@ -29,7 +29,6 @@ extern "C" { #include -#include #include "rte_port.h" diff --git a/lib/port/rte_port_kni.c b/lib/port/rte_port_kni.c index 7b370f980a..1c7a6cb200 100644 --- a/lib/port/rte_port_kni.c +++ b/lib/port/rte_port_kni.c @@ -4,7 +4,6 @@ */ #include -#include #include #include diff --git a/lib/port/rte_port_kni.h b/lib/port/rte_port_kni.h index 9d318af17e..35c6253806 100644 --- a/lib/port/rte_port_kni.h +++ b/lib/port/rte_port_kni.h @@ -21,7 +21,6 @@ extern "C" { #include -#include #include "rte_port.h" diff --git a/lib/port/rte_port_ras.c b/lib/port/rte_port_ras.c index 8508814bb2..e5de57da42 100644 --- a/lib/port/rte_port_ras.c +++ b/lib/port/rte_port_ras.c @@ -3,7 +3,6 @@ */ #include -#include #include #include #include diff --git a/lib/port/rte_port_ras.h b/lib/port/rte_port_ras.h index fa5accdc71..ee1d8ae21e 100644 --- a/lib/port/rte_port_ras.h +++ b/lib/port/rte_port_ras.h @@ -30,7 +30,6 @@ extern "C" { #include -#include #include "rte_port.h" diff --git a/lib/port/rte_port_ring.h b/lib/port/rte_port_ring.h index c4f34e22fe..ba609b3436 100644 --- a/lib/port/rte_port_ring.h +++ b/lib/port/rte_port_ring.h @@ -26,7 +26,6 @@ extern "C" { #include -#include #include "rte_port.h" diff --git a/lib/port/rte_port_sched.c b/lib/port/rte_port_sched.c index 1209fc121b..8a7d815ef3 100644 --- a/lib/port/rte_port_sched.c +++ b/lib/port/rte_port_sched.c @@ -3,7 +3,6 @@ */ #include -#include #include #include "rte_port_sched.h" diff --git a/lib/port/rte_port_source_sink.c b/lib/port/rte_port_source_sink.c index 68575c9833..4928a5f706 100644 --- a/lib/port/rte_port_source_sink.c +++ b/lib/port/rte_port_source_sink.c @@ -5,7 +5,6 @@ #include #include -#include #include #include diff --git a/lib/port/rte_swx_port_fd.c b/lib/port/rte_swx_port_fd.c index aa7315a15a..51bcd3bb7b 100644 --- a/lib/port/rte_swx_port_fd.c +++ b/lib/port/rte_swx_port_fd.c @@ -6,7 +6,6 @@ #include #include -#include #include #include "rte_swx_port_fd.h" diff --git a/lib/port/rte_swx_port_fd.h b/lib/port/rte_swx_port_fd.h index ecf3349f5f..c1a9200a4f 100644 --- a/lib/port/rte_swx_port_fd.h +++ b/lib/port/rte_swx_port_fd.h @@ -16,7 +16,6 @@ extern "C" { ***/ #include -#include #include "rte_swx_port.h" diff --git a/lib/port/rte_swx_port_ring.h b/lib/port/rte_swx_port_ring.h index 859981f277..dc0ef9247c 100644 --- a/lib/port/rte_swx_port_ring.h +++ b/lib/port/rte_swx_port_ring.h @@ -16,7 +16,6 @@ extern "C" { #include -#include #include "rte_swx_port.h" From patchwork Mon Feb 14 11:36:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107472 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4CEA0A00C5; Mon, 14 Feb 2022 12:38:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB801426D2; Mon, 14 Feb 2022 12:37:39 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 01F5C41151 for ; Mon, 14 Feb 2022 12:37:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838655; x=1676374655; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+na9zf7PTLIO6LVVvfqzqJ9xTn1V5VMoei+d7GgY6sk=; b=nujdf26X7CZODRNn9U7k/N/gfnnkupZyPpfZ3b7EbZx9JCOvpg9jCWZ/ 058Obmz1xnjpdzbxk5uKDOMCYCFM2G16xEcRJUf1kHdUDolTs4rmRQUw1 r8RxfXJ+q2MflTrw28WtyToahouDUvupnzIKdzOMZJjTM08BpQUEUhEdC A/VoqTBdnavE5m2vteWk/PFMB9JkHUzHUDhcIXnGuB+b8gvLJaUGdWDh+ G6Iq1QZ/37+Tqwmd2qf3U6CMNhnfcA1r2WCbKKMUMtlAF/JR+SaPgbNLJ GxK28D0AjWDitfkyzClPwd4XJkqaoOIwWwXzaG0NCbqcyliABrwijuCyD w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619903" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619903" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087436" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:33 -0800 From: Sean Morrissey To: Cristian Dumitrescu Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 19/50] pipeline: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:01 +0000 Message-Id: <20220214113632.3184921-20-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/pipeline/rte_pipeline.c | 4 ---- lib/pipeline/rte_port_in_action.c | 2 -- lib/pipeline/rte_swx_ctl.h | 2 -- lib/pipeline/rte_swx_pipeline.c | 1 - lib/pipeline/rte_swx_pipeline.h | 1 - lib/pipeline/rte_swx_pipeline_spec.c | 1 - lib/pipeline/rte_table_action.c | 2 -- 7 files changed, 13 deletions(-) diff --git a/lib/pipeline/rte_pipeline.c b/lib/pipeline/rte_pipeline.c index f5f397d292..ff86c7cf96 100644 --- a/lib/pipeline/rte_pipeline.c +++ b/lib/pipeline/rte_pipeline.c @@ -6,10 +6,6 @@ #include #include -#include -#include -#include -#include #include #include #include diff --git a/lib/pipeline/rte_port_in_action.c b/lib/pipeline/rte_port_in_action.c index e3b00df8d2..5818973250 100644 --- a/lib/pipeline/rte_port_in_action.c +++ b/lib/pipeline/rte_port_in_action.c @@ -6,9 +6,7 @@ #include #include -#include #include -#include #include "rte_port_in_action.h" diff --git a/lib/pipeline/rte_swx_ctl.h b/lib/pipeline/rte_swx_ctl.h index 82e62e70a7..ed752ad5eb 100644 --- a/lib/pipeline/rte_swx_ctl.h +++ b/lib/pipeline/rte_swx_ctl.h @@ -13,7 +13,6 @@ extern "C" { * RTE SWX Pipeline Control */ -#include #include #include @@ -22,7 +21,6 @@ extern "C" { #include "rte_swx_port.h" #include "rte_swx_table.h" -#include "rte_swx_table_selector.h" struct rte_swx_pipeline; diff --git a/lib/pipeline/rte_swx_pipeline.c b/lib/pipeline/rte_swx_pipeline.c index 2145ca0a42..b39139edb8 100644 --- a/lib/pipeline/rte_swx_pipeline.c +++ b/lib/pipeline/rte_swx_pipeline.c @@ -4,7 +4,6 @@ #include #include #include -#include #include #include "rte_swx_pipeline_internal.h" diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h index 77141bd341..430e458335 100644 --- a/lib/pipeline/rte_swx_pipeline.h +++ b/lib/pipeline/rte_swx_pipeline.h @@ -13,7 +13,6 @@ extern "C" { * RTE SWX Pipeline */ -#include #include #include diff --git a/lib/pipeline/rte_swx_pipeline_spec.c b/lib/pipeline/rte_swx_pipeline_spec.c index 07a7580ac8..8165a046ea 100644 --- a/lib/pipeline/rte_swx_pipeline_spec.c +++ b/lib/pipeline/rte_swx_pipeline_spec.c @@ -8,7 +8,6 @@ #include #include "rte_swx_pipeline.h" -#include "rte_swx_ctl.h" #define MAX_LINE_LENGTH RTE_SWX_INSTRUCTION_SIZE #define MAX_TOKENS RTE_SWX_INSTRUCTION_TOKENS_MAX diff --git a/lib/pipeline/rte_table_action.c b/lib/pipeline/rte_table_action.c index ebab2444d3..b1310be565 100644 --- a/lib/pipeline/rte_table_action.c +++ b/lib/pipeline/rte_table_action.c @@ -11,12 +11,10 @@ #include #include #include -#include #include #include #include #include -#include #include "rte_table_action.h" From patchwork Mon Feb 14 11:36:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107473 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8EB4CA00C5; Mon, 14 Feb 2022 12:38:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DBB7C411FE; Mon, 14 Feb 2022 12:37:40 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 51B4D411ED for ; Mon, 14 Feb 2022 12:37:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838656; x=1676374656; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mhp7Qf5sbPH71MG3+BwyuYtvhLatxsuGRv0MpH1/PEo=; b=l6uj4KmCA4ONLyoFReYEjFr+q6BVDnpWt9weK+kcKQ/opEqS1AjEhNbm ZJ8/UzW1vfuaSLaHHZ5tPVNNAexJpJgAjyXlDLEefCtYFxhIU9V/Yf1Na 3Dp1Ls12p1mcRW043pJuHC94PzIjsMQhqpOfahwaGyxjluk5Zd2y8ORgr wADeGLraVOq30/I+hxo5+Z3TO6Wx9dvwgfb7FZRJPswWcoYBW1zWKZ427 v41c/DIYihFkPuVLkp9O51N/NY0VcwWFezURLlWurNSgJI2nsgmot1ypw kW3VLTW9/BGlbe/474xsZ2/3ZcN6+cQk8EsQXxiw4KLEZ7jCDREnv3XIm Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619911" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619911" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087450" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:34 -0800 From: Sean Morrissey To: Reshma Pattan , Stephen Hemminger Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 20/50] pdump: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:02 +0000 Message-Id: <20220214113632.3184921-21-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/pdump/rte_pdump.c | 1 - lib/pdump/rte_pdump.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/pdump/rte_pdump.c b/lib/pdump/rte_pdump.c index af450695ec..b3a62df591 100644 --- a/lib/pdump/rte_pdump.c +++ b/lib/pdump/rte_pdump.c @@ -2,7 +2,6 @@ * Copyright(c) 2016-2018 Intel Corporation */ -#include #include #include #include diff --git a/lib/pdump/rte_pdump.h b/lib/pdump/rte_pdump.h index 6efa0274f2..41c4b7800b 100644 --- a/lib/pdump/rte_pdump.h +++ b/lib/pdump/rte_pdump.h @@ -13,8 +13,6 @@ */ #include -#include -#include #include #ifdef __cplusplus From patchwork Mon Feb 14 11:36:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107474 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A4DF1A00C5; Mon, 14 Feb 2022 12:38:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A2B3426E2; Mon, 14 Feb 2022 12:37:42 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 8A121411FB for ; Mon, 14 Feb 2022 12:37:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838657; x=1676374657; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9KD3LslvJo14v5IJYpzBfExtaGJwSQ3EdurS8wbJTfg=; b=HmbZJoyWIwnPg/B+04M5oiwiRMIvMSVOoaXl2+APtwm4D0ZXWeYje9UU HIrBsz/WVg65mbF+h0DfCUrck+dWqizh5yXBOzeAosrip62J8Xf1dZcSt Pu/pM2WoQVXp+EHj4GK3je9FFSppBmMN64NOmmP0TeVTFvuykuLQHUFVa FsAndvFQhtqFzO+jq2bmJLsdLtZyeDEly/NOXS1cWARsxSjJO0ATmK4uE uq54tI0HD9BwRioTc/cp5Lj39oISzSxYA8KU4Lw2tL81B4LAhLLx7JzrP i1xkVUQc2H4Ep7/5RmPVn5mnK0+fkm58s0vjOegqK47eW27SZeCqKu4we w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619914" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619914" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087459" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:36 -0800 From: Sean Morrissey To: Gaetan Rivet Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 21/50] pci: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:03 +0000 Message-Id: <20220214113632.3184921-22-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/pci/rte_pci.c | 15 +-------------- lib/pci/rte_pci.h | 1 - 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/lib/pci/rte_pci.c b/lib/pci/rte_pci.c index c91be8b167..355772ff56 100644 --- a/lib/pci/rte_pci.c +++ b/lib/pci/rte_pci.c @@ -3,23 +3,10 @@ * Copyright 2013-2014 6WIND S.A. */ -#include -#include #include #include #include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include + #include #include "rte_pci.h" diff --git a/lib/pci/rte_pci.h b/lib/pci/rte_pci.h index 71cbd441c7..5088157e74 100644 --- a/lib/pci/rte_pci.h +++ b/lib/pci/rte_pci.h @@ -17,7 +17,6 @@ extern "C" { #endif #include -#include #include #include From patchwork Mon Feb 14 11:36:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107475 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 67DFFA00C5; Mon, 14 Feb 2022 12:39:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A308426D6; Mon, 14 Feb 2022 12:37:43 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id EFCC841C2E for ; Mon, 14 Feb 2022 12:37:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838659; x=1676374659; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BF8xReW0RY0Py22VVWnvWuJVF+gqYhS0zXOMyGzLwRQ=; b=LH/k6rTPW8f+6vXMBbVWTHUXAvhDz5YBL9e0+/qksNPtx6D0aoxUoYGo wzeBLNLif37jfiXPcu1k+UWlWQO5idttRBQ5JVl3Siz/i0Vh+9C7f+AYO GQGstqohiKUlLPWjE+QzLhUO8D8RWZ1MxaQV4kCXRFttVuVi+2sb9YYW/ xBU2J1k6AJbhGTf2S0A2YzrZe6PglMJewO5H6leXP+fJqvnkLnxvwNu+i i8ITmNRVHHVOkCtyRhryUj3Kx1MPgeQpFRwgzrvFOgMNPbfwVj3d7AwfT layKEsZD+V8wUEDDmreKLRfBwCFHhWgtFIiCmOilqCutcX6C9B85ok93T A==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619919" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619919" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087465" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:37 -0800 From: Sean Morrissey To: Reshma Pattan , Stephen Hemminger Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 22/50] pcapng: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:04 +0000 Message-Id: <20220214113632.3184921-23-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Stephen Hemminger --- lib/pcapng/rte_pcapng.c | 1 - lib/pcapng/rte_pcapng.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/pcapng/rte_pcapng.c b/lib/pcapng/rte_pcapng.c index 03edabe73e..5ae96a5bc9 100644 --- a/lib/pcapng/rte_pcapng.c +++ b/lib/pcapng/rte_pcapng.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include diff --git a/lib/pcapng/rte_pcapng.h b/lib/pcapng/rte_pcapng.h index 8d3fbb1941..7d2697c647 100644 --- a/lib/pcapng/rte_pcapng.h +++ b/lib/pcapng/rte_pcapng.h @@ -26,9 +26,7 @@ #include #include #include -#include #include -#include #ifdef __cplusplus extern "C" { From patchwork Mon Feb 14 11:36:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107476 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 74E85A00C5; Mon, 14 Feb 2022 12:39:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C4A2426E7; Mon, 14 Feb 2022 12:37:44 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9853D41161 for ; Mon, 14 Feb 2022 12:37:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838660; x=1676374660; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZrW064G68NxYOzRJTEvAj3Q+sQxqzp8prYZi3RBmlI0=; b=nUaf2rvGnu/JgPBFcBbXmAlIlKBxyCEy+2XO3gQHgJG24EqKoHShUMKl Hcb0/2GhRGwS93ruGG1utVoDYBmAOsep0FqxBhU48Ih38V+No6h5bwmyf TRsjxrIiijfhwDFYYHNBaA5K9MigEWWtPWDoKyzm8ao1CttHklpH+d6n4 UvCaKCm+EN5iEBPHnUMlaYzZip/KzZgvl/DANRbhX2cV4qNUVUzmB9g5z uPyMZz7gt1xuA+5qkrFz3BLoxYXLFz9EJdc391J7YJT27ec2ryI6uxIak /zw3TQbrsU/BM0eoVC/YsPgSA8TPwycSq+MgwFgHjJdUBMdJFQL3O4KtS g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619924" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619924" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087473" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:38 -0800 From: Sean Morrissey To: Nithin Dabilpuram , Pavan Nikhilesh Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 23/50] node: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:05 +0000 Message-Id: <20220214113632.3184921-24-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/node/ethdev_ctrl.c | 2 -- lib/node/ethdev_rx.c | 1 - lib/node/ethdev_tx.c | 1 - lib/node/ip4_lookup.c | 5 ----- lib/node/ip4_rewrite.c | 4 ---- lib/node/pkt_cls.c | 4 ---- lib/node/pkt_drop.c | 1 - 7 files changed, 18 deletions(-) diff --git a/lib/node/ethdev_ctrl.c b/lib/node/ethdev_ctrl.c index 13b8b705f0..5294607619 100644 --- a/lib/node/ethdev_ctrl.c +++ b/lib/node/ethdev_ctrl.c @@ -2,9 +2,7 @@ * Copyright(C) 2020 Marvell International Ltd. */ -#include #include -#include #include #include "rte_node_eth_api.h" diff --git a/lib/node/ethdev_rx.c b/lib/node/ethdev_rx.c index 4c23961505..a19237b42f 100644 --- a/lib/node/ethdev_rx.c +++ b/lib/node/ethdev_rx.c @@ -7,7 +7,6 @@ #include #include #include -#include #include "ethdev_rx_priv.h" #include "node_private.h" diff --git a/lib/node/ethdev_tx.c b/lib/node/ethdev_tx.c index 075149089f..7d2d72f823 100644 --- a/lib/node/ethdev_tx.c +++ b/lib/node/ethdev_tx.c @@ -6,7 +6,6 @@ #include #include #include -#include #include "ethdev_tx_priv.h" diff --git a/lib/node/ip4_lookup.c b/lib/node/ip4_lookup.c index d083a725fc..8bce03d7db 100644 --- a/lib/node/ip4_lookup.c +++ b/lib/node/ip4_lookup.c @@ -5,17 +5,12 @@ #include #include -#include #include #include #include #include #include #include -#include -#include -#include -#include #include "rte_node_ip4_api.h" diff --git a/lib/node/ip4_rewrite.c b/lib/node/ip4_rewrite.c index 99ecb457ff..34a920df5e 100644 --- a/lib/node/ip4_rewrite.c +++ b/lib/node/ip4_rewrite.c @@ -2,16 +2,12 @@ * Copyright(C) 2020 Marvell International Ltd. */ -#include #include #include #include #include #include #include -#include -#include -#include #include #include "rte_node_ip4_api.h" diff --git a/lib/node/pkt_cls.c b/lib/node/pkt_cls.c index b95454dd72..3e75f2cf78 100644 --- a/lib/node/pkt_cls.c +++ b/lib/node/pkt_cls.c @@ -2,10 +2,6 @@ * Copyright (C) 2020 Marvell. */ -#include -#include -#include -#include #include #include diff --git a/lib/node/pkt_drop.c b/lib/node/pkt_drop.c index c350013236..1ad7fccd28 100644 --- a/lib/node/pkt_drop.c +++ b/lib/node/pkt_drop.c @@ -2,7 +2,6 @@ * Copyright(C) 2020 Marvell International Ltd. */ -#include #include #include From patchwork Mon Feb 14 11:36:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107477 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6C5AEA00C5; Mon, 14 Feb 2022 12:39:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91104426ED; Mon, 14 Feb 2022 12:37:45 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 783E5426E4 for ; Mon, 14 Feb 2022 12:37:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838662; x=1676374662; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vHlQ64uz3Dgb1mKLToNRi7Pf8WCv4Cnh+ovSEE/ksgo=; b=Nh2t3A14aTyXiXjZeK0SQAZs92cWe6Yi5RvQ77Wbt36llZWf6H5qN3Ck RFVkulhsr4DvbVkmr4MlmZQ1Qz+EqNXYlhC3TRAIzkXKdRVJWM2vWWRMu 7H36+6N2t5SsBSU29bZ5VrEp3c6/RCwiTcUJVN7XmY4YZyjMzGZXMARnD mbPdUnfnJu1bjEMKan4F0eG3Od0B+Xt5wSpeK+BgFA+0pkM6NPpO4mj9B AfftPzrMnURA+Dri2x9TyASEph9TotvtcLjEjT+8g6YXDOXy6Wa52xtiW YSETLIOX2FmP+5Uc2NJS1VdogUeHueVX2d8AKFHTgtzzPfUsay3AdHeet Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619929" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619929" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087484" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:40 -0800 From: Sean Morrissey To: Jasvinder Singh , Bruce Richardson , Konstantin Ananyev , Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 24/50] net: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:06 +0000 Message-Id: <20220214113632.3184921-25-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/net/net_crc_avx512.c | 3 --- lib/net/net_crc_sse.c | 1 - lib/net/rte_arp.c | 1 - lib/net/rte_ether.h | 1 - lib/net/rte_net.h | 1 - lib/net/rte_net_crc.c | 2 -- 6 files changed, 9 deletions(-) diff --git a/lib/net/net_crc_avx512.c b/lib/net/net_crc_avx512.c index 3740fe3c9d..f6a3ce9bcd 100644 --- a/lib/net/net_crc_avx512.c +++ b/lib/net/net_crc_avx512.c @@ -2,11 +2,8 @@ * Copyright(c) 2020 Intel Corporation */ -#include #include -#include -#include #include "net_crc.h" diff --git a/lib/net/net_crc_sse.c b/lib/net/net_crc_sse.c index 053b54b390..dd75845636 100644 --- a/lib/net/net_crc_sse.c +++ b/lib/net/net_crc_sse.c @@ -6,7 +6,6 @@ #include #include -#include #include "net_crc.h" diff --git a/lib/net/rte_arp.c b/lib/net/rte_arp.c index 9f7eb6b375..22af519586 100644 --- a/lib/net/rte_arp.c +++ b/lib/net/rte_arp.c @@ -3,7 +3,6 @@ */ #include -#include #define RARP_PKT_SIZE 64 struct rte_mbuf * diff --git a/lib/net/rte_ether.h b/lib/net/rte_ether.h index 3d9852d9e2..bf8a55ba06 100644 --- a/lib/net/rte_ether.h +++ b/lib/net/rte_ether.h @@ -18,7 +18,6 @@ extern "C" { #include #include -#include #include #include #include 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 #include #include -#include /** * Structure containing header lengths associated to a packet, filled diff --git a/lib/net/rte_net_crc.c b/lib/net/rte_net_crc.c index d9a526ab7b..a685f9e7bb 100644 --- a/lib/net/rte_net_crc.c +++ b/lib/net/rte_net_crc.c @@ -3,13 +3,11 @@ */ #include -#include #include #include #include #include -#include #include #include From patchwork Mon Feb 14 11:36:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107478 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0696DA00C5; Mon, 14 Feb 2022 12:39:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90E55426EF; Mon, 14 Feb 2022 12:37:46 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 91FFD426D3 for ; Mon, 14 Feb 2022 12:37:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838663; x=1676374663; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KYIoP8W6bKrVbI8V0gOlcjN4k9F2lpkQPt5t6EqpGYU=; b=DZngrX58UXyxmzhgMni2E+2s1JXLfzdI70ioUZ1kwNtNzNvIjedX7A9h U3olZ0SpnhWN87mmAIt6UkRokz5UqiMc/TiaDqpbk2XD8TkRcnWvyiBaN TDE6mSQF+HY6rp0qhOkQ4tf0TSuFZ0NB551L5RBf1ogNxQPD+/f9scipg dpyc0pE2i+ch33rEmIN3jGlJe7Fm8CIZ13zfxtMIx7xjSeranhdQR9tZm ZeDylrc+CYZVCEGNIbB+rqWOaAu4aLvl/flkeZ1RWUXOR2gEYof8zr7Vd Gr8mY87SN3fHi9LQo2L5nu8Egd8DdEFb7QIiGwJzvl9Lr1P3QWyXfTODh g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619932" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619932" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087490" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:42 -0800 From: Sean Morrissey To: Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 25/50] metrics: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:07 +0000 Message-Id: <20220214113632.3184921-26-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/metrics/rte_metrics.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/metrics/rte_metrics.c b/lib/metrics/rte_metrics.c index e2a0fbeda8..0c7878e65f 100644 --- a/lib/metrics/rte_metrics.c +++ b/lib/metrics/rte_metrics.c @@ -3,13 +3,10 @@ */ #include -#include #include #include -#include #include -#include #include #include From patchwork Mon Feb 14 11:36:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107479 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 93DE7A00C5; Mon, 14 Feb 2022 12:39:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87160426F2; Mon, 14 Feb 2022 12:37:47 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id E1A37426EA for ; Mon, 14 Feb 2022 12:37:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838665; x=1676374665; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5nYrCTy+lMMYB4vECTlaMQnwvxIeENPvuBLz5MGZejQ=; b=dg18B4qoJ0D3XOrndHaflGse8RdY4OOa7bGBDJHuR4hzD7Hqst7RgRAX +oeSAHs+QeiSKPucEzpCF27uzCurQ1/4+Muqkxk8onsUWEH/P5qT0Vf3P +NmXrpk88BmnQzvEBaFusI/+6+HecBt2shmRaVsgbnUA8qkFETQ2grAcj Tz6TAmv2DnGVnIrque74QN83xKuEkRfYzbqVjzl7DKmE4tbxQsSsXCfn2 4ZThMEx4ZV3itJSHzN8IP33gOv1x3OH6aghBLZ7HSlhN+g/oJ7wG7hb+9 LhlIJ6jhPCWzShDPuhI+Av+5fsqCDNSHTt7H1uDH3yPWoEWGK8kPqokEE g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619933" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619933" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087501" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:43 -0800 From: Sean Morrissey To: Olivier Matz , Andrew Rybchenko Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 26/50] mempool: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:08 +0000 Message-Id: <20220214113632.3184921-27-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/mempool/rte_mempool.c | 7 ------- lib/mempool/rte_mempool.h | 4 ---- 2 files changed, 11 deletions(-) diff --git a/lib/mempool/rte_mempool.c b/lib/mempool/rte_mempool.c index c5a699b1d6..de59009baf 100644 --- a/lib/mempool/rte_mempool.c +++ b/lib/mempool/rte_mempool.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include @@ -19,16 +18,10 @@ #include #include #include -#include -#include #include #include -#include -#include -#include #include #include -#include #include #include #include diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h index 1e7a3c1527..5f9f9ead9b 100644 --- a/lib/mempool/rte_mempool.h +++ b/lib/mempool/rte_mempool.h @@ -34,17 +34,13 @@ */ #include -#include #include -#include #include #include #include -#include #include #include -#include #include #include #include From patchwork Mon Feb 14 11:36:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107480 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7C4CEA00C5; Mon, 14 Feb 2022 12:39:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABC454114E; Mon, 14 Feb 2022 12:38:00 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 5638F410F3 for ; Mon, 14 Feb 2022 12:37:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838666; x=1676374666; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MU/REjD7QD1HrjqUZ6oqJjoOAWK4aPeQcd81LisMSuU=; b=YejTytACU/c3BHMj57HABjBsV9aJ5CraIODguiVWYBkUmK5FoFlPN4k9 tlamE8kA8bb0dYyI/klqVz7VKcUDue5tySN73LVBj3lIxlAoL1wOX81Hy IcMWaExN34x3efQne6lwoiny+1ULmaP9Dxos67sLp0BY3o52dw5qkwSVh CyOjF0QuR/buKdvIDFq40VJi6QsL9Xy4959KeIbvvvCVtQUwndXA4dHEg 0SxrSAESW0Y5+LNpN4b38ruFH7Ej9mtViRGxC25qlb0PJrM/PzN9Ewiuj 3tLRboZjEGl+hZnoW4clI+kOxa15mz6U8XKs5x/P+VSH4sUmWezBBvPIs w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619934" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619934" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087507" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:44 -0800 From: Sean Morrissey To: Yipeng Wang , Sameh Gobriel Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 27/50] member: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:09 +0000 Message-Id: <20220214113632.3184921-28-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/member/rte_member.c | 2 -- lib/member/rte_member.h | 1 - lib/member/rte_member_vbf.c | 1 - 3 files changed, 4 deletions(-) diff --git a/lib/member/rte_member.c b/lib/member/rte_member.c index 9dd55a5adf..7e1632e6b5 100644 --- a/lib/member/rte_member.c +++ b/lib/member/rte_member.c @@ -5,9 +5,7 @@ #include #include -#include #include -#include #include #include #include diff --git a/lib/member/rte_member.h b/lib/member/rte_member.h index c0689e233e..567ee0c84b 100644 --- a/lib/member/rte_member.h +++ b/lib/member/rte_member.h @@ -52,7 +52,6 @@ extern "C" { #include #include -#include /** The set ID type that stored internally in hash table based set summary. */ typedef uint16_t member_set_t; diff --git a/lib/member/rte_member_vbf.c b/lib/member/rte_member_vbf.c index 8a232bae02..9df4620cff 100644 --- a/lib/member/rte_member_vbf.c +++ b/lib/member/rte_member_vbf.c @@ -6,7 +6,6 @@ #include #include -#include #include #include From patchwork Mon Feb 14 11:36:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107481 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3411BA00C5; Mon, 14 Feb 2022 12:39:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81D1141168; Mon, 14 Feb 2022 12:38:01 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 90221426F3 for ; Mon, 14 Feb 2022 12:37:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838667; x=1676374667; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=y+DE9r6OXVcOknqpQgg1o9Sf5KW0Q+PMkFmO+UW4sH8=; b=HOJpTL1i9rjtaQ349kKmFVLqj0wpOaQzvCUZQErq3UraGtBJWxto6POO AWiBvvU91tQul5nb0EIlbUkS9HLi40fn/AnxCJKqzbjy3upwaItrg+EXU Hjn5XafQHVXP0taLiN/YJ2xbjG9QGeyhkI4r4LWhqDVGwTjQzQM9if193 cWKUxF8KQlnHOQcV53YD/QQYQiijzeg+O3hqeOP7RQ+z09r/6mQVk8hYz 6x+G2acxGfh+Kjk7SslAxwsrHcW663/KcIZ4OB833R8UuyYMlieGHHJ3F Z5WztIkRQ/mp9ADJV+8SpSjWIlGhqH+Ov5cMfA/GyuWOCSEgXhmWwYz/W g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619938" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619938" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087516" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:46 -0800 From: Sean Morrissey To: Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 28/50] mbuf: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:10 +0000 Message-Id: <20220214113632.3184921-29-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/mbuf/rte_mbuf.c | 11 ----------- lib/mbuf/rte_mbuf.h | 2 -- lib/mbuf/rte_mbuf_dyn.h | 2 -- lib/mbuf/rte_mbuf_pool_ops.c | 1 - lib/mbuf/rte_mbuf_pool_ops.h | 1 - 5 files changed, 17 deletions(-) diff --git a/lib/mbuf/rte_mbuf.c b/lib/mbuf/rte_mbuf.c index 604d77bbda..87592faccb 100644 --- a/lib/mbuf/rte_mbuf.c +++ b/lib/mbuf/rte_mbuf.c @@ -5,28 +5,17 @@ #include #include -#include #include -#include #include #include -#include -#include -#include #include #include #include -#include -#include -#include -#include -#include #include #include #include #include -#include #include #include #include diff --git a/lib/mbuf/rte_mbuf.h b/lib/mbuf/rte_mbuf.h index dedf83c38d..9811e8c760 100644 --- a/lib/mbuf/rte_mbuf.h +++ b/lib/mbuf/rte_mbuf.h @@ -36,10 +36,8 @@ #include #include #include -#include #include #include -#include #include #include diff --git a/lib/mbuf/rte_mbuf_dyn.h b/lib/mbuf/rte_mbuf_dyn.h index 29abe8da53..ed8e57b350 100644 --- a/lib/mbuf/rte_mbuf_dyn.h +++ b/lib/mbuf/rte_mbuf_dyn.h @@ -68,9 +68,7 @@ #include #include -#include -#include #ifdef __cplusplus extern "C" { diff --git a/lib/mbuf/rte_mbuf_pool_ops.c b/lib/mbuf/rte_mbuf_pool_ops.c index f0e87a1412..4c91f4ce85 100644 --- a/lib/mbuf/rte_mbuf_pool_ops.c +++ b/lib/mbuf/rte_mbuf_pool_ops.c @@ -3,7 +3,6 @@ */ #include -#include #include #include #include diff --git a/lib/mbuf/rte_mbuf_pool_ops.h b/lib/mbuf/rte_mbuf_pool_ops.h index 7ed95a49a4..00cddb83ba 100644 --- a/lib/mbuf/rte_mbuf_pool_ops.h +++ b/lib/mbuf/rte_mbuf_pool_ops.h @@ -14,7 +14,6 @@ * the best mempool ops available. */ -#include #ifdef __cplusplus extern "C" { From patchwork Mon Feb 14 11:36:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107482 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E9A17A00C5; Mon, 14 Feb 2022 12:39:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A6E9426F3; Mon, 14 Feb 2022 12:38:02 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 8E7D741140 for ; Mon, 14 Feb 2022 12:37:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838669; x=1676374669; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZU/fWrSJ9Sly2GpqY+l+YVjU2sUVtRoeqVwHXFKvJlU=; b=Md9/+OlaH9PXXg5Lc2x1zJR8hubgIh5B8rIzmoHzJqLKKAnI/Ocuk+87 V+VyziFWc6xMtBT5U7rJTzGu5oJ7p7YpCMecyNVze+JFmk/ug2G5Ui0bQ chhwOU8QieUhqKK0xrX26L5uICg3Nzq1eOzIy87KFvifVftB4cfbG4S0J apTzYoGv26f20vNP8IuOs4UHMrSIz/xyT3Vwgz00LcjwzbIFzrOAW+Esp 1JMbyAnYBChatP1GI0JeO/5p0ZKRdCpuJ7XPRJTROP4C89tplSdpTxldP 6x7jQleQ3uZSA6FDrTl8gk7f9uEa65Nr/BxGC4lYaD3GPwvjzJPFHqiPp w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619946" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619946" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087641" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:47 -0800 From: Sean Morrissey To: Bruce Richardson , Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 29/50] lpm: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:11 +0000 Message-Id: <20220214113632.3184921-30-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/lpm/rte_lpm.c | 7 ------- lib/lpm/rte_lpm.h | 4 ---- lib/lpm/rte_lpm6.c | 7 ------- lib/lpm/rte_lpm6.h | 1 - 4 files changed, 19 deletions(-) diff --git a/lib/lpm/rte_lpm.c b/lib/lpm/rte_lpm.c index 002811f4de..cdcd1b7f9e 100644 --- a/lib/lpm/rte_lpm.c +++ b/lib/lpm/rte_lpm.c @@ -6,22 +6,15 @@ #include #include #include -#include #include #include #include -#include #include -#include /* for definition of RTE_CACHE_LINE_SIZE */ #include -#include #include -#include #include #include -#include -#include #include #include "rte_lpm.h" diff --git a/lib/lpm/rte_lpm.h b/lib/lpm/rte_lpm.h index 5eb14c1748..eb91960e81 100644 --- a/lib/lpm/rte_lpm.h +++ b/lib/lpm/rte_lpm.h @@ -12,13 +12,9 @@ */ #include -#include #include -#include #include #include -#include -#include #include #include #include diff --git a/lib/lpm/rte_lpm6.c b/lib/lpm/rte_lpm6.c index 73768fc956..8d21aeddb8 100644 --- a/lib/lpm/rte_lpm6.c +++ b/lib/lpm/rte_lpm6.c @@ -4,23 +4,16 @@ #include #include #include -#include #include #include #include -#include #include -#include #include #include -#include #include -#include #include #include -#include -#include #include #include #include diff --git a/lib/lpm/rte_lpm6.h b/lib/lpm/rte_lpm6.h index f96f3372e5..9b07260d5a 100644 --- a/lib/lpm/rte_lpm6.h +++ b/lib/lpm/rte_lpm6.h @@ -10,7 +10,6 @@ */ #include -#include #ifdef __cplusplus extern "C" { From patchwork Mon Feb 14 11:36:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107483 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 19F85A00C5; Mon, 14 Feb 2022 12:39:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 70B76426FA; Mon, 14 Feb 2022 12:38:03 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D652141140 for ; Mon, 14 Feb 2022 12:37:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838671; x=1676374671; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=anC25U6lCPtF3M+fedWTaRe18+D0LFk1yWV5TY5ByDU=; b=Sk3GZ8dS+cseTHwFs02ct3gxl+7U7Ed6t8JPHXPvoaEbxsQQGc2/XM/v +kpJGNRNXaC9kSNwjeMgywsj8w0t/yOE8cg5M4cX9EBqglTpcZ038fVBl XTUXipCPyqdMSjf0Ca/UCicqbG5Geo3KWvOjBV6aTJQE9cjmtnLixc3Wk iDIj+MRncOlWVaMnvhG1Ho8AaMMT+4hOy9tsLM7jN+juWQVXuBVXK1Hb9 wTGyQ+PEP3PM/lahP27FKP1vxr2B+XXtmyYfuNRbOWwKKQk66umI2Itmy IN4VdVdLcigAGJ5N06ksRKjY7JiOKPBIjEyTGZkS3RsBz7O/+MIYp43Ka g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619947" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619947" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087659" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:49 -0800 From: Sean Morrissey To: Reshma Pattan Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 30/50] latencystats: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:12 +0000 Message-Id: <20220214113632.3184921-31-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/latencystats/rte_latencystats.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/latencystats/rte_latencystats.c b/lib/latencystats/rte_latencystats.c index ab8db7a139..8985a377db 100644 --- a/lib/latencystats/rte_latencystats.c +++ b/lib/latencystats/rte_latencystats.c @@ -2,13 +2,9 @@ * Copyright(c) 2018 Intel Corporation */ -#include -#include -#include #include #include -#include #include #include #include From patchwork Mon Feb 14 11:36:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107484 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9B3EEA00C5; Mon, 14 Feb 2022 12:39:46 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64074426FF; Mon, 14 Feb 2022 12:38:04 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 2433D41140 for ; Mon, 14 Feb 2022 12:37:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838672; x=1676374672; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pGdplYfecC+JqqjMimlHuyEnHK2NopXUrT877UPIQLQ=; b=HsqOsQ+bf8fuZr+M5/5JrRJNAfqlzyInpvAR6O+wMMDSpGrPYmrpIP2h G2Q4tf0mB32gornY8lfvVv3nv9zrXa9xrLaui9yDG3IRtP8TP+cLVxjkF ZTldGVXSSko82fU8KgMDq/1G0AYEDU//7zdkOtoHcrMmC85go0Y/QJ1mf 2XTxVMqEqs6xUCn7mgkPgJ7f8oar5aQYCK2DF1eEDI6afyiUeNYWVQJ0t Zreq0lllJ2D3FMdT76JQ6+2lTcYx1EEhGNq+jOobZ/9DbHxk49OvIg5RR a9+62zsTFUleUmTAPpcdzXnmdxe+vtRiHWUHHK4mBUkEUX4nPd4p8p0+B w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619952" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619952" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087674" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:50 -0800 From: Sean Morrissey To: Ferruh Yigit Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 31/50] kni: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:13 +0000 Message-Id: <20220214113632.3184921-32-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/kni/rte_kni.c | 2 -- lib/kni/rte_kni.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/kni/rte_kni.c b/lib/kni/rte_kni.c index fc8f0e7b5a..7971c56bb4 100644 --- a/lib/kni/rte_kni.c +++ b/lib/kni/rte_kni.c @@ -12,7 +12,6 @@ #include #include -#include #include #include #include @@ -20,7 +19,6 @@ #include #include #include -#include #include #include #include "rte_kni_fifo.h" diff --git a/lib/kni/rte_kni.h b/lib/kni/rte_kni.h index b0eaf46104..b85d3dd32b 100644 --- a/lib/kni/rte_kni.h +++ b/lib/kni/rte_kni.h @@ -18,8 +18,6 @@ */ #include -#include -#include #include #include From patchwork Mon Feb 14 11:36:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107485 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 79B60A00C5; Mon, 14 Feb 2022 12:39:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A7E642702; Mon, 14 Feb 2022 12:38:05 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 2DB1941140 for ; Mon, 14 Feb 2022 12:37:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838673; x=1676374673; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FELRGDbs0t6EK7C56kMNNVL1QBPrMpzknsnkhQIVnNY=; b=kAYuqxuO99pKLwvvKX+kI/tXb0alz3215wWUXdVO1qtIX4AObFSdx+MQ 7z5e4W96pGWkkLtvKc+3HYtW4gGbAUoMkzP4KnJMGWJcpk+VnIGHeqDQd 4nZtFfHjlC1UoMwihQmNJi8PtOHjE3K+RvmhnZecLyFzGK1TKaF5cbJkR OREi3ISNZSZ5v779pvQxN7U9GyNclF4of5l3Z/13dNvDeCGE4KIWQNv9S oUE8nnL3OvPLOZxrro9mXXtMNDsFgNiSlNQ9fsqtWc+DERjp9fqXEaakZ cQiYvO5xTu6CXrUyAADB0oh/+THz7NPNsTiBpK59CElRAchEhPziHBmd/ w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619955" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619955" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087688" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:52 -0800 From: Sean Morrissey To: Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 32/50] jobstats: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:14 +0000 Message-Id: <20220214113632.3184921-33-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/jobstats/rte_jobstats.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/jobstats/rte_jobstats.c b/lib/jobstats/rte_jobstats.c index 9b8fde5d55..af565a14ea 100644 --- a/lib/jobstats/rte_jobstats.c +++ b/lib/jobstats/rte_jobstats.c @@ -7,10 +7,7 @@ #include #include -#include #include -#include -#include #include #include From patchwork Mon Feb 14 11:36:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107486 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2F957A00C5; Mon, 14 Feb 2022 12:39:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3902B42707; Mon, 14 Feb 2022 12:38:06 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id DF6B041140 for ; Mon, 14 Feb 2022 12:37:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838675; x=1676374675; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zEiz47CG+vBIA4HwZ6Xk8p6JmWzuUDtRLy3kBBLVsVQ=; b=EbEsXMfYG29JV4dOEqDyEAJ7U7GVYwfwIieZloN13XUL0QxlJZr5nSX5 vy3Ssl1/3KUjzLpjyKRFMymXk7F6uwelLV6EM/vLmJWJYew4TsEY/fY1V yrZ/019/ea8GKjWxX0zIt2AqLiVRr5/tMsC/0o7eTTBqlCUgVcp2o5HYP pKKlvLiyiGTIB0gd8D2eGYZc1cwDORaF/+IvLXW7sWpWV9BndrMakNgml Y4Sfdj6Wq3SiZ0SRhfcVR+OaOKruAUkx6KAUAP8dFiRNf2wcq5bXxMdOb apyyyvAHF+QDxfeQBYkxw7eqZlYrLuKDExWuVUEN/WJl+qDldj8ibO5rS g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619960" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619960" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087757" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:53 -0800 From: Sean Morrissey To: Konstantin Ananyev , Bernard Iremonger , Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 33/50] ipsec: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:15 +0000 Message-Id: <20220214113632.3184921-34-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/ipsec/esp_inb.c | 1 - lib/ipsec/esp_outb.c | 1 - lib/ipsec/ipsec_sad.c | 1 - lib/ipsec/sa.c | 3 --- lib/ipsec/sa.h | 1 - 5 files changed, 7 deletions(-) diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c index 636c850fa6..f159bf7460 100644 --- a/lib/ipsec/esp_inb.c +++ b/lib/ipsec/esp_inb.c @@ -4,7 +4,6 @@ #include #include -#include #include #include diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c index 672e56aba0..6925bb9945 100644 --- a/lib/ipsec/esp_outb.c +++ b/lib/ipsec/esp_outb.c @@ -4,7 +4,6 @@ #include #include -#include #include #include #include diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c index 531e1e323c..6f3860e3f5 100644 --- a/lib/ipsec/ipsec_sad.c +++ b/lib/ipsec/ipsec_sad.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include "rte_ipsec_sad.h" diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c index cdb70af0cb..1b673b6a18 100644 --- a/lib/ipsec/sa.c +++ b/lib/ipsec/sa.c @@ -7,14 +7,11 @@ #include #include #include -#include #include "sa.h" #include "ipsec_sqn.h" #include "crypto.h" -#include "iph.h" #include "misc.h" -#include "pad.h" #define MBUF_MAX_L2_LEN RTE_LEN2MASK(RTE_MBUF_L2_LEN_BITS, uint64_t) #define MBUF_MAX_L3_LEN RTE_LEN2MASK(RTE_MBUF_L3_LEN_BITS, uint64_t) diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h index 7503587b50..46f9a4df5b 100644 --- a/lib/ipsec/sa.h +++ b/lib/ipsec/sa.h @@ -5,7 +5,6 @@ #ifndef _SA_H_ #define _SA_H_ -#include #define IPSEC_MAX_HDR_SIZE 64 #define IPSEC_MAX_IV_SIZE 16 From patchwork Mon Feb 14 11:36:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107487 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C0A20A00C5; Mon, 14 Feb 2022 12:40:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19F4C4270A; Mon, 14 Feb 2022 12:38:07 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 2C49341140 for ; Mon, 14 Feb 2022 12:37:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838676; x=1676374676; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oFtCIY9g6Hsg2q6+a7A5v0IICJ44O3S20oISZ5/MgMg=; b=QK7OQDAGpYp8vCcPOuVtsMdVonHZoJWVUedNMLrYGkbus1aXCMYCj2Hy K6og4QynyEOjMNinTRLTfB++VzNgTuduBkkDAsMziPFXr7TuLbSpRxhqv 6+tMYoa7IqYAf7a7Jc/4iuv4icL65IdqCRmUq6+6wsQ5xQHr5svnEWRcs GEKHHZt/Yx9wkg+PvNL3pTRJHtAiJZAWNmjbm4Tvnz57wEecfrTHkcRrD FYs0avJZBmf6gwcaFlcIyeoS90m87H39zwYbYptbu7RzRlz9MUpwMftId ahqiEXg0ThRHjsrJErrFq3Pcz2O6Y+EgY8R6dtfc3DoDOvK2AEWaBN7JK Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619964" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619964" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087786" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:54 -0800 From: Sean Morrissey To: Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 34/50] ip_frag: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:16 +0000 Message-Id: <20220214113632.3184921-35-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/ip_frag/rte_ip_frag_common.c | 1 - lib/ip_frag/rte_ipv4_fragmentation.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/ip_frag/rte_ip_frag_common.c b/lib/ip_frag/rte_ip_frag_common.c index 2c781a6d33..c1de2e81b6 100644 --- a/lib/ip_frag/rte_ip_frag_common.c +++ b/lib/ip_frag/rte_ip_frag_common.c @@ -5,7 +5,6 @@ #include #include -#include #include #include "ip_frag_common.h" diff --git a/lib/ip_frag/rte_ipv4_fragmentation.c b/lib/ip_frag/rte_ipv4_fragmentation.c index 2e7739d027..669682a0cf 100644 --- a/lib/ip_frag/rte_ipv4_fragmentation.c +++ b/lib/ip_frag/rte_ipv4_fragmentation.c @@ -6,8 +6,6 @@ #include #include -#include -#include #include #include "ip_frag_common.h" From patchwork Mon Feb 14 11:36:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107488 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CC7B4A00C5; Mon, 14 Feb 2022 12:40:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1860842710; Mon, 14 Feb 2022 12:38:08 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D3AE441140 for ; Mon, 14 Feb 2022 12:37:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838679; x=1676374679; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BvTTtictC4X23XZOZ/TZi3Rrp6NCD08P285Eo++1DvU=; b=NBHc39lMjzaQU+Te4ktvTwKjz1QRD3LRdVs3U+/OD6c4ErUfYHt1hJ2r q9HQQkCIGSZXbItX+a7RP3Yr7YjQvD1ngg+K2zYqwIQ7V64Lh1HcTPXL9 NL5O4JQV0QRfQl9hRnNNdC87/ZMqMTv98G4pg4iunI+MtcBHSw30vMEU9 PDVDPLdfaeiFII8JG1BJQOIkYX4cs7ETkDBE/Xc6aZrQ4wdvNsbqePyWq faCueAIC20uyVoNlUSQCbUK0pWzyDUe8G3uAojnjbZo4TnyYRd05ptKlY fnorZigjTiWDSwkvKpqOIB7V2TNdTxQrZtN4/EiPrwYHTS66se9zgomOy w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619974" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619974" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087793" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:56 -0800 From: Sean Morrissey To: Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 35/50] hash: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:17 +0000 Message-Id: <20220214113632.3184921-36-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/hash/rte_cuckoo_hash.c | 4 ---- lib/hash/rte_fbk_hash.c | 6 ------ lib/hash/rte_fbk_hash.h | 1 - lib/hash/rte_thash.c | 1 - lib/hash/rte_thash.h | 1 - 5 files changed, 13 deletions(-) diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c index 1191dfd81a..490f94af4b 100644 --- a/lib/hash/rte_cuckoo_hash.c +++ b/lib/hash/rte_cuckoo_hash.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include @@ -16,14 +15,11 @@ #include #include #include -#include #include -#include #include #include #include #include -#include #include #include #include diff --git a/lib/hash/rte_fbk_hash.c b/lib/hash/rte_fbk_hash.c index 576e8e6662..538b23a403 100644 --- a/lib/hash/rte_fbk_hash.c +++ b/lib/hash/rte_fbk_hash.c @@ -4,22 +4,16 @@ #include #include -#include #include #include #include -#include -#include #include #include #include -#include #include #include -#include #include -#include #include #include "rte_fbk_hash.h" diff --git a/lib/hash/rte_fbk_hash.h b/lib/hash/rte_fbk_hash.h index 9c3a61c1d6..b01126999b 100644 --- a/lib/hash/rte_fbk_hash.h +++ b/lib/hash/rte_fbk_hash.h @@ -24,7 +24,6 @@ extern "C" { #include -#include #include #include diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c index 6847e36f4b..0249883b8d 100644 --- a/lib/hash/rte_thash.c +++ b/lib/hash/rte_thash.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include diff --git a/lib/hash/rte_thash.h b/lib/hash/rte_thash.h index c11ca0d5b8..451f64043a 100644 --- a/lib/hash/rte_thash.h +++ b/lib/hash/rte_thash.h @@ -21,7 +21,6 @@ extern "C" { #include #include -#include #include #include #include From patchwork Mon Feb 14 11:36:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107489 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3A443A00C5; Mon, 14 Feb 2022 12:40:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E24442719; Mon, 14 Feb 2022 12:38:09 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id EEB9041140 for ; Mon, 14 Feb 2022 12:37:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838680; x=1676374680; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XP47NBmybwv8nHxfUrQkJi+EXHwHs9W7YkoCGL3jIw0=; b=IkAsb9a7KgoH91GKhe1IeuLra3nQcQP/Nfju3F9u9om6BcS/36cH9Mkh FqrYyHK06dife+5M/zU/wIBiygqJXlVzx9yyN99oc+HVt/dHqyoeVlgr2 Sr8fb4ZFMGoKRG9yq3JdhdJIcQ/QetKNi1Hp0lF2gtH79FhcTLdyzSBA3 szdwl+cI1OYJfdGgk9gamSUKbl8h0fnWXdr4U/2QCbOESbbuL4CbwtTrN GPlcAH5G5aCcZc6B+7td/ytFnMHTE00/LcUROgDg/PbN0T9oJkPb5j1LK 3I/55XJw40qnIFe/87mSYO9M3tjaBda98z+xPEGcn6F7HSNadGql5QeJK Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619980" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619980" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:37:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087810" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:58 -0800 From: Sean Morrissey To: Jiayu Hu Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 36/50] gro: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:18 +0000 Message-Id: <20220214113632.3184921-37-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- 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(-) diff --git a/lib/gro/gro_tcp4.c b/lib/gro/gro_tcp4.c index aff22178e3..7498c66141 100644 --- a/lib/gro/gro_tcp4.c +++ b/lib/gro/gro_tcp4.c @@ -4,7 +4,6 @@ #include #include -#include #include #include "gro_tcp4.h" diff --git a/lib/gro/gro_tcp4.h b/lib/gro/gro_tcp4.h index bb875a5ef0..212f97a042 100644 --- a/lib/gro/gro_tcp4.h +++ b/lib/gro/gro_tcp4.h @@ -5,9 +5,7 @@ #ifndef _GRO_TCP4_H_ #define _GRO_TCP4_H_ -#include #include -#include #define INVALID_ARRAY_INDEX 0xffffffffUL #define GRO_TCP4_TBL_MAX_ITEM_NUM (1024UL * 1024UL) diff --git a/lib/gro/gro_udp4.c b/lib/gro/gro_udp4.c index e78dda7874..dd71135ada 100644 --- a/lib/gro/gro_udp4.c +++ b/lib/gro/gro_udp4.c @@ -4,7 +4,6 @@ #include #include -#include #include #include "gro_udp4.h" diff --git a/lib/gro/gro_udp4.h b/lib/gro/gro_udp4.h index d38b393f79..6467d7bc3b 100644 --- a/lib/gro/gro_udp4.h +++ b/lib/gro/gro_udp4.h @@ -6,8 +6,6 @@ #define _GRO_UDP4_H_ #include -#include -#include #define INVALID_ARRAY_INDEX 0xffffffffUL #define GRO_UDP4_TBL_MAX_ITEM_NUM (1024UL * 1024UL) diff --git a/lib/gro/gro_vxlan_tcp4.c b/lib/gro/gro_vxlan_tcp4.c index 2005899afe..3be4deb7c7 100644 --- a/lib/gro/gro_vxlan_tcp4.c +++ b/lib/gro/gro_vxlan_tcp4.c @@ -4,7 +4,6 @@ #include #include -#include #include #include diff --git a/lib/gro/gro_vxlan_udp4.c b/lib/gro/gro_vxlan_udp4.c index 4767c910bb..b78a7ae89e 100644 --- a/lib/gro/gro_vxlan_udp4.c +++ b/lib/gro/gro_vxlan_udp4.c @@ -4,7 +4,6 @@ #include #include -#include #include #include diff --git a/lib/gro/rte_gro.c b/lib/gro/rte_gro.c index 8ca4da67e9..6f7dd4d709 100644 --- a/lib/gro/rte_gro.c +++ b/lib/gro/rte_gro.c @@ -3,7 +3,6 @@ */ #include -#include #include #include From patchwork Mon Feb 14 11:36:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107490 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B2EFEA00C5; Mon, 14 Feb 2022 12:40:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7793742721; Mon, 14 Feb 2022 12:38:10 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D625841150 for ; Mon, 14 Feb 2022 12:38:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838682; x=1676374682; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sJObvPCdUvZFNTWXaNQKH3ipjpgXCWWxP3KjfvB5v14=; b=HVbCmm1B99cN3uqJCrLVSgGlaE7p7YDhucti01Wg7nyQNvJaoGZX1VkY szi6nPdy3oK/mI4DevWGIMokWTttgJLNdiYeabICOm9kChpuPVrd2DH0m Enev/AvPPpWt+WMui4T90z+RhXqY7PZmrua9uzlUXQAn2+T5zcgWBm3sq TcDqtF0Qpfk7fsVOhMyX0ERJmgpbmVL34kHl5N/55T3Q06bfM3SAhAM2j 9qBt6RplOy0Y2GOlf2g+LoR86+bVEKT+PVVzr1Or+7NPOBvS2o4vSKpfl Dvz9odkl31Nx6aNJGSgQgW7/ZYnKCX7aXxDMGVpJ1rBkALUYujXJEokuV g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619984" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619984" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087842" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:59 -0800 From: Sean Morrissey To: Jerin Jacob , Kiran Kumar K , Nithin Dabilpuram Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 37/50] graph: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:19 +0000 Message-Id: <20220214113632.3184921-38-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- 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(-) diff --git a/lib/graph/graph_debug.c b/lib/graph/graph_debug.c index f8aea16acb..b84412f5dd 100644 --- a/lib/graph/graph_debug.c +++ b/lib/graph/graph_debug.c @@ -2,8 +2,6 @@ * Copyright(C) 2020 Marvell International Ltd. */ -#include -#include #include "graph_private.h" diff --git a/lib/graph/graph_ops.c b/lib/graph/graph_ops.c index 3355953118..20db58d84e 100644 --- a/lib/graph/graph_ops.c +++ b/lib/graph/graph_ops.c @@ -5,7 +5,6 @@ #include #include -#include #include #include "graph_private.h" diff --git a/lib/graph/graph_populate.c b/lib/graph/graph_populate.c index 093512efab..102fd6c29b 100644 --- a/lib/graph/graph_populate.c +++ b/lib/graph/graph_populate.c @@ -2,8 +2,6 @@ * Copyright(C) 2020 Marvell International Ltd. */ -#include -#include #include #include diff --git a/lib/graph/node.c b/lib/graph/node.c index 86ec4316f9..79230035a2 100644 --- a/lib/graph/node.c +++ b/lib/graph/node.c @@ -8,7 +8,6 @@ #include #include -#include #include #include From patchwork Mon Feb 14 11:36:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107491 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 21A48A00C5; Mon, 14 Feb 2022 12:40:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D71A42723; Mon, 14 Feb 2022 12:38:11 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id EDA4C426F8 for ; Mon, 14 Feb 2022 12:38:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838683; x=1676374683; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kk1YaEcACCuuV8r76OQ+jrE0NSku25WDvI4W9Eb20ls=; b=mp047v1YglbIpS1IMNFbCuNxhGOAsU6PSbG0hNMp/npRjpyXHyiFS/g5 TYZr3RiPmXd92O96D7cQWTpTTbwUyrFGeg+rn5KagmMsDshydDJOxw+mJ ryHhW45XDRdECIe3LvbhcSqBxABYJXBThfbp4mBNGbu6GNelmTU43GxPz KFt+I6p35LJL/n8Ijnplh4cU/HRQx0ObxoOJR/5t+HIQKWHR+gR8Wq7n9 BtcIISzE63e61XAhHp7d6lsRv661QBLsj9hkHf9qORFutKubdQZPaDWhk Saf5p6wNOb52Gw8/2NBgGLdQ+Axa2odp2Vhkww0ehr7t6gRebzdiIcsFS Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619989" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619989" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087870" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:01 -0800 From: Sean Morrissey To: Elena Agostini Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 38/50] gpudev: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:20 +0000 Message-Id: <20220214113632.3184921-39-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/gpudev/gpudev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c index 59e2169292..1083a3003e 100644 --- a/lib/gpudev/gpudev.c +++ b/lib/gpudev/gpudev.c @@ -4,7 +4,6 @@ #include #include -#include #include #include #include From patchwork Mon Feb 14 11:36:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107492 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7EC72A00C5; Mon, 14 Feb 2022 12:40:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3782042728; Mon, 14 Feb 2022 12:38:12 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 4D30E426F4 for ; Mon, 14 Feb 2022 12:38:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838684; x=1676374684; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=++pfAzgNAHR9ygyv7/ck+Vc7pcygHB3IByZmmm5XKqw=; b=TZeki8uPGLhuHAfrUwsW0f9Q/EggPOx17DUC90inoyqXE23HX1Xgv8h+ p1HZ3by93S6YUpQvc/bfD9j/xZpkHW1qkgLlfJ9z6PsemEq2AQYyBZagG NHyc+pf3LvqYijeZl5VY9BdGEAuaG/YrIa8bTNVDHiIgq/YnjZdQoeBnt uznxLw1J6nfwIa1U1T45KLC38UhdkuMYgQPnECDjTvPktruHcJAGkWFTc MiUUJYCDjxOnG+S8/LZj7nY9Wm6YuazxGs7WNWo2rsLJcMpMwQlAeS5kX NWrz8eNOOfbTlTq6K4sUSy+UBGbRqhDWshN5v4QmjYOEkZQKKHBEjV+eM Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619994" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619994" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087898" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:02 -0800 From: Sean Morrissey To: Bernard Iremonger Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 39/50] flow_classify: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:21 +0000 Message-Id: <20220214113632.3184921-40-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- 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(-) diff --git a/lib/flow_classify/rte_flow_classify.c b/lib/flow_classify/rte_flow_classify.c index d3ba2ed227..e3667306e5 100644 --- a/lib/flow_classify/rte_flow_classify.c +++ b/lib/flow_classify/rte_flow_classify.c @@ -3,12 +3,9 @@ */ #include -#include #include #include "rte_flow_classify_parse.h" -#include #include -#include static uint32_t unique_id = 1; diff --git a/lib/flow_classify/rte_flow_classify.h b/lib/flow_classify/rte_flow_classify.h index 82ea92b6a6..39512b6206 100644 --- a/lib/flow_classify/rte_flow_classify.h +++ b/lib/flow_classify/rte_flow_classify.h @@ -45,11 +45,7 @@ #include #include -#include -#include #include -#include -#include #ifdef __cplusplus extern "C" { diff --git a/lib/flow_classify/rte_flow_classify_parse.c b/lib/flow_classify/rte_flow_classify_parse.c index 465330291f..345d129d35 100644 --- a/lib/flow_classify/rte_flow_classify_parse.c +++ b/lib/flow_classify/rte_flow_classify_parse.c @@ -4,7 +4,6 @@ #include #include "rte_flow_classify_parse.h" -#include struct classify_valid_pattern { enum rte_flow_item_type *items; diff --git a/lib/flow_classify/rte_flow_classify_parse.h b/lib/flow_classify/rte_flow_classify_parse.h index 365a07bd6d..7943efc0d4 100644 --- a/lib/flow_classify/rte_flow_classify_parse.h +++ b/lib/flow_classify/rte_flow_classify_parse.h @@ -6,7 +6,6 @@ #define _RTE_FLOW_CLASSIFY_PARSE_H_ #include -#include #include #include From patchwork Mon Feb 14 11:36:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107493 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1C92FA00C5; Mon, 14 Feb 2022 12:40:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 10CAD41152; Mon, 14 Feb 2022 12:38:24 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id DB3ED42705 for ; Mon, 14 Feb 2022 12:38:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838686; x=1676374686; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7N4aLqgbna4nRQeFy8OzdM7ZdC1VxvuUgd3kVR6oMaA=; b=Tm2oe2bGpA9AiWXWxjVH01nzfq/c8tZYu61qejnmFfc71XKigs/mGOt4 jfciV30fjqa57DLh0LR+o9wJG3EoyfJ9F13tv6y/8OKgDVeW9fko0tcuU R/+ayCF44FJuH3dhDEoQs75lAg/cmhD0bRNh4yC2dFev0L040qjaZj24T bJOUYDOrMtmA2OW875OUJbXPIcGmmFZK4heSLHbGRZQ7iN6wWqYxZH/nY Y3Fggddjgo67OVVIaTdEhHp/HVGa1TLhKhVF8MjlZq8aAC3vV4lfXs/n9 ZmGvbA6rKDYdjrMV2/8GUI9MZwuFBc9MgoVG26cjm2aloYAtTPyM/LCGu g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619995" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619995" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087919" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:04 -0800 From: Sean Morrissey To: Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 40/50] fib: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:22 +0000 Message-Id: <20220214113632.3184921-41-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- 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(-) diff --git a/lib/fib/dir24_8.c b/lib/fib/dir24_8.c index bb3bc9753b..a8ba4f64ca 100644 --- a/lib/fib/dir24_8.c +++ b/lib/fib/dir24_8.c @@ -4,15 +4,11 @@ */ #include -#include #include -#include -#include #include #include #include -#include #include #include diff --git a/lib/fib/rte_fib.c b/lib/fib/rte_fib.c index 0cced97a77..8af4c40919 100644 --- a/lib/fib/rte_fib.c +++ b/lib/fib/rte_fib.c @@ -6,11 +6,9 @@ #include #include -#include #include #include #include -#include #include #include diff --git a/lib/fib/rte_fib.h b/lib/fib/rte_fib.h index e592d3251a..90f28b7e11 100644 --- a/lib/fib/rte_fib.h +++ b/lib/fib/rte_fib.h @@ -17,7 +17,6 @@ #include -#include #ifdef __cplusplus extern "C" { diff --git a/lib/fib/rte_fib6.c b/lib/fib/rte_fib6.c index eebee297d6..4b8e22b142 100644 --- a/lib/fib/rte_fib6.c +++ b/lib/fib/rte_fib6.c @@ -6,11 +6,9 @@ #include #include -#include #include #include #include -#include #include #include diff --git a/lib/fib/rte_fib6.h b/lib/fib/rte_fib6.h index cb133719e1..62a425d9af 100644 --- a/lib/fib/rte_fib6.h +++ b/lib/fib/rte_fib6.h @@ -17,7 +17,6 @@ #include -#include #ifdef __cplusplus extern "C" { diff --git a/lib/fib/trie.c b/lib/fib/trie.c index 044095bf03..3e780afdaf 100644 --- a/lib/fib/trie.c +++ b/lib/fib/trie.c @@ -4,16 +4,11 @@ */ #include -#include #include -#include -#include #include #include #include -#include -#include #include #include diff --git a/lib/fib/trie.h b/lib/fib/trie.h index 9fd15ae79f..3cf161ae25 100644 --- a/lib/fib/trie.h +++ b/lib/fib/trie.h @@ -10,8 +10,6 @@ * @file * RTE IPv6 Longest Prefix Match (LPM) */ -#include -#include /* @internal Total number of tbl24 entries. */ #define TRIE_TBL24_NUM_ENT (1 << 24) From patchwork Mon Feb 14 11:36:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107494 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9D39AA00C5; Mon, 14 Feb 2022 12:40:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 147D641233; Mon, 14 Feb 2022 12:38:25 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9DC134270E for ; Mon, 14 Feb 2022 12:38:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838687; x=1676374687; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3VJAvmb17P29aDb/O7ssAKGuN4GOs7QsF0iW//kRZCY=; b=aX76d5VK93BihBS9Z9qeWr2ImgycAsUkH0eD2orA/BZKWwSeOB1oInzO Y35M/IUeGZ0FGeQ5xzj9/1NpOe+fZLUXxWLlP6JdM6tum/5u6R2Z9a2EC u4PZFoJ2wZGwLl6ix4WSgnwynPFZSkXl5hpugwRCL8xuntnEgs+/UtTQ+ M0aiSsPAjg0OPlteh8vXRnVxs2I7VVnwIEbk+26zIcIRc3E8JFFyHLEep zzXwgQM2X6GogI0Jh+xsfiT3Nge3fHcpThr8p75s4AeuQ4kHH+U1lVbSi yUqJbSlXCUsTJtT1XDFku+Z249qb1c4i0Td9uSuebnNxishbGvS6pydSS g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233620002" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233620002" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087939" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:05 -0800 From: Sean Morrissey To: Jerin Jacob , Erik Gabriel Carrillo Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 41/50] eventdev: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:23 +0000 Message-Id: <20220214113632.3184921-42-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- 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(-) diff --git a/lib/eventdev/rte_event_ring.c b/lib/eventdev/rte_event_ring.c index d27e23901d..c070715148 100644 --- a/lib/eventdev/rte_event_ring.c +++ b/lib/eventdev/rte_event_ring.c @@ -3,13 +3,7 @@ * Copyright(c) 2019 Arm Limited */ -#include -#include -#include -#include -#include -#include #include "rte_event_ring.h" int diff --git a/lib/eventdev/rte_event_ring.h b/lib/eventdev/rte_event_ring.h index c0861b0ec2..0a54f7fde2 100644 --- a/lib/eventdev/rte_event_ring.h +++ b/lib/eventdev/rte_event_ring.h @@ -17,8 +17,6 @@ #include #include -#include -#include #include #include #include "rte_eventdev.h" diff --git a/lib/eventdev/rte_event_timer_adapter.c b/lib/eventdev/rte_event_timer_adapter.c index 9dad170b5a..7dc39386c9 100644 --- a/lib/eventdev/rte_event_timer_adapter.c +++ b/lib/eventdev/rte_event_timer_adapter.c @@ -6,19 +6,14 @@ #include #include #include -#include #include -#include -#include #include #include -#include #include #include #include #include -#include #include "event_timer_adapter_pmd.h" #include "eventdev_pmd.h" diff --git a/lib/eventdev/rte_event_timer_adapter.h b/lib/eventdev/rte_event_timer_adapter.h index 1551741820..aefa322344 100644 --- a/lib/eventdev/rte_event_timer_adapter.h +++ b/lib/eventdev/rte_event_timer_adapter.h @@ -111,8 +111,6 @@ extern "C" { #endif -#include -#include #include "rte_eventdev.h" #include "rte_eventdev_trace_fp.h" diff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c index 79b9ea3a02..1c1b66de88 100644 --- a/lib/eventdev/rte_eventdev.c +++ b/lib/eventdev/rte_eventdev.c @@ -6,26 +6,15 @@ #include #include #include -#include #include #include #include -#include -#include #include -#include #include -#include #include -#include -#include #include #include -#include -#include -#include -#include #include #include #include diff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h index eef47d8acc..5738a8d9ea 100644 --- a/lib/eventdev/rte_eventdev.h +++ b/lib/eventdev/rte_eventdev.h @@ -211,10 +211,8 @@ extern "C" { #endif #include -#include #include #include -#include #include #include "rte_eventdev_trace_fp.h" From patchwork Mon Feb 14 11:36:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107495 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 46D63A00C5; Mon, 14 Feb 2022 12:40:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C83C42717; Mon, 14 Feb 2022 12:38:26 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 2798142717 for ; Mon, 14 Feb 2022 12:38:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838689; x=1676374689; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hg20v+UI6ONaBeJE2WqF5fzVLSkjypVSxIoZ5MlSwXo=; b=jEyIhMBn95+fJ+/H/mYNaaU2eSeTofPHsTk9k6/OPE12uD/9FsO1tbae UkO0J5jCDcTU8y5tNUnzm9m8cGCvj/ecwnwy3B4fAHqLl/CHZVQ7xlXFx sPCZxbO60f0cx/d/Dh9jJs32cRzGAxObglBoH2bPcbRVqLauuUMh7FO8U q9HcNZkIuPmGmwZ8C9mjKKHK3FC3lyJvcKT+fZpVx6CCwPsj8FSN+RU/9 8yQ3zy2jFoTSMzqhOsrxLVvPhuRMmtkRfYOWaHHPeGfyJTiNskbGtQNVE BZBX8xn+8TtAUvzGqJtSvwAcEu+K4+jzP5VAGJ/zXo2s4iirMWjAIJimO w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233620003" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233620003" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087969" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:07 -0800 From: Sean Morrissey To: Byron Marohn , Yipeng Wang Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 42/50] efd: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:24 +0000 Message-Id: <20220214113632.3184921-43-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/efd/rte_efd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/efd/rte_efd.c b/lib/efd/rte_efd.c index 86ef46863c..560cd78961 100644 --- a/lib/efd/rte_efd.c +++ b/lib/efd/rte_efd.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include @@ -21,11 +20,9 @@ #include #include #include -#include #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 From patchwork Mon Feb 14 11:36:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107496 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CA0A3A00C5; Mon, 14 Feb 2022 12:40:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE8B24272E; Mon, 14 Feb 2022 12:38:26 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id B070E4271A for ; Mon, 14 Feb 2022 12:38:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838690; x=1676374690; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=X77UVyFCU3KWX9LUcAlutU6RJE1s6pLnHtCx1grTaT4=; b=CfZC2IHX2E8425tsRV9FvFDFenjXQ4yAnnLusR0EcmogVteth6OE8932 La1FirOtu6Ay+rVgpNHY69YLdyakQ4b/v6M0vggmt8XwbUHvy3mWhXMV+ zYDSjRca1zbxFTl6WdTQ37F2zgbeN5pTNBqZUiW+qQcA+w0ssNBpbcVIU 1hMsmm52BpAWWZSJRjZ+qOyZYKomRWZcErkztlbG4/ulIRwZDK9+JohEA I9JdtQeC6sepqsU3c7vOY47ZvC0iPW/OWUa1zn4qvdu7+6AtWxaKBxioS yZia8gxTmsUQ8b8O1Me6FE934Q1TwZIj1xY7yoFObPP+sjM/G7UrDU0FT A==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233620005" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233620005" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632088007" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:08 -0800 From: Sean Morrissey To: Chengwen Feng , Kevin Laatz , Bruce Richardson Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 43/50] dmadev: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:25 +0000 Message-Id: <20220214113632.3184921-44-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/dmadev/rte_dmadev.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dmadev/rte_dmadev.h b/lib/dmadev/rte_dmadev.h index 4abe79c536..ad9e7a0975 100644 --- a/lib/dmadev/rte_dmadev.h +++ b/lib/dmadev/rte_dmadev.h @@ -149,7 +149,6 @@ #include #include #include -#include #ifdef __cplusplus extern "C" { From patchwork Mon Feb 14 11:36:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107497 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 45A93A00C5; Mon, 14 Feb 2022 12:40:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E586E42733; Mon, 14 Feb 2022 12:38:27 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 65C404272B for ; Mon, 14 Feb 2022 12:38:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838692; x=1676374692; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jx2DetfN9V7XOGzAcAT6oyNhNZVFiZAd87+6ho1YbGE=; b=WmCMq36tw6NaS58oxsTrNswzIuXCSu/spWYQnYcLDNXKf2o0HSHWiZeD 9vNqcsUCeRGK/FQ3Jem4zehWTcJwmDFXstAby7de9li893R1POFedKgVW yVDTWlppu5J9T5Kz82zQWyc/Nm5AbWZ6k32epIHTQWMO4cmywhQy0RPgs wHXH11ZBILMz/RAwVoZ/Dfu1UehlBDMReZqpqJcFhdLnn932gENusXauv OWIaHy4fy2Yg/u2TDouzOW8u00gsqmmBbTgUKU8dwKsmRuLt9ieox7ZKx 0RjTTOCajepv6gYCmhuBQd6/TyUZw5ZfOl8pGDQtV8edagsySsN3BJWyH g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233620009" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233620009" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632088034" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:10 -0800 From: Sean Morrissey To: David Hunt , Bruce Richardson , Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 44/50] distributor: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:26 +0000 Message-Id: <20220214113632.3184921-45-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: David Hunt --- 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(-) diff --git a/lib/distributor/rte_distributor.c b/lib/distributor/rte_distributor.c index c210cf86bd..3035b7a999 100644 --- a/lib/distributor/rte_distributor.c +++ b/lib/distributor/rte_distributor.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include @@ -14,7 +13,6 @@ #include #include #include -#include #include "rte_distributor.h" #include "rte_distributor_single.h" diff --git a/lib/distributor/rte_distributor_match_sse.c b/lib/distributor/rte_distributor_match_sse.c index e3b3b79264..11d8819278 100644 --- a/lib/distributor/rte_distributor_match_sse.c +++ b/lib/distributor/rte_distributor_match_sse.c @@ -3,10 +3,8 @@ */ #include -#include "rte_distributor.h" #include "distributor_private.h" #include "smmintrin.h" -#include "nmmintrin.h" void diff --git a/lib/distributor/rte_distributor_single.c b/lib/distributor/rte_distributor_single.c index b653620688..de90aa8bb5 100644 --- a/lib/distributor/rte_distributor_single.c +++ b/lib/distributor/rte_distributor_single.c @@ -4,9 +4,7 @@ #include #include -#include #include -#include #include #include #include From patchwork Mon Feb 14 11:36:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107498 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 94DE6A00C5; Mon, 14 Feb 2022 12:40:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF8E142737; Mon, 14 Feb 2022 12:38:28 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id E72A94272D for ; Mon, 14 Feb 2022 12:38:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838694; x=1676374694; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MB18BzpcoV6r0lJm+UvYVyzlNk4Jg6WXBTdpHBuhJqs=; b=aALhPuSNdtBJNMJhq6DG/OcN7DSdslh/dUOosurXh5WcnNTi6Gas5BsG oY3VE4PiEpG/rxxx4dD10BxZKna3S2zeCf7GS82CyP85qIOkkjyHriYo3 U1ZXG5H26rdLsnOk0uR+rfgRH7McieTPqBiq974hLZBnaH82/3McOD9tB hmlTgqdNUnpoyiNlxPEgHRfdzWTXIa9E+D1j+62KGsmN5OAhGOv5uByEC ZKu6MsML9DGARRrA3weG6qbrPfaiDRZtqB7MYLnr25bH2abtZcuUEEANO 60A8I+7QcabMQZIWNdCMy8N+ID9PULVCcJZZUFl39wr0LzdlCxsOS2UGz g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233620011" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233620011" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632088062" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:12 -0800 From: Sean Morrissey To: Fan Zhang , Ashish Gupta Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 45/50] compressdev: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:27 +0000 Message-Id: <20220214113632.3184921-46-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- 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(-) diff --git a/lib/compressdev/rte_comp.c b/lib/compressdev/rte_comp.c index 3b0e46f96e..320c6dab92 100644 --- a/lib/compressdev/rte_comp.c +++ b/lib/compressdev/rte_comp.c @@ -3,7 +3,6 @@ */ #include "rte_comp.h" -#include "rte_compressdev.h" #include "rte_compressdev_internal.h" const char * diff --git a/lib/compressdev/rte_comp.h b/lib/compressdev/rte_comp.h index 95306c5d03..cdb55e5887 100644 --- a/lib/compressdev/rte_comp.h +++ b/lib/compressdev/rte_comp.h @@ -16,7 +16,6 @@ extern "C" { #endif -#include #include /** diff --git a/lib/compressdev/rte_compressdev.c b/lib/compressdev/rte_compressdev.c index 2e9218af68..202ee694d8 100644 --- a/lib/compressdev/rte_compressdev.c +++ b/lib/compressdev/rte_compressdev.c @@ -3,7 +3,6 @@ */ #include -#include #include #include diff --git a/lib/compressdev/rte_compressdev.h b/lib/compressdev/rte_compressdev.h index 2840c27c6c..aa865c4c03 100644 --- a/lib/compressdev/rte_compressdev.h +++ b/lib/compressdev/rte_compressdev.h @@ -21,7 +21,6 @@ extern "C" { #endif -#include #include "rte_comp.h" diff --git a/lib/compressdev/rte_compressdev_pmd.h b/lib/compressdev/rte_compressdev_pmd.h index f9a42d1f05..9fabc399c5 100644 --- a/lib/compressdev/rte_compressdev_pmd.h +++ b/lib/compressdev/rte_compressdev_pmd.h @@ -19,8 +19,6 @@ extern "C" { #include -#include -#include #include "rte_compressdev.h" #include "rte_compressdev_internal.h" From patchwork Mon Feb 14 11:36:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107499 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9AAE7A00C5; Mon, 14 Feb 2022 12:41:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D9DB94273C; Mon, 14 Feb 2022 12:38:29 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 684DB41152 for ; Mon, 14 Feb 2022 12:38:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838695; x=1676374695; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Nq3dLMSseofBfJo1DBc+n5LYBwgzXFvcwCHTL/44jh8=; b=ldGZ4HbpkusasMQd03BYOMTY0+siyg9Bg+DjPNMLJsSYxteWSFfa7Rbl W9lEImG4TeipmHlOVG4EgqlGseZBEZ/cwX7h/1MlBhTrk6l3eeIX62WCM RnFdnbgBaHOqi/WNUoMMVtR10K+Z4s1l0kt6+Yb81A7N6BjqKpSy2CSrh UTnyg/ofiPTKARfmsVqg04GsURIP3X0Wv8J0dTiBoBXoopk9s/pKtC8+k dGt+jM3ikwGyJZi/prfYJKWwzuiiA6V1oZOc6xJ/AFrgIu6nRhC1/m068 Kt9Fm0Ia9EiLvKMCzWJw4PQVw/ZSHhmVdbTs0vMzACVoZeX58u1Ys5BXg Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233620012" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233620012" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632088100" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:13 -0800 From: Sean Morrissey To: Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 46/50] cmdline: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:28 +0000 Message-Id: <20220214113632.3184921-47-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- 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(-) diff --git a/lib/cmdline/cmdline.c b/lib/cmdline/cmdline.c index 8f1854cb0b..e1009ba4c4 100644 --- a/lib/cmdline/cmdline.c +++ b/lib/cmdline/cmdline.c @@ -9,8 +9,6 @@ #include #include #include -#include -#include #include #include diff --git a/lib/cmdline/cmdline_parse.c b/lib/cmdline/cmdline_parse.c index f5cc934782..349ec87bd7 100644 --- a/lib/cmdline/cmdline_parse.c +++ b/lib/cmdline/cmdline_parse.c @@ -5,11 +5,8 @@ */ #include -#include #include #include -#include -#include #include diff --git a/lib/cmdline/cmdline_parse_portlist.c b/lib/cmdline/cmdline_parse_portlist.c index e1aa07be4b..2e2294553a 100644 --- a/lib/cmdline/cmdline_parse_portlist.c +++ b/lib/cmdline/cmdline_parse_portlist.c @@ -6,11 +6,8 @@ #include #include -#include -#include #include #include -#include #include #include "cmdline_parse.h" diff --git a/lib/cmdline/cmdline_parse_string.c b/lib/cmdline/cmdline_parse_string.c index 9cf41d0f76..d756638905 100644 --- a/lib/cmdline/cmdline_parse_string.c +++ b/lib/cmdline/cmdline_parse_string.c @@ -5,11 +5,7 @@ */ #include -#include -#include #include -#include -#include #include #include "cmdline_parse.h" diff --git a/lib/cmdline/cmdline_rdline.c b/lib/cmdline/cmdline_rdline.c index d92b1cda53..5cf723a012 100644 --- a/lib/cmdline/cmdline_rdline.c +++ b/lib/cmdline/cmdline_rdline.c @@ -6,9 +6,7 @@ #include #include -#include #include -#include #include #include diff --git a/lib/cmdline/cmdline_vt100.c b/lib/cmdline/cmdline_vt100.c index bb968dd5fa..4c9a46c953 100644 --- a/lib/cmdline/cmdline_vt100.c +++ b/lib/cmdline/cmdline_vt100.c @@ -4,12 +4,9 @@ * All rights reserved. */ -#include #include #include #include -#include -#include #include "cmdline_vt100.h" From patchwork Mon Feb 14 11:36:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107500 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 77B2FA00C5; Mon, 14 Feb 2022 12:41:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E72A242741; Mon, 14 Feb 2022 12:38:30 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 0DAAA41152 for ; Mon, 14 Feb 2022 12:38:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838697; x=1676374697; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4WKcVF3AW5g/3waizodcz+Fc/s1DJiQ5EhWPmiWSqlY=; b=nwimDmH/R8mw3uljQkh/zxkEDNPq1+oqrIgB6SOZRYSC7b5++COgdeg4 A5iqikSUWTSWFvNw//hD/qy0okH6z6vpMPhRpMjvrcBrHtl1aRCfser7E boKDmeUaCWcoSaAzd8VzE63s+0JbFzKHOqJxLfyOq4Oa/JouVF7swg3nK VQQoOACxfVv22KPuonn459B47Ay1OcvgdQ/VbPf7C+WL/ZPG8+sqB88+i k/1Ssp7QW72IMLfflUzmAGzr+OyoFvrFx1xc0HtligBOaPdktY8+tSEX/ 1b5AsOu6wUuPS2y8cYbhAWDUUyAwNg9I0ifYoKS9W/l2v0xwo14JfcC6G w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233620016" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233620016" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632088156" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:15 -0800 From: Sean Morrissey To: Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 47/50] bpf: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:29 +0000 Message-Id: <20220214113632.3184921-48-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- 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(-) diff --git a/lib/bpf/bpf.c b/lib/bpf/bpf.c index 0caad2a8f0..1e1dd42a58 100644 --- a/lib/bpf/bpf.c +++ b/lib/bpf/bpf.c @@ -2,15 +2,11 @@ * Copyright(c) 2018 Intel Corporation */ -#include #include -#include #include #include -#include #include -#include #include "bpf_impl.h" diff --git a/lib/bpf/bpf_exec.c b/lib/bpf/bpf_exec.c index b921112feb..09f4a9a571 100644 --- a/lib/bpf/bpf_exec.c +++ b/lib/bpf/bpf_exec.c @@ -2,18 +2,12 @@ * Copyright(c) 2018 Intel Corporation */ -#include #include -#include -#include #include -#include #include #include #include -#include -#include #include #include "bpf_impl.h" diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c index 518513376a..c1a30e0386 100644 --- a/lib/bpf/bpf_jit_x86.c +++ b/lib/bpf/bpf_jit_x86.c @@ -2,17 +2,12 @@ * Copyright(c) 2018 Intel Corporation */ -#include #include #include -#include #include #include #include -#include -#include -#include #include "bpf_impl.h" diff --git a/lib/bpf/bpf_load.c b/lib/bpf/bpf_load.c index 272f2ba11b..0c4ac7be6c 100644 --- a/lib/bpf/bpf_load.c +++ b/lib/bpf/bpf_load.c @@ -2,20 +2,12 @@ * Copyright(c) 2018 Intel Corporation */ -#include #include #include #include #include -#include -#include -#include #include -#include -#include -#include -#include #include #include "bpf_impl.h" diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c index af422afc07..ffd2db7840 100644 --- a/lib/bpf/bpf_pkt.c +++ b/lib/bpf/bpf_pkt.c @@ -2,28 +2,16 @@ * Copyright(c) 2018 Intel Corporation */ -#include #include #include #include #include -#include -#include -#include -#include -#include #include #include -#include #include #include -#include -#include -#include -#include -#include #include #include #include diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c index 09331258eb..9ff86fc970 100644 --- a/lib/bpf/bpf_validate.c +++ b/lib/bpf/bpf_validate.c @@ -2,7 +2,6 @@ * Copyright(c) 2018 Intel Corporation */ -#include #include #include #include @@ -10,8 +9,6 @@ #include #include -#include -#include #include "bpf_impl.h" From patchwork Mon Feb 14 11:36:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107501 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E84ABA00C5; Mon, 14 Feb 2022 12:41:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA60542745; Mon, 14 Feb 2022 12:38:31 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 4145A41152 for ; Mon, 14 Feb 2022 12:38:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838698; x=1676374698; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jONd1CrZ0IUvIrkVEq56v6LLzCxm2Jg/cXb7YrhrfOA=; b=SrutbMpPatt/38Urotg6rmy03v5i0MT1eGY9CznoJ3MAO5UG2t16kb6+ amj8kwRyIYf8Qbyu9GTTTe5fPbk4UAdI0+SW2U7v8bVnqMLCpHyJsqF07 EyymmkbbGdQt7HT1JBySxxIawS7FJr6OGR1Yrla21I3XFUJ2D2RYiDU30 QHkJ08zfVWva1f2wMhN5+4NbHqxKd73J9LgIPBYt95NR5RxHCGrEenzqS jx6CzEobNavUfmLdFAj30zI94wXXSU0PyhNGW9/d8eYceCHpENq8ZVP8A W2pqS9l4U+7xhtPBvFjMUJcqxqtIG5CDIrFcResgR2Ny2SFYqxLoI+vdB g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233620019" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233620019" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632088185" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:16 -0800 From: Sean Morrissey To: Nicolas Chautru Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 48/50] bbdev: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:30 +0000 Message-Id: <20220214113632.3184921-49-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/bbdev/rte_bbdev.c | 4 ---- lib/bbdev/rte_bbdev.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c index 7f353d4f7e..aaee7b7872 100644 --- a/lib/bbdev/rte_bbdev.c +++ b/lib/bbdev/rte_bbdev.c @@ -6,19 +6,15 @@ #include #include -#include #include #include #include -#include #include #include #include #include #include -#include #include -#include #include #include "rte_bbdev_op.h" diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h index 1dbcf73b0e..b88c88167e 100644 --- a/lib/bbdev/rte_bbdev.h +++ b/lib/bbdev/rte_bbdev.h @@ -26,12 +26,8 @@ extern "C" { #include #include -#include -#include -#include #include -#include #include "rte_bbdev_op.h" From patchwork Mon Feb 14 11:36:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107502 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AE447A00C5; Mon, 14 Feb 2022 12:41:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ECE894274A; Mon, 14 Feb 2022 12:38:32 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D10F741152 for ; Mon, 14 Feb 2022 12:38:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838700; x=1676374700; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6lIxArtOeut3kztuAWYmtZS6EoqMYQFy6kUtFo3x0rQ=; b=Zig2kEmcU2Pt+e3BV0sExbzgdKD/Yx8YFcrHczZvLTk2x1DPnfHpuy6B LEPTinQqanlg/ee2mbxNJrPeL4oF1Si/zdOJRmFk11yhlgUeis9z7lvSb bY+nc0GKeXGm6p62nwPJf8NF7PwdBKMTkmwYQXuQSsX82H3phMkpY3SKy K8msGnmzi6tBbPRykaz9oQXmE+wshJGcRS4c6J6fbZGyKPLc5qHmtlImi LNo8g8k5hDwI+qQycdkMa1kUEQh2nIgeSQBBaWJA6a4wOccCjT5SbnsHU 57BclbFRvn9SNAiybYFD/YnkrQyR5DKgrv6F2ZLkXDfBiXsPgPZcKMhbF g==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233620021" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233620021" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632088254" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:18 -0800 From: Sean Morrissey To: Akhil Goyal , Declan Doherty Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 49/50] cryptodev: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:31 +0000 Message-Id: <20220214113632.3184921-50-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/cryptodev/cryptodev_pmd.h | 4 ---- lib/cryptodev/rte_cryptodev.c | 11 ----------- lib/cryptodev/rte_cryptodev.h | 2 -- 3 files changed, 17 deletions(-) diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.h index b9146f652c..8cf2da9b69 100644 --- a/lib/cryptodev/cryptodev_pmd.h +++ b/lib/cryptodev/cryptodev_pmd.h @@ -15,11 +15,7 @@ #include -#include -#include #include -#include -#include #include #include diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c index a40536c5ea..8c1cccef0b 100644 --- a/lib/cryptodev/rte_cryptodev.c +++ b/lib/cryptodev/rte_cryptodev.c @@ -2,36 +2,25 @@ * Copyright(c) 2015-2020 Intel Corporation */ -#include #include #include #include #include #include -#include #include #include #include -#include #include #include #include -#include #include #include #include -#include -#include #include -#include -#include -#include -#include #include #include #include -#include #include #include #include diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h index 59ea5a54df..3493384fc7 100644 --- a/lib/cryptodev/rte_cryptodev.h +++ b/lib/cryptodev/rte_cryptodev.h @@ -20,9 +20,7 @@ extern "C" { #include "rte_kvargs.h" #include "rte_crypto.h" -#include "rte_dev.h" #include -#include #include #include "rte_cryptodev_trace_fp.h" From patchwork Mon Feb 14 11:36:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107503 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 78F0DA00C5; Mon, 14 Feb 2022 12:41:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB61B4274F; Mon, 14 Feb 2022 12:38:33 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id CEA8F4068C for ; Mon, 14 Feb 2022 12:38:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644838702; x=1676374702; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Pinjlhxmyu1NWelct7Hl/mb9kvGW002JpfxiBVUoK58=; b=QylOR73obnk2sZuepzD2APCwZu/4rYChgAPEkVoifcL7za2OgRvN+jlp vYr88drxvg5kYg7FMdZA5MLScMQUKiWWZLObgZiMtZeVJbbCEj4IWVCu2 bhS+G1s1NJrt4ONVZ8aaPLhi8cNSKy7CyrKQTCFeVREjeODZ4U5UhhR98 TTZaFy1PgSbveoGsweLS/uP6xfGr27mtqWu1ptX2BMRHMR67hLXnSLaa8 OErpDpJCwYV4TCcOSIE6i0n8rRVktYyC/zV/M9+IeJyZDgos3JP/rSn3T /VR7ilkPGHLCvd5pbud4buKUinHvziOx2KsyoGHVlnQdZphALDmPHPG1l w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="250019326" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="250019326" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 03:38:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632088287" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:19 -0800 From: Sean Morrissey To: Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v7 50/50] acl: remove unneeded header includes Date: Mon, 14 Feb 2022 11:36:32 +0000 Message-Id: <20220214113632.3184921-51-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com> References: <20220202094802.3618978-1-sean.morrissey@intel.com> <20220214113632.3184921-1-sean.morrissey@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/acl/rte_acl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/acl/rte_acl.c b/lib/acl/rte_acl.c index 4e693b2488..a61c3ba188 100644 --- a/lib/acl/rte_acl.c +++ b/lib/acl/rte_acl.c @@ -6,7 +6,6 @@ #include #include #include -#include #include "acl.h"