From patchwork Tue Feb 15 12:29: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: 107584 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 790DAA00C5; Tue, 15 Feb 2022 13:32:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B4B5410F7; Tue, 15 Feb 2022 13:32:00 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 8C87140E78 for ; Tue, 15 Feb 2022 13:31:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928315; x=1676464315; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pjX+mx97VoeEUCRAGvzhtBBr34EDSL09KhLFuikBuwg=; b=F83OCFkdV2b2yyYfAyd4PsnQpZ9LKiaWNHA1ZPOFqzXflAKTIbMO1+2B vajS3Z8OCbRyucPAxC0KSWFpCYo0N+Kz/UVI7TlkYpI6YB6O9w4rIw9K2 CuL1573Hk+67qgK4QAO8ZvLKPnXArxz4Jpbr8kFAUyon0cfMNrgJIQbKJ FpIuQn8B8A3vjePdAASfFucwRGK6N5vR9Hr3MFwZrPepTiABG+C0cv2hC AfSjoIkHbnZK9AZ+22M1HQKnlcbheRr6j00W0444RcYPi9qOQEmM89q15 HA9oQGB34AaMFamxASUWjNzBO+Znt2uZPS4lhpvRK7xIFFtci3hZGy9xz A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936522" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936522" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:31:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280248" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:31:53 -0800 From: Sean Morrissey To: Cc: dev@dpdk.org, Sean Morrissey , Conor Fogarty , Bruce Richardson Subject: [PATCH v9 01/50] devtools: script to remove unused headers includes Date: Tue, 15 Feb 2022 12:29:48 +0000 Message-Id: <20220215123037.608981-2-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:29: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: 107585 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 2F169A00C5; Tue, 15 Feb 2022 13:32:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 083E841152; Tue, 15 Feb 2022 13:32:01 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 3D26441147 for ; Tue, 15 Feb 2022 13:31:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928317; x=1676464317; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dFaJerY4vXwfMNXpVmfSGMyzBMVhDZ9JqTHonO+d1iI=; b=HDQ+LxKAVuFlIk5ickIqshkr9RqHS6r76IfJgK/diUI+WRf1NKqOgmeU 7hk2WHAlZ3qQCtUM3ZWH+98D9fmvT2v1dtG4butfyUfyiA0I9fj/pgUAD qjJhHT54icfZ+pKBXdeAmSM4TF4lEhl4kryxts3+XmCXvEtRTJq3tRiYn FWgXESmKuDGwdT7fgVj59R+ss29BtncIbbZSFIp1B37kvs9ISALneSrRj cpBAB0U3D0VVn/zKS7BReYhrr0YaDmPZEtag+BOHMkiMMMKGIrOHkhoK5 npNTBpDqewB61J9Q4F39z3YbR9JnxxO2a+YbJAaDsWxWgTJeFMnNESD7d w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936523" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936523" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:31:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280254" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:31:55 -0800 From: Sean Morrissey To: Ciara Power Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 02/50] telemetry: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:49 +0000 Message-Id: <20220215123037.608981-3-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:29: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: 107586 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 248B7A00C5; Tue, 15 Feb 2022 13:32:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 06D3941157; Tue, 15 Feb 2022 13:32:02 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 37DCD410F7 for ; Tue, 15 Feb 2022 13:31: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=1644928318; x=1676464318; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XKdx5di4TEwl4JuP/Oy0SWhYDoBCsoMdA4xaNgY6lCE=; b=kAxbnn6Hcv4OvDEqaEGfljlXizJm/21En1gu59BQUEocJl+2RPh+/YFS 0eVreiMNk/U3s8buwLN0qzpEvm5RDCkfiLAPwfGigAZf9cV1+r2R3yIc7 DWwkjPGbuJ1znTZ6SNnMgkeDHGvMCawmTpqx+hB6RU959kyRYu/s0QQWN 0k+d/V+JeUpvgEfzQntOC/lpb5jROrp/HZBfXNa2q1Q5mdORKRSt9knCX +RwVHxfIBP9Gw5Rj/BEnC9EgnBCq/s6J3c5daUNOSWdNbuefC5qCebwFI EZ77RbZcORDuiTUwhQ8NOayelRus5Hkiu1vhRJPGj29jItqBuLvSRIv/W w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936526" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936526" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:31:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280260" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:31:56 -0800 From: Sean Morrissey To: Honnappa Nagarahalli , Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 03/50] ring: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:50 +0000 Message-Id: <20220215123037.608981-4-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 6a94a038c4..cddaf6b287 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 Tue Feb 15 12:29: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: 107587 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 8BF5EA00C5; Tue, 15 Feb 2022 13:32:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81F7041160; Tue, 15 Feb 2022 13:32:06 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 77064410F7 for ; Tue, 15 Feb 2022 13:31: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=1644928319; x=1676464319; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=55GggX0D67w1ApVHtvY/FsKbOzXtS0fNCdUNyo8Qu4w=; b=L74e5amgmrcL7x0N5bbu66Vytfrf3gJgD5OGxFkrqddZA9iQjBBbbHvm WTSRrYi//eUyJzEmdPNXZ93ztZNGZ+e2EJKNWevIotggeXvpvV6RSqXTF ZpuE17wx9/u92ZBde7a6MHm9k2kly6m2SGvwMS9C/zYDogQAxtoO5KFEk 7gsXM03qg+BhvSq6hwOg46cge1wiBMheWSjdaPFOtoQtsvKmgkjc9cgzi jObhKq/PEWwirQP48Z5vOObAraDK2uPKDciRipZFlwDpR82nEa9NDXl9Y +jKNnfYMFf984U2Ei5jT8p38XrVzGQXqYYN6VqM4q1romyneXwLGiUjGq w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936528" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936528" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:31:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280265" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:31:58 -0800 From: Sean Morrissey To: Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 04/50] kvargs: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:51 +0000 Message-Id: <20220215123037.608981-5-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:29:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107588 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 2DE35A00C5; Tue, 15 Feb 2022 13:32:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 710FB41156; Tue, 15 Feb 2022 13:32:13 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 60A6B41145 for ; Tue, 15 Feb 2022 13:32: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=1644928331; x=1676464331; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pgDX7g9PGS4NfMuAuePjVxydIRpADp4zYO+ucNpo774=; b=OuRxPobbuKlky2n818xhpkxNLKmgC14mTeyBKjS9njWFt1BLAenZvHaQ POfC1wgli5GbzFXm8pKUjRCT27f3AeoSt7mH9eMeasKNjCK35BB2b6XBs SUmjWvGUeg0rlWHA8Lq4uIXb2pa7RzxWI3RcZCa8w+IlSdRDy13rmjABH w7RDrFcX5kRhBUTgz/QDTTR99IR4m5HBlvGfRDRJD6IqORE3tu/oZu+/s w6q/dPsP2OpbkMEhIu3oBkd42QB9Q0VDpIT2UVJ6juOJncGpmc+WXTmNE itlPF5CtdQgkAv7X9v8zMUa05xREDipMFDaZf6Ufwfj40XOhIyeVeED/v A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936539" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936539" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280279" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:31:59 -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 v9 05/50] eal: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:52 +0000 Message-Id: <20220215123037.608981-6-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 | 9 --------- 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, 1 insertion(+), 199 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 69004b0a2d..8da3ba3879 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 7507c746ec..ef8f782abb 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 cbd0b851f2..d57dca9785 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 9a0c5309ac..860fb5fb64 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 ff44d2124b..f247a42455 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 b33d58ea0a..313060528f 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 4848446c85..7221284286 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 e04e0890fb..83f05497cc 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 97191bcd9b..6c572b6f2c 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 5f6f275b78..207b90847e 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 c806f7beaf..8d148689ff 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 71a3f7ecb4..7c67d2156f 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 e9990a95e6..025e5cc10d 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 ec172ef4b8..a1b6cb31ff 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 5a795ac9eb..d44416fd65 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 17f7c5394a..f8b1588cae 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 83eec078a4..ee1a9e6800 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 d12bbaee64..4e26781948 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 Tue Feb 15 12:29: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: 107590 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 8916EA00C5; Tue, 15 Feb 2022 13:32:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31A3541145; Tue, 15 Feb 2022 13:32:15 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 38B0541145 for ; Tue, 15 Feb 2022 13:32: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=1644928332; x=1676464332; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=J8aUNef3cuDxm1VxMKQZ3guPJ0oktP9qWROpzqbTBGM=; b=XacvYVgn9loWLsPdQ8fSPxNylSMjM4//yeatGM+UzgRmz09FZhU0pnpM vsScSolBLSIVq2Nn61b+erz+x5ab8BsFg1FGjHVayeAp9W75Ryd2FrGB/ UaZ+AXuE884LIUZ7pwGzQYC6AsCQ1r+Ok6pTJzKaWZC5mws+BC31UzRqO No7g8ZbB8pRqxyWHXJM55MR6ndu6MAy948TbLHByYNhmuQii97Tgp1P3r LB+/ps7sywECpyrqcmGE9EU0kEMAYd3KTPLU/WdcZK4E7ZI8m7+gZ+U4s aweWqgZn6LwqQ9VcXrvB4DrukvLPDvofyqfKyIBTSXWmCj+Io2umdvmon Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936543" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936543" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280286" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:03 -0800 From: Sean Morrissey To: Maxime Coquelin , Chenbo Xia Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 06/50] vhost: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:53 +0000 Message-Id: <20220215123037.608981-7-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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: Chenbo Xia --- 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 c2f8013cd5..b304339de9 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 6df2230a67..8fa2153023 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 6bcb716de0..bc88148347 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 1c2ee29600..64ec76b80e 100644 --- a/lib/vhost/vhost.h +++ b/lib/vhost/vhost.h @@ -17,12 +17,10 @@ #include #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 1d3f89afd8..4f135f1f72 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 Tue Feb 15 12:29: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: 107589 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 D6931A00C5; Tue, 15 Feb 2022 13:32:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51F554116D; Tue, 15 Feb 2022 13:32:14 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 51B2041151 for ; Tue, 15 Feb 2022 13:32: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=1644928332; x=1676464332; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UEM03x0L/vRbT1ZPutoP0GLcryzTd4JGyEEIbeuD1eo=; b=Dx5sPsUzSlkP4lDd7Gf9n864sqaiojlb46YeWMr0aWMy/g7t/VqMFFNg 7Vd7DFxaPlH2WJs9c2oq87JYF5LLTipt+fO6Ad99oDEiVieXdpy4/8rJE nEFw8AJavbTHVbuiCkj+na3ppvC6bWo+G9G8zabfHcY48al81ojsFeAcm phDZzyr3hkvWD4ZLxlKP2RZohtr00xZS3K9wgDm0ipU2wFqvcaVefa3ar Wx8zNPp1B0nkeyXZlL6App4ddAKeNmaDjLTb0BYTWlTHhDScyk5OfXakY CyJ8T8cSh43OuvmzCQq1qydTHj40D3n7IQopmnTgsXgbIos6GUkhudSqo A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936547" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936547" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280290" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:04 -0800 From: Sean Morrissey To: Robert Sanford , Erik Gabriel Carrillo Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 07/50] timer: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:54 +0000 Message-Id: <20220215123037.608981-8-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:29: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: 107593 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 2F015A00C5; Tue, 15 Feb 2022 13:33:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 28DD941199; Tue, 15 Feb 2022 13:32:22 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 9558841161 for ; Tue, 15 Feb 2022 13:32: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=1644928333; x=1676464333; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8n7uNAWvK5Pf6Iru/aZ+6Vk5CWQYZSMjVYa+VtnZgVM=; b=j/aVXV2gzUDi60AWiiHpVlYO7V+W1wpIfLzJm5Z4e8hg6/JuqRLBqLaI 5NLKADqsNdfEW/pwId2n30iu2bFfumBuZa6OMMvmfGasnbGvuR2WS36Bm 2suhYpyLaR3Y88fCzzpPnwSFUgfbzXEvsWlt3rEfMOF1QpIUKd5/XiuaE bfdcj4YlCiqHxlEpL8uGwj/rP/Ru73KHyfnnmFp8hFW7zlqhlvQl3seJf 4VcXLhZhzsZ8MdlPM2VGTv9Osb7qIC9P4W+impJAYjf8qwCKP0mQYC/24 R8oIJM8VWB5mg1q6Kf5OQ97tiH8D3Ml/EA61wzC6+1Qz9j5G4htxXxD2J A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936551" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936551" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280298" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:06 -0800 From: Sean Morrissey To: Cristian Dumitrescu Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 08/50] table: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:55 +0000 Message-Id: <20220215123037.608981-9-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:29: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: 107591 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 E4909A00C5; Tue, 15 Feb 2022 13:32:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A9FD41181; Tue, 15 Feb 2022 13:32:20 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id E7B5241145 for ; Tue, 15 Feb 2022 13:32: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=1644928333; x=1676464333; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mjYVeLiFduBoKrJgJBsEX7bf8Oi8tfMrBHr11FG2Q8A=; b=JclhBjhAod5Mpe5ZRYO05gcaqIoW47TiCXzXNVTj4wodbe//a1PRvmmg g6W1PkrYq0eSnKPIrSPKP4+kCLuKKKJuYtv+96qdteA9CwouwWPsPwEHX o+L4wnTmJeyXy3x9qMfK3KwYrPtzQ49mlcY4erc190oRqeP9bbYIP1Pef +HuUv2tx46FBEYok5nkfgPuoiNLyGkdteDigpLhVKKdcA/kQ93+TeGpP6 6be9EsAp2j/MO7QnwQsRGgVls7m2bneP7kBba8HPVUj7/RpHolp+UE9b7 LYjsa+XUICL0VQAXMDmPphyZDx1UIZAuzJO5UBiA8tvCVedR1gAvawqxB Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936554" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936554" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280304" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:07 -0800 From: Sean Morrissey To: Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 09/50] stack: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:56 +0000 Message-Id: <20220215123037.608981-10-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:29: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: 107594 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 615DBA00C5; Tue, 15 Feb 2022 13:33:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C039411B2; Tue, 15 Feb 2022 13:32:23 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 68AB841145 for ; Tue, 15 Feb 2022 13:32: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=1644928333; x=1676464333; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nRS0SqugmC9WVlanFidvNmdoISpCv7DKmyaeq/7y69M=; b=gzhClGocHmMwNznJ+rqakwArKNP1SEV8snOyzLUF+kywJdmtG1eip161 JuBSL8/UQ1Z2EsiqfSgM2teKEfYvpo6paLZTLefDPAn95e/7AdIjNeEwJ VoWhFKyBXr2ARAm4Qid3ETss6jLhnZqfJxS4vrPB7U/6GOcda8jDE0zRS tB0bGL40FMLLDwPkaU1ZlpIavlQyFyJ4Tb9o+1GNErhg8OIVxYPlZmbKN X0Dx86EDf87Yhe6vWaH5l3G+U4ZkbYhtZ/MJbX5MfvaHgLp6v9JgNr6R3 baE2CtKpQS84UdVdZKixfJ0v07ESSKfFVebY5zkog8RMdLyKXncAAR4Cr A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936557" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936557" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280308" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:09 -0800 From: Sean Morrissey To: Akhil Goyal Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 10/50] security: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:57 +0000 Message-Id: <20220215123037.608981-11-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 b080d10c2c..2a43cbe811 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 Tue Feb 15 12:29: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: 107592 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 384E9A00C5; Tue, 15 Feb 2022 13:32:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41DC741186; Tue, 15 Feb 2022 13:32:21 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 908A94115F for ; Tue, 15 Feb 2022 13:32: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=1644928333; x=1676464333; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Uzky0EbMwCeF2Z7312/0yz/yhkrRZ1B6R9P5qvl4q5U=; b=EQNc4xQ39ingv3ErZz47AYni0vhhFO0MGe9vU/+Z/SMRgQTvK+9Trvvx xGNeN9UoECgdVYHSR5CD6WgfO4IL48M/GF2iOLIeFgfke0oTEiW0P7h5r 7mSoecrybZKOcMo0yOvpOlRBUrvT8v3bLCRI5dh27302H8X0F92QKwM3r RkbEsWjjFYN/uncbfnEZ905LWwV5MKP71cw8d2wqqvMCf3E6NH8/VC8l2 aO+ad14MZSVqnZN5CsZpN/MbDxP97tK3Uu8EacKS59Jmqp5DeZ82ZFORc pY/RvaQgseNugZ7ImUoFlFd+K5EZCN0m6VlstpksE1rdAwKGm955eiZd/ A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936559" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936559" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280313" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:10 -0800 From: Sean Morrissey To: Cristian Dumitrescu , Jasvinder Singh Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 11/50] sched: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:58 +0000 Message-Id: <20220215123037.608981-12-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:29: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: 107595 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 26293A00C5; Tue, 15 Feb 2022 13:33:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED884411CB; Tue, 15 Feb 2022 13:32:23 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 47A8C4115F for ; Tue, 15 Feb 2022 13:32:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928334; x=1676464334; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DgAARMc3lGaToMseh3ulg78UV0c337IUm9Qzi0ioXE0=; b=imiN0tFnCPDyZpOgdUyDPOgv2and/z1Nqcp6hgrS5jOun8Lm7VcRanah /y8dLcaj+InSA7vOII7TINeNapWP51UGI07fKDT4PjvgMFcIuqcvJOrAy rGX3HwPPHb8KshETZnOvqr6Q/08+TFZv4N3Z58ajnprUrKPw9qh9+LJrV agrDimaDkePmzP+6XHMSz2rDHni+a77buGhIrUwNDpKdqe6qENW2vHsfU ZHFBqSivyNhxK2WMbCXhEIa3DCceQc8gxgAainwS/IEXnf73mU4n7ZY8E ODahgK/VLMHHvRGUjBCPbnlfQAu6BtzPW0hEur1emfeiyrpvHadQHev7X Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936564" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936564" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280319" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:11 -0800 From: Sean Morrissey To: Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 12/50] rib: remove unneeded header includes Date: Tue, 15 Feb 2022 12:29:59 +0000 Message-Id: <20220215123037.608981-13-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107596 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 6FBCEA00C5; Tue, 15 Feb 2022 13:33:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1068441178; Tue, 15 Feb 2022 13:32:25 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 9EC0E41145 for ; Tue, 15 Feb 2022 13:32:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928334; x=1676464334; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=b/LX1jNxx3MXypNdAGVDjzy4rZRz+5MdeWHe8FuJVnE=; b=VOalx/jjqBeywKKMsFCokzKK9IrpOe4j26AH32E05l1qR3wpScfkp0lY WehMROlgbLvBRU2eqIPzLWtK/oSh3ErFWnr5VHimsoLhYAv5WkHucWXU3 ewWdDJub1MGC0oG/cok0mOSpcahS1hvtaOyjuIh43txQeuH9IQcHDU7Tf 4ID7403YqcSpf5Z5DqcydNglTu2AfOloY3BfRXewek/YUzBIv+M67ZgLO BjD9cX8cbKgrw++EmZHFPBKVdTt89gbAdubipkQC0dUEtjSnwIQuVJi3x yqUSxt1T8wt6zEJQXyeHiIhiDJaUqhFcrW6uKsXFd0nGyEWYVZHkFBuUy g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936566" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936566" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280328" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:13 -0800 From: Sean Morrissey To: Reshma Pattan Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 13/50] reorder: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:00 +0000 Message-Id: <20220215123037.608981-14-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 bc0241bfb3..385ee479da 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 Tue Feb 15 12:30: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: 107597 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 8DE59A00C5; Tue, 15 Feb 2022 13:33:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0009C411EB; Tue, 15 Feb 2022 13:32:25 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id BD3F341176 for ; Tue, 15 Feb 2022 13:32: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=1644928336; x=1676464336; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sV8rOLEgig89Nm8CcQIJ5ufBJ0k+JGoR9uMkvfWEpgk=; b=IEuoll8fTDP5PCZ0t0Nh3A8Cggxokvn4JAwYq3vlbenqwqYdSRHXPXGa 1AaQeNvSII1T2b7k74AmCGFIkzyrSVORcfBQ7hK9544L0IW7W/2El2OHU QolnjpphC9qJEJMhAog9LBBOeA9buYOOcy5CCxMtN5JFJrFccjhiK/q5p XamUYm9yAKSSfSJ5Z7u/2MDDLkJLP5/y5vO6/lAkey5veu+HYp6aAnt1H KC7XY6gYaNfkigDDDIN87iTZlJFdQSkFohnX4EbzzO39uQyVeie+6n3o0 cbl+QPB5qFdr2Ajf0+s/032gq3wuVqSzYskj1A9FwG8Rk2rbM+/K9uGgd g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936574" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936574" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280335" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:14 -0800 From: Sean Morrissey To: Ori Kam Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 14/50] regexdev: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:01 +0000 Message-Id: <20220215123037.608981-15-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107598 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 10D25A00C5; Tue, 15 Feb 2022 13:33:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0236441203; Tue, 15 Feb 2022 13:32:27 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 0AEC141176 for ; Tue, 15 Feb 2022 13:32: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=1644928337; x=1676464337; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xM99L+P/Yv8BMdHUjOxjUH0I0N+/RyZo1Txfd85dfc4=; b=aj5ixI8uWbGM9uzKivOyWDNBYM8716MA5C8NzqwIyHFCnxCYBsbcc1/D Hgq0QD9WqxZskmzGDYW+Alb5dGBcb28+AChOCvnn6Ul9ueTmwZ89jiLwp gA9wBEeM3qI5jq33tV16X9EyOoUYCEq0M/9RBSi2terh9RpnMMmfdqD0y DqJvjbWFu8UL6gLGVet7VTvRvjiEcvCPvdAGjC3JMAPEV7VrQLTjnDQ95 CZ7HyvYNjaCsuvijVNdn15v9dB7luh+ORXawlXs1bhp6pP79U0K+qlGEL WWTS/RX7IQ7lDTKa6wv4nbeptlvNCqHvQvzyJKLW7LwmdWw7zJmi4HZ3B g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936583" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936583" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280343" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:15 -0800 From: Sean Morrissey To: Honnappa Nagarahalli Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 15/50] rcu: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:02 +0000 Message-Id: <20220215123037.608981-16-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107599 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 3E86BA00C5; Tue, 15 Feb 2022 13:33:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE4F441229; Tue, 15 Feb 2022 13:32:27 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 722F441172 for ; Tue, 15 Feb 2022 13:32: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=1644928338; x=1676464338; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IdOqP2wQ15ggZI/G80TdprAZFBGz0Wt0Bu5giWwuMww=; b=Ds1LdETub4NyruFC5OkRvWrsG7Ty2pIOFJ3RrYRg1CvKLM0tHY9OMsBV dNRHiG148jGd+wpWcWdIW2UYsqfA4Sfx8M0CrnoFZYI5v/Eb9ke4jGr6n cFbDvxZDJhGNNJ7iZCvGJKllZmtCmtN4UbdwglfVnDbpGdbf+803slNel X/muMoBeCfsxJiwoT2yxhM/Ay3vcKZZAM2oAYkUsShbJsUfsM5dyJdmHm nY7wBRAIKeMpis8AU8R9KP3SSsN/y91IHoXiGgWzNmPobVWzb+H9vPMyS DDpzdUSCOjfH35JFFUOMFJD6UutP2Fg9qBJl/fKAGnaeIfUT3HzxOS7fJ g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936587" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936587" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280346" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:16 -0800 From: Sean Morrissey To: Nipun Gupta , Hemant Agrawal Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 16/50] rawdev: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:03 +0000 Message-Id: <20220215123037.608981-17-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107600 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 54C55A00C5; Tue, 15 Feb 2022 13:33:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 109BA41180; Tue, 15 Feb 2022 13:32:37 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 051B241153 for ; Tue, 15 Feb 2022 13:32: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=1644928340; x=1676464340; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=efAlmhJXnh7VUu2HKp4OH8akOK47eUiZRTF03S+jBL8=; b=Qlgm2u4LVu4T1pk1cx03V5RWRp0xxqVM4vXAoQM7iwk6+Fke9qgwTcpR x4FD5IPvhHagLR6vBwNgD8ZgSDcCWMmyTEHKPcMcAS9d1GfH/mgiamuBI yPe0uM7er+QQ7X4a5PyvJeGBrbrdJLgnDBIhVKSSJgDgncq5fWhuvxHJU cP18SujY65g+7CnCzd45NHc2zyO+eO2xP5SJ67eGbyxaApfwPffHKba5X RCOsfTFmTF+suqWIMBQ44Fkvwa+xOOS4JUPTEkiQUE1zSmRXRFru8SEnw uo6l3wG8CByVxvx0NXxHDC1XfV02o0DiGgHg1li8CT17Se8daBgtBgA7i w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936588" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936588" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280353" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:18 -0800 From: Sean Morrissey To: David Hunt Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 17/50] power: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:04 +0000 Message-Id: <20220215123037.608981-18-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 2261ce7820..4a4db51247 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 Tue Feb 15 12:30: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: 107601 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 32B09A00C5; Tue, 15 Feb 2022 13:33:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E654141C26; Tue, 15 Feb 2022 13:32:37 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7AC7C4116A for ; Tue, 15 Feb 2022 13:32: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=1644928341; x=1676464341; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IoEuhN36mxhCrgQT5twy78dP3gWSXenIeNPM7PxsTpc=; b=np8Fhcvifg/KwI2JoyBcIyivaqQ3sLHqulVG+N8SFzgRIDLwF0jq6F7N jchfKJUACksko93Ih+Kq7KJjlDfy7JYTqAYz2wHCXhfQY6upelOkr6IQC GMwX3JgiWZI/+9ehIouDvkiM74YTRQadlnZU9p1u7fHzn7kbFSoSDXmNF LzbuWkJhjUUoi4/4dmu/KjT/6pAexhiQVp51reAIJPxLVWRsqEOuDpC83 P6waEdViIRjIKLTxw7Mz6aHaL/A+C7Sf6/govDEzaG5jy6J+LfbkkRL2E w5/XWViqQz6CUb6/NIk5PRQGTVpbOwF8tddmXyCOC3FDUrkfia0Wx0oNX g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936590" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936590" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280361" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:19 -0800 From: Sean Morrissey To: Cristian Dumitrescu Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 18/50] port: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:05 +0000 Message-Id: <20220215123037.608981-19-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 79042d13ff..7d73adc1e7 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 Tue Feb 15 12:30: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: 107602 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 0EC5AA00C5; Tue, 15 Feb 2022 13:33:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D07A6426D2; Tue, 15 Feb 2022 13:32:38 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 20DCB411B8 for ; Tue, 15 Feb 2022 13:32: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=1644928343; x=1676464343; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=08caTY1bvzONFNJ1TKoFXRa9PTzPtQsOave2yIsh5gA=; b=Kyv4vbYheAxhJy3bIbb8b2SzfwPmlq8UKEJAskK7NXNBmYeGxHZiJWFu 39jhGPERIIWD8b/OsL9qCJ9kDrTsCaygeQbs7y9cEGDkFxSQK3zoxHa9b MZW/RXWLVBShJ1Bo4FvDppxNYqv32crU4U9T+JEMG9UNN71ByYoUNkXPE 7i8V5158WVMiCDu65UnJkGyzdn5ffxC3maWFDaIIuUaN7CDelt1pEET7+ 8XJPgkvZisp82OJ3mwE48/SRXNJuoLwmlaxIs2OUSwljaaL5a4NQi+c6W RIbDLeFIRdDw7/VY23XCN4BcdNv4WxVIIX+eFsSkKyuqRXjp6OdOsqOt2 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936597" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936597" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280368" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:21 -0800 From: Sean Morrissey To: Cristian Dumitrescu Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 19/50] pipeline: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:06 +0000 Message-Id: <20220215123037.608981-20-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 868010303c..8c4670e111 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 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 Tue Feb 15 12:30: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: 107603 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 49119A00C5; Tue, 15 Feb 2022 13:34:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B823E426D5; Tue, 15 Feb 2022 13:32:39 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 879184118A for ; Tue, 15 Feb 2022 13:32:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928344; x=1676464344; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mhp7Qf5sbPH71MG3+BwyuYtvhLatxsuGRv0MpH1/PEo=; b=jNtfQoYBJG/eNdY5++Lbe8Gpy0lgvEh4QC8wxLx22MwuxiA0d3j8F1Xv DBjK3P6SiY8g6+JAVlkKBNn+GsMsjeR+Gl7HO/yeDcwvluQde0AQoiZw3 Shf7Qc6Xpbe+4o5CVgI3MdGH4YgxHywSWrdREKQ67MEwLSPeo8tChf0wQ ujq+vacY9cSTypt/4yKw+LL71Q28z/SWQ5eBgK6BGDuq2oHaNXDwpNENl NT4YBagFSAUEERZn0p6Xx1vzqt0NiRvRoNtHKdmmJzNqNVSWQndZm9AtA LBoex1pWvqfIaqNsOHwRCdGI7p3LUE2bo5HmJ/Tpe7cDSr81pEhVFhL8E A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936600" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936600" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280374" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:22 -0800 From: Sean Morrissey To: Reshma Pattan , Stephen Hemminger Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 20/50] pdump: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:07 +0000 Message-Id: <20220215123037.608981-21-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107604 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 013D0A00C5; Tue, 15 Feb 2022 13:34:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A55F9426D9; Tue, 15 Feb 2022 13:32:40 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id B41B5411B5 for ; Tue, 15 Feb 2022 13:32: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=1644928345; x=1676464345; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9KD3LslvJo14v5IJYpzBfExtaGJwSQ3EdurS8wbJTfg=; b=nHduwUzBkxaZcC7p3B4OtorRPDZ6a9Fo+Zu/E6AYVAEqA2/1zcDLMaIK vk6m1PlfFLt/yvr6WY8iroC75mhyYEMwONxpzGYNNnlNFDyv+i1KzwpsF IxAVD9960LuCivqMqxXxJGToLJ/49KFzkHLTD5nhOCSl0kaBNKRaw3ZNo 09YA2cFQcsV5r3x0zbhvVg2j/EkMuS1+KdbFyn6/L/AtdShl5UEKFk0Bj rVr8T9cRdWVsIRkO5CgoryUHNJGaKgy2Tfd4CC55A+X8ytvdEQqqAqEKK ZZNfxfaawUUozhmAh9F+dFYWSPjKjH5gmrmKC6mPyEz2rzoIfaFhlMfju g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936606" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936606" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280381" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:24 -0800 From: Sean Morrissey To: Gaetan Rivet Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 21/50] pci: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:08 +0000 Message-Id: <20220215123037.608981-22-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107605 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 16AD8A00C5; Tue, 15 Feb 2022 13:34:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C091E41C27; Tue, 15 Feb 2022 13:32:41 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 274BD41223 for ; Tue, 15 Feb 2022 13:32:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928347; x=1676464347; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BF8xReW0RY0Py22VVWnvWuJVF+gqYhS0zXOMyGzLwRQ=; b=PmcpYEd+i2rDVSh9lhZSL80sx9LOZlrtA+j0Tnxf2HMt3IWyCyLCc/DG iUt/j4582LLYYf7EaZO1Cx56iEwor1oM5XKFspgRgfQQ1idA4lIPBAgKT mdvVjzwjsw5UV7aFJ8LKsF7Vs/rhLqm0UFjz/feh2PFCd6q3umVK0VjW6 ASHfbexS5gKhMnIzuuHlmCAYCBWjLnFHdsJko0SycfQBAgORFgma8a6Xk pRGq7iQNB7KqMLjEIZ2VX4Q2SgpnkjPDNVWrjASX+O9jZmK802ddhpFBx XzVEEoCMjvWvifcHhBaJwMHo1uYR3TybFonwvyONrEE8A8CKl1cmvwmLr A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936611" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936611" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280390" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:25 -0800 From: Sean Morrissey To: Reshma Pattan , Stephen Hemminger Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 22/50] pcapng: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:09 +0000 Message-Id: <20220215123037.608981-23-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107606 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 628F4A00C5; Tue, 15 Feb 2022 13:34:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A91A9426DF; Tue, 15 Feb 2022 13:32:42 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id CB24041238 for ; Tue, 15 Feb 2022 13:32: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=1644928349; x=1676464349; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZrW064G68NxYOzRJTEvAj3Q+sQxqzp8prYZi3RBmlI0=; b=mHbfQOfmJTFlZ/m7szndKTJWfMrWhb5i96un6ym3OVoCBQbTc4xNPAKM taJwRBN0FQFYl8G+/HjAU/mtoLJpqhxWKB2uixZ1InfgXgC3XCYyS8aca AzfNXoqmlY4zXlaOhFVyAyB7JRvwiNubDqQEEhvugcskKMpDPGf0OSa6Q Yq1mB7iVdPJTOwMfS9PeHp+1R3+JPwChsSaH5x7XSQvZ6xFsDEXsAL7JA pJyMJ2SorshKJaS33Yv99N4YCVze57Nh7my48zLQgY6pncM28VRnCGFpV t9baDj167bQupxnCEVzRGQKVH/Zl1bcIG+LHjbWrOyMdExkBuxpTQLEmI g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936617" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936617" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280396" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:27 -0800 From: Sean Morrissey To: Nithin Dabilpuram , Pavan Nikhilesh Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 23/50] node: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:10 +0000 Message-Id: <20220215123037.608981-24-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107607 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 461B6A00C5; Tue, 15 Feb 2022 13:34:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87614426E5; Tue, 15 Feb 2022 13:32:43 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id CA34741180 for ; Tue, 15 Feb 2022 13:32: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=1644928351; x=1676464351; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TY7Xv9NCCMI4tfob1fjQkd6FlpycyrcvngaTqTLFHV0=; b=GcH9quYjQrC9Mgn2cykPiwHl7IgNLfcflXtE7T49J7ezpkGbnGH9R3dR uwWktSD7c17X2q+Y+66cukhMMzNpHEpl2QhuhhJzOHo9MZ6rQoD2WgjOr WbhK72y6WWSmv9meDQL3D0kMpZiGMJiSgpv6dTlOxRD35VDwK4gaLPcTZ Iskil6mUGSRjkQVrWyyiX++1LIIV3OsxrPSED0O3kcc5NCmQ7W0iXKp4c OHh3dltTJxJyxQ1WYDRc2wV9ThZGEOl5lvw16McmPlhhA3vtLF9fbSUAo l4/nEkhxNr8Auxy6fZj23corPrKkZhKvNTNgVP/3zB0ceFU7EFtOJNHCE A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936620" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936620" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280409" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:28 -0800 From: Sean Morrissey To: Jasvinder Singh , Bruce Richardson , Konstantin Ananyev , Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 24/50] net: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:11 +0000 Message-Id: <20220215123037.608981-25-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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_crc.c | 2 -- 5 files changed, 8 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_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 Tue Feb 15 12:30: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: 107608 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 972DDA00C5; Tue, 15 Feb 2022 13:34:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88316426D6; Tue, 15 Feb 2022 13:32:44 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id B5E2741180 for ; Tue, 15 Feb 2022 13:32: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=1644928351; x=1676464351; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KYIoP8W6bKrVbI8V0gOlcjN4k9F2lpkQPt5t6EqpGYU=; b=NIRxjJWjUUe+BP6FTn6dlPFh8/CWljhb6OvDsdegEUYfChGOg1OWhQZ0 YAOirHi6eCOQ09ec/woTsFU/DJjvRYa6bYAHhqjMl/uE48p/cw+pc2o5L IOPsCwpDl3EkmSdgECId/r9Cstk5qgPeslBRTWVFUkzT8TxzWS9v8C7I6 E+BDufRUx+EELFZgIDdD59PPLMKsTj7xf1xaqNeLOt1PEEcdJaoz5tDvy dSCCXqagRXozbM5+Pw1SL5SwMyLs8QcdWjdIkF3vSz+Zi5nVAxpWsC/7B FcjQAgYHvQ6aXpn0ENTA9MG0bxJL3UgLQOdBOiF1UCCQbxH2xDfoe5W7D g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936623" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936623" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280414" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:30 -0800 From: Sean Morrissey To: Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 25/50] metrics: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:12 +0000 Message-Id: <20220215123037.608981-26-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107609 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 75277A00C5; Tue, 15 Feb 2022 13:34:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F20A426ED; Tue, 15 Feb 2022 13:32:45 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 30EB141144 for ; Tue, 15 Feb 2022 13:32: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=1644928353; x=1676464353; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4dwyaCPYB2Qwe5K1dnln40Y24f7tiIfAZJU0FAbnhRA=; b=k771EatFMfF+0l+CsmH9hRgTRuN3UjYhC7fe570COszH9nNv5/PT/ODF 4pe8tg7xC1yaEZzM98z3fe8HMP6DggkcUNwPUepn/q9yMOC2zdNg1hvKs +g0X0dhtZfOjYKRjELmbNjkDj6boXwrQIm62tPztoDkjiqQ0Mqa4NsJlD dG6gZsSWYge1BLnDGUWvHolFRPWsSHyQORnnOqekgI/C+E4Bd2cY+ORgM aMXqZKNbSYOA0/RfFp8pt10tmx4gk+bedPvsFScEMueuALEUc5Uey4I34 mFR9Rz1Jh+QTm3iPVMrBsRHIdhqMy+909wfzlnK0QJTQZZdTzfBvSYtqY Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936626" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936626" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280426" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:31 -0800 From: Sean Morrissey To: Olivier Matz , Andrew Rybchenko Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 26/50] mempool: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:13 +0000 Message-Id: <20220215123037.608981-27-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 1d3cdf7f22..3ada37cb86 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 Tue Feb 15 12:30: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: 107610 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 2DAF0A00C5; Tue, 15 Feb 2022 13:34:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC3BA426F5; Tue, 15 Feb 2022 13:32:46 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 0900341144 for ; Tue, 15 Feb 2022 13:32: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=1644928355; x=1676464355; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MU/REjD7QD1HrjqUZ6oqJjoOAWK4aPeQcd81LisMSuU=; b=RshKF8FncRJ5GggPJQval0lSVF9hCTytSIe6GjbuUq3erOflBHpFZUHe 8q0MVsrQ9r08tu8xVrdO7aewsBT8YgF21hjQk2SbOpQoRHOAyDZZ7y3M7 xwZgOLK5AKaD+ZC04NPw5AwimirRBKZqlTp4pCCmuJ+24r517wdHKTrgY TqQA3h86psbv4K3zEipIZnpXnukZjWuXDE1L4tDQoJrxAREpLgPkExGNp DT40aglat0esFUe1kILIxgB4sBHxwC89Qu165bNHtI6U4XhNa0H1od8SG 6NVtBAWRE9f+v/MntNYCq+aRMwGVl6kUQIE5l2M6tMQVACSV15haXbOd3 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936629" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936629" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280430" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:33 -0800 From: Sean Morrissey To: Yipeng Wang , Sameh Gobriel Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 27/50] member: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:14 +0000 Message-Id: <20220215123037.608981-28-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107611 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 C0613A00C5; Tue, 15 Feb 2022 13:34:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 28356426F1; Tue, 15 Feb 2022 13:32:48 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 5EE4841144 for ; Tue, 15 Feb 2022 13:32: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=1644928356; x=1676464356; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wBBXI7ifkBbP1b6vIDjmaK6lQSvGqFG42npQRqGbGiA=; b=KHeM1ScYYs3u5r5EXH7iKO8m3ZvD8a+RtGQ+uE3HFUHGoDNDWudcCK6e jwHyc7QQ2YQbU5TP7SHnNkK3L0HaCpuN8Ll3WbGbwqZj0fEwn+UhkQZLk N6OvtTr+PR8tPg9+KlKs4jysupvO+/Mr8BevZyGvcCRqyRm6KcnXGnlEN UMeptJXVVUFanGxhIq5EAOYPhBYciJykhfPhFz1+gweWv2nZMx0R7KZ0C 0hfS1FT/2n1xpABPribgmTqva9pu+u/M2PkZM9YJEIqx2pK3ptESKLXM/ L6JTi1/t5csq/f5kccihnXyG27RbFJs8xteAv6NGABuQO47rcWNeSOyqF w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936632" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936632" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280435" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:34 -0800 From: Sean Morrissey To: Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 28/50] mbuf: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:15 +0000 Message-Id: <20220215123037.608981-29-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 5e981ac633..865c90f579 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 Tue Feb 15 12:30: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: 107612 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 0D77EA00C5; Tue, 15 Feb 2022 13:35:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6667C4115D; Tue, 15 Feb 2022 13:32:59 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id CE53341C3D for ; Tue, 15 Feb 2022 13:32: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=1644928359; x=1676464359; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZU/fWrSJ9Sly2GpqY+l+YVjU2sUVtRoeqVwHXFKvJlU=; b=kfKsGk94PgHOSziKXkcwl/9ib74IodPNWvBYfD3Z34jG1fXMVEB5RZhN E7HJuA0m/yfv8KljgpnhPt5wEl9fdgAqiRZRwL4w2zGJida3KqO9UaxUP F8olvmq3J4DtAo40gnHopA6PcRfRdftwKH1cRzvN3Q/d9pNRyku2gth9I G66etKt8j0nPv4Mg6qrbAsgif91x2rjm4mZudMJU+c6F8cZ9uV/rn1hwa ROJt15LTtZtn+JvTcg+V/tpOiaooXFVBjDRUOnq0Qy1PnX3HLIkW32eV8 UK2ftqmjpvVOp0cJssVT99cr2RcF/N7QxkDU7+PSTm63BB5H1x8dCD7wk A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936633" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936633" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280440" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:35 -0800 From: Sean Morrissey To: Bruce Richardson , Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 29/50] lpm: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:16 +0000 Message-Id: <20220215123037.608981-30-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107613 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 D282DA00C5; Tue, 15 Feb 2022 13:35:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C1F5426F6; Tue, 15 Feb 2022 13:33:00 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 1B784426D5 for ; Tue, 15 Feb 2022 13:32: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=1644928359; x=1676464359; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=anC25U6lCPtF3M+fedWTaRe18+D0LFk1yWV5TY5ByDU=; b=QiBA9rzDgKJHzugNMJ3Iiyc26Cy7tScxDnY9mvLM1uGmoIye3ClB+NkH OvYQcp/zw0B1BPxiCC6ZBUhvsSzSfKCayd6I5s3nJ2PHoAChofUY01bJB j3ClRv7HXmHexIo+NkR0ko72feAo740oSIbs8cdvjbgf6qVZFuUZuH5U2 EVijhEg4nvwniVKO5er9jtx/tc0LOB7VCNvACds7QcG9Xwnpw1xWvniXd kt4SZRl6cbpuGym7r72bHQx5FP15pIPZVSMnaN7xoK1IFXZW+irLy3gyQ RbSuuSeIFaxGB0R0mroFIs2RLnnMHiGNm825RYMcXspFpFCmEmTfVCntS Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936637" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936637" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280447" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:37 -0800 From: Sean Morrissey To: Reshma Pattan Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 30/50] latencystats: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:17 +0000 Message-Id: <20220215123037.608981-31-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107614 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 351BEA00C5; Tue, 15 Feb 2022 13:35:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2993442703; Tue, 15 Feb 2022 13:33:01 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7E95541C27 for ; Tue, 15 Feb 2022 13:32: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=1644928360; x=1676464360; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pGdplYfecC+JqqjMimlHuyEnHK2NopXUrT877UPIQLQ=; b=MsXy1WKyu4Y3NjhvKB23NOg7sp6Q5Tt/G9ZxZnfPz+IVxuxzsL+WMxyw Z8C0JvyQMXJvhbEUKeynfWSRsstf3Zib6ZA85NqlNOgIYMXwcRVWtxkAq hI8kyAbAR/pGbR94p4Y4TD8cw8hRTuMeU838bGYUZmIndnP9sU++oyXIP MU7ZqmEaPxMOalvDtpz8XW9y3btr5xJAiMSdLItHzZ3l95DV1Lg+XcD/A dmJX0LvFN3MglZg+HZBd/WOKSoXpNiimzlSmkUewQSynfcFH849ceJISV 9D+K+AKepFrZ1gILQzT7P+aONP31kLxrfLSPGi3BeIfaa49rv32bA2B5E Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936640" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936640" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280451" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:38 -0800 From: Sean Morrissey To: Ferruh Yigit Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 31/50] kni: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:18 +0000 Message-Id: <20220215123037.608981-32-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107615 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 60B8EA00C5; Tue, 15 Feb 2022 13:35:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 299A84270A; Tue, 15 Feb 2022 13:33:02 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 2056B426DB for ; Tue, 15 Feb 2022 13:32: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=1644928361; x=1676464361; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FELRGDbs0t6EK7C56kMNNVL1QBPrMpzknsnkhQIVnNY=; b=LzcBIc6DucIPB4lmbxABgrowrunqsLdjNJXh64y6MS0t0va5F8EIxrmR GWiaJ17kQ2UEm91coJmi4zRU6A42Mz+4Hd1WkAv4tUq2vvirDFIV4JLSm vHwmg2HpLx1J9tt88/Kszo3lg+qd2WvA+B98/RR83RLFn16tyyQjP0Nyv ubZ/VtVD7+NrRo0/7vRlpKoIE5yqeuHXw9kIjgPiCJHznYd7OXYp6p5Yc gXbrn5OYgOVLisQ1DzdUpRrRUXJLow4kIXPLZHNMXj1tcARRq8t6h1QlW 1ZW7dHxgChUGSCbpqKrgO/RyekLoQTXoL2CHxdJCh7NqsTz/4nKE82Bc0 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936643" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936643" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280456" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:39 -0800 From: Sean Morrissey To: Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 32/50] jobstats: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:19 +0000 Message-Id: <20220215123037.608981-33-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107616 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 C3B2EA00C5; Tue, 15 Feb 2022 13:35:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16E554270F; Tue, 15 Feb 2022 13:33:03 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id DE5F2426DA for ; Tue, 15 Feb 2022 13:32: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=1644928365; x=1676464365; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0z0kdthZAvaEm4H23QGT9ayMa1Jk53GxZGNOdHnnRzk=; b=gSmziZNzmgDherTCSM0KYC2fPz8a3PHv6Hu4tppXns4B+A4YscRw+mGs gBmmXPxxKqbU3O2GKREKkgDhgiA18n+zCNf5WgZUpKR0n07pKsPxQuOG8 8o67GdidF/SLdMdvWUHKBYDPveCtPAEqDrnIFWX1NwBmp5To7K2gPiRP1 idpv1s/NAbBhL8xrUWnRqawybmQ7neGAjaeqdQBNvXECoB4a/EBJ3QO0y wsc0qbkpn/uAEic3IIWYJISnHqn3qIpYrZ+UuzIwKEDdWkGHvWsyuDDng B18qhLJOxvkCpXcerR5OvtiDvuhGHyV+dBm7aDzDBrdwjoLxWCEARZ+o3 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247936649" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247936649" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280461" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:40 -0800 From: Sean Morrissey To: Konstantin Ananyev , Bernard Iremonger , Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 33/50] ipsec: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:20 +0000 Message-Id: <20220215123037.608981-34-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 af4b1ce757..7cb492d187 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 Tue Feb 15 12:30: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: 107617 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 3EE3DA00C5; Tue, 15 Feb 2022 13:35:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 065D542712; Tue, 15 Feb 2022 13:33:04 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 82B46426EE for ; Tue, 15 Feb 2022 13:32:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928365; x=1676464365; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oFtCIY9g6Hsg2q6+a7A5v0IICJ44O3S20oISZ5/MgMg=; b=Q/kqEjGRmZ8FZXHPIyjwDb+iXN2WZCe8C7jo10Bs4ZWSexpK9jfv3RiJ Dp7i26BmdjVGcqfU4f7RiMhWw7vjNIlseXcyEPkv4Y3NYF3lDxwWTxP7F HAvWIXenaUZvl5xfXRlTSpefjMfIw1CRuS7fX94IaMVR3LX0ruYAOnuTH Z0Ds8EkSzPmQ/PODkYC1KHf+uMuXPgAuO1Kzb5SMvUu5ErEuq2y+5Dlrg PwAGBHw8+FelZQZ2g8X++1ZsMhdSceVbguZWicD1kOLIlpzGtRQXcg3wR cDVXDBp2raK+mxWew9Ux3pdSolqwZo4kedXUx1wr8Ws8fMA9SatjQPk4g Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="249175573" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="249175573" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280466" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:42 -0800 From: Sean Morrissey To: Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 34/50] ip_frag: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:21 +0000 Message-Id: <20220215123037.608981-35-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107618 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 BC012A00C5; Tue, 15 Feb 2022 13:35:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F360A42715; Tue, 15 Feb 2022 13:33:04 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 81559426F1 for ; Tue, 15 Feb 2022 13:32: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=1644928366; x=1676464366; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BvTTtictC4X23XZOZ/TZi3Rrp6NCD08P285Eo++1DvU=; b=NhQiqVbK+ANA1KQVFNE8Wv69zaluR7OuKaJ3YCoNUonjKqqRShZyUbWL 6aAcEDDNutulvwZwUGRGgAWXsfn10Gr7EBoa7pHTvOwzvlzbfwidIZUrW Xz5mS+T9JV9pIraeo2LSwSy+92c10EmRjq9F7AS57DZg8rC6xWElIsBNr MvbJMJEy6js5lZ9GdzDzvF1SmDmq2AB9vvHT796XrewYp3EbaplltZuJk QLxtN1JgCukhYR+A98ugjjW+czj26mZQAQD3QAeJ4DuEZ7F0FXDFnK5vh bPkAdPgHxFjT4mt3CVqUPRnPy6o3tu3/v6u0SA4vn8QVqOBixl6lr4ZiC Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969211" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969211" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280473" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:43 -0800 From: Sean Morrissey To: Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 35/50] hash: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:22 +0000 Message-Id: <20220215123037.608981-36-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107619 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 91F95A00C5; Tue, 15 Feb 2022 13:35:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8F6F41161; Tue, 15 Feb 2022 13:33:05 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 789B94115D for ; Tue, 15 Feb 2022 13:32: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=1644928367; x=1676464367; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XP47NBmybwv8nHxfUrQkJi+EXHwHs9W7YkoCGL3jIw0=; b=MvwMhO1/Oijepm5lk6Qiq5kJ2gid33CdBhtJpBnLmTie6Lv9Pe7cpgKR sY0Hl8GaFhPaiowpvbQzCA35OKH+DIO2gajF1qlO/RoyCAtblVaSgMV82 BrnLBJ6cOgRqZpQq7M6MfkG/Aevu6oq4WrAwp3t3TOL8GcPQD7FT57cCK A6Qtr9i5T+6XrGj2oe2P2vcMT38GL6GFTSM/YyYu8qkMUYUBkshCBnK1Q v1bb2MsS1m4k3PsD0B6M1Z8F1uWkBorZEsgJSBi3yOS3xxFZVe9Hx3fba oGezORSjqprgvmVJEsITyJ6hM5s4IVNfa0KxVwdzhe0bfBifwAKLKRZaq w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969214" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969214" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280478" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:45 -0800 From: Sean Morrissey To: Jiayu Hu Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 36/50] gro: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:23 +0000 Message-Id: <20220215123037.608981-37-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107620 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 24510A00C5; Tue, 15 Feb 2022 13:35:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF3E24271E; Tue, 15 Feb 2022 13:33:06 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 635AF42701 for ; Tue, 15 Feb 2022 13:32: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=1644928369; x=1676464369; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sJObvPCdUvZFNTWXaNQKH3ipjpgXCWWxP3KjfvB5v14=; b=LUPuSihLikXUJReQf2sCb78fAmFQF6CgTWtlQoyY9gV0u/08ZGA6KuVz SatVKeeaQTfjRfT3PhtlejsJINtOBVr5cpd6pUHP2LOOEgiIiEXYkhMk9 UY4Ma3n1TMyTO6WoAkO1SOlqGY19QP0xC6ndT9Jt225+8owFI2zRprUmr 2kaH7GqINjlyKwDUbeEi/ra91mo2SOYp8znUV9yapa+NMzINrfORx2j// u1dnsiYtAQzfuBL8OZyp/F6hPLHXVUNerFSCenGBb+MhC+h+4B43JkIj/ PgyneLfXq8CX4GmLRhB7lbaB1S8I7qfk1egY8TfF01EI2/YgGVYZPOY7s A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969220" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969220" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280488" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:47 -0800 From: Sean Morrissey To: Jerin Jacob , Kiran Kumar K , Nithin Dabilpuram Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 37/50] graph: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:24 +0000 Message-Id: <20220215123037.608981-38-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107621 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 877B7A00C5; Tue, 15 Feb 2022 13:35:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5AEF4271B; Tue, 15 Feb 2022 13:33:07 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 9A3534115D for ; Tue, 15 Feb 2022 13:32: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=1644928370; x=1676464370; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cRQXrpTM+pawqWYuewJx9Zr5C75pEtjXnSyyqDeADKw=; b=L2wqz1ocdaSYutqB77px6CZutvlqGXQ3FnkDhIvFjXJRlWXvXG3SyfBb utJCP1ECIpH6HYExIlBhqFESFnJuld1svGPjW55RjXQLVIIvWhRA1Gb4h hZJuajGmEz4mYFTwMGTdlvfmqufJKxluQoAT2KBFaDF/8vWrR3gjyFyvM ih8TbZ3S3IYPOABfHfTFddw4sPx8sTBeMDLQB79pGzLrKwQN5KTph4QAv ya1yXO/F4ixPQvO27mUldvK7mCC/mUpYl4B96Uw9F1U4QvYQNgS9O36dv 89870E45eFdFxQo62MZ6QP3n9mfh1WlrcE6GgghCQu9fP4sg0+qwdOp6+ g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969221" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969221" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280492" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:49 -0800 From: Sean Morrissey To: Elena Agostini Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 38/50] gpudev: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:25 +0000 Message-Id: <20220215123037.608981-39-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 ce92d63257..55a087bfb6 100644 --- a/lib/gpudev/gpudev.c +++ b/lib/gpudev/gpudev.c @@ -4,7 +4,6 @@ #include #include -#include #include #include #include From patchwork Tue Feb 15 12:30: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: 107622 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 45BFAA00C5; Tue, 15 Feb 2022 13:36:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8EC6842718; Tue, 15 Feb 2022 13:33:08 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id B0BBF4115A for ; Tue, 15 Feb 2022 13:32: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=1644928371; x=1676464371; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=++pfAzgNAHR9ygyv7/ck+Vc7pcygHB3IByZmmm5XKqw=; b=fcg2f9ocPVsjN+xPmME+XAFvXHq1NMGPt8zmYwf74CK2cqqHPUg9ENBi z+IlTJAKseiyLach2AKHyn19xYZgBzWaxT7OBUP2LUwGQKjC4r+Cqs+GR 1tC7fgrDKQAF0RwtN5MuvPn7oEJnje1y0r4M80+i+aVcczQZ78VBKknKY vxAet9B4lxPudDjcl5xcfedUa+YW+nvwqqLaUMQT/NIsFt+x9k2vr1nJH aEYhdOX0qQGDPM64EUO/jlMHuIbWK3inZ9lgX7DInr0Xy5q1C6IoEP8Uj 2dazoB5az4vk9dJvDN9n/F5qZs0No0g8aulUELqQzn0qkfoC9ZJpX/lmG A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969224" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969224" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280496" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:50 -0800 From: Sean Morrissey To: Bernard Iremonger Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 39/50] flow_classify: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:26 +0000 Message-Id: <20220215123037.608981-40-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107623 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 227B4A00C5; Tue, 15 Feb 2022 13:36:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 882D442727; Tue, 15 Feb 2022 13:33:09 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 1F89B41157 for ; Tue, 15 Feb 2022 13:32:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928373; x=1676464373; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7N4aLqgbna4nRQeFy8OzdM7ZdC1VxvuUgd3kVR6oMaA=; b=bYNXioFqZVwDSZkDmmmFAiVEckfYR9EpQDniXe9l/mTr9WED4pJglHGc sGJJSkQ1VfHAtPyy3gZ8ls1WRS3nhopwEqpkGRA9vAavNFI9bAPiBxleF 0OberY3NZSLtD6wd6Xlpr3hxIXyR6A46lN8GRGWvHUIpTRASYWfIeA69x MPSj52mNver2K/dYWaH8j93tRjPwj0YKCyPHGzuRHjl7rRNzjxYti/wn6 MYFFntnmZD7jxab3mVxzT6cwyfHj24oaXsjjAvIq3Q2z+e5yM49zvQnka H4Ltrbp1ocaXmxuB4SNJsO4EQiF+geAM4UUZLRhRL7YKEpLrui+D0C9lJ w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969226" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969226" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280504" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:51 -0800 From: Sean Morrissey To: Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 40/50] fib: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:27 +0000 Message-Id: <20220215123037.608981-41-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107624 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 2307DA00C5; Tue, 15 Feb 2022 13:36:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 650014272D; Tue, 15 Feb 2022 13:33:10 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id C6A7B41157 for ; Tue, 15 Feb 2022 13:32: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=1644928374; x=1676464374; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ciuRL9T0LTL+RGZXRaGHKOmc6Ur8s1PMnqHkA5c+L8k=; b=afVFk9tUAcY3JkkrPDcx73vUUEVaX3+EK52taJmPwheuGpLRQeUvvhdw 06R2QtE/YhNEHtaKmQgXmCnE+wgtQQwqG+gBxW99VD2t/w1fBwMlwxEBu 5EPF0I/Gq9GJKxI35XMq+TaryMyGisC/IeHEGV5IKmZ/FaR57yctKZ2I8 GcUdcWV1dNmP1TQSPcjFrPQ20Ym/F+0//+D/kEZIuPXSmz4AJiRFZJxY+ 11F8A6A1eNjOfQOkEmMDJEOnvLP1elo9usnFg10TSr9VP5NjjCfBHMJXN BIaIyw7lTsNNPyXLGG31lJy1zwjO5EYDzizoU+aaEUkK1YQG/OsrWkxr1 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969228" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969228" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280513" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:53 -0800 From: Sean Morrissey To: Jerin Jacob , Erik Gabriel Carrillo Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 41/50] eventdev: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:28 +0000 Message-Id: <20220215123037.608981-42-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 e68d02da72..4c91e5516a 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 6988bf186e..532a253553 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 25fb7c89dd..67c4a5e036 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 Tue Feb 15 12:30: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: 107625 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 E1236A00C5; Tue, 15 Feb 2022 13:36:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45B2C42731; Tue, 15 Feb 2022 13:33:11 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 3E19A41157 for ; Tue, 15 Feb 2022 13:32: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=1644928376; x=1676464376; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hg20v+UI6ONaBeJE2WqF5fzVLSkjypVSxIoZ5MlSwXo=; b=fIMe4uEfMHAS4mtni8/4uPu0UvS+jgXdzRtpXQYWBgkrnQqBozz4qeQE dCO5vWuIymU/2Vy1VHRAnU2ZTlMCb/e7IpEwAdpZ1bSgxE3z7ViWCZTzn nyKyhssn4L9OHwm68G/ePW9pm/cvE4RmkHhnihc9tCC/1b86vZVmAFKZJ W+F5LoAiFMdhXDLrVXcJogZrovG93L8DXl53NzBNIrosMCWxtB14h+BZD D5eh4X650aZeVV4C4wUjVSE74E2+Y1bbTx4Z2GUeOsgj5ALWtL3gaV8UL sh0LYUu2oqlbw58AtbGoSvN3TdrZFfFfE8XnKo5Efsatpy8VoapP5eGG8 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969230" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969230" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280520" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:54 -0800 From: Sean Morrissey To: Byron Marohn , Yipeng Wang Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 42/50] efd: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:29 +0000 Message-Id: <20220215123037.608981-43-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107626 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 EEADDA00C5; Tue, 15 Feb 2022 13:36:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 12FA342738; Tue, 15 Feb 2022 13:33:12 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id D4BCE41157 for ; Tue, 15 Feb 2022 13:32:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928378; x=1676464378; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=X77UVyFCU3KWX9LUcAlutU6RJE1s6pLnHtCx1grTaT4=; b=N7eYjxodUT9Klfpr4LyQNa+gdHdfcxzlrugoDHJbC8h9YJ9i8xRbH2zQ D6fgDcos4NKB2kNfglUHydNU95UaK3H0UMpAXXG+kLlibR7xW0Xafqv+v y5b5ft9xfbSyrG3h4Uu0dFuqVM7vbRjfgcC+I1N0/S8v2R07yrLlevxHx R8jn7o9xp5QAj/dUmCywcgCWHkpM5/i2Jv56gq72kic9OxlCR7kb4j87E rSeQJ/xUZTvDnxhzpSUGWM4RG0cC1FewRutm6CnYAN1qsp0VzlyGwd9nA XS6WvArb+4LsAzoaAOwCFL2qMPjEkdmy/v1dLy8ahueDkZ6prjCzL5mdb w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969233" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969233" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280528" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:56 -0800 From: Sean Morrissey To: Chengwen Feng , Kevin Laatz , Bruce Richardson Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 43/50] dmadev: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:30 +0000 Message-Id: <20220215123037.608981-44-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107627 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 CCE46A00C5; Tue, 15 Feb 2022 13:36:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC23E42746; Tue, 15 Feb 2022 13:33:13 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 7DF5941177 for ; Tue, 15 Feb 2022 13:32: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=1644928379; x=1676464379; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jx2DetfN9V7XOGzAcAT6oyNhNZVFiZAd87+6ho1YbGE=; b=YFMqiOpsi99bysoUIah1+1Q5y3FGxxuACjwCm/479CDZK/0Z7QGauyss FrblEADtvdHDz2MyG0PewcwNNQPu6wAD0iDZ6Qs/vi0NqNke9eQ8+XoAQ wPHYBXqz+8/qaAAfelNScN3phCN6/kYhzhIVvTiCm7pIhaDhIJNBZIHQC VzVP38egn5feI1fuVNFHvEooe6ZBlzCt+QoRDcdGBLrQV+WBuR620mU7H SwksoC0YVzdpmJAt6MFq9RsnM19DgKEHIjggHmlIfkrOGXMh3gRqMUoJ5 vMOSzvHp+RV40WzYkot7e3pqgZ+UDtwdff21UoEtSGRZrrhp3G7KnO5Su A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969237" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969237" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:32:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280533" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:57 -0800 From: Sean Morrissey To: David Hunt , Bruce Richardson , Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 44/50] distributor: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:31 +0000 Message-Id: <20220215123037.608981-45-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30: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: 107628 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 53F0BA00C5; Tue, 15 Feb 2022 13:36:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3FB54274C; Tue, 15 Feb 2022 13:33:14 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id EE834426FC for ; Tue, 15 Feb 2022 13:33: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=1644928381; x=1676464381; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VX98Q2YiayKVSoU5dopmtxznvUeInw0P5APfZpsP7ds=; b=O9t3XVgMHewEuyl5sqfSAluhR0e+psfBEldqnJL7LoOERDDHy7K7mK7z dxAYRuXPi+9Qbb8ibMlwBzD3PjHEYJ0QYhHntJWkZ11z8RtCZLYs2/jPS ET64ofTWHf6CP+u7yCDPuRPPbR81iI/3EX0pWSKSNRGMOIsbk81Af5uo1 LjVRSsBrSssmVZxLMWYSeNngZNCtyWfCzmgvRaaSYkvspNKzuY6xy4O3G pScbVqvm8DS2LKWqfZRIoHRxHC6i1sE6DFy6RAbISBmneXt2TEZNQOltu WLAri0SqYWX7nLBmO9zv/H3NrdlC6hyJa10ZH98oXzCZsKsY5iL8AGKGj A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969241" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969241" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:33:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280537" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:59 -0800 From: Sean Morrissey To: Fan Zhang , Ashish Gupta Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 45/50] compressdev: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:32 +0000 Message-Id: <20220215123037.608981-46-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 d4f7d4d3da..22c438f2dd 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 Tue Feb 15 12:30:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107631 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 3DEDBA00C5; Tue, 15 Feb 2022 13:36:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A20A141186; Tue, 15 Feb 2022 13:33:39 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id A27F24270E for ; Tue, 15 Feb 2022 13:33: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=1644928382; x=1676464382; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Nq3dLMSseofBfJo1DBc+n5LYBwgzXFvcwCHTL/44jh8=; b=PmocL/uJlaI3SVYdoBONGjHnkxXeqaiVdipizuVA8+GulONYCs5TfAoh BIY6KM6Xe8ki1ojdHWEGf8cGcmPXHf7C607l61aWJSsVVpaekuNa+z5n7 Zylij35vNWG8uxZH/pnUeGDddYU7CTfzJsVmEvwoSoTp/pTY5TSYDaigV CoMv2DgCyTh8nkiGf+56ZTW+s0SSSI8KMfAifc7glxhTWk3spKc8DZxSZ g4o6PSI1fC5j6p5P7PEWRO7UfIUXGVFC2gf2aCyn344P5sg+uuZ6mv98z 2hGq0dN9/pYLuYsLVSwuNjBKoROZgE0vpD0HhXfsUyHhac7ZjKYUCD0Cm w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969245" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969245" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:33:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280543" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:33:00 -0800 From: Sean Morrissey To: Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 46/50] cmdline: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:33 +0000 Message-Id: <20220215123037.608981-47-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107629 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 29AE0A00C5; Tue, 15 Feb 2022 13:36:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A355141145; Tue, 15 Feb 2022 13:33:29 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id DC9754270E for ; Tue, 15 Feb 2022 13:33:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644928384; x=1676464384; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4WKcVF3AW5g/3waizodcz+Fc/s1DJiQ5EhWPmiWSqlY=; b=V5zFx/qrXSkjJW8+ZNmo9QvumvcbmB3trxYOdoGwhDIWRMTD3AuK1iM2 6wTEOUyogwJKEyEI7FhKlCwDCv2hg0kiKA/ugvn5zkn/n7ZoNc0+bN9r3 CnwKzGKRxUxnFqV6dWeS5ePh1P8BYnv5SvYeLV5JGgjKXIFYmIxm8k5Tk VC+JNPmi9tIgrSNoPV69Cf+JzxqNS0AvGcutAUb7FPZvkB7e+HbXGldiB JrXwY+8zoJkVcrp61aFFZEXqrL5s9OhxEsWQio6LuZ33X8atuXHizAuL+ fn/ByLkp6BZg+HNtyEKrLy3pLQturXiLRsE9NiaoQpGDAkMAvwm85I5tL w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969251" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969251" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:33:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280551" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:33:02 -0800 From: Sean Morrissey To: Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 47/50] bpf: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:34 +0000 Message-Id: <20220215123037.608981-48-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107630 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 557F8A00C5; Tue, 15 Feb 2022 13:36:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A22F841171; Tue, 15 Feb 2022 13:33:33 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 32F7142718 for ; Tue, 15 Feb 2022 13:33: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=1644928385; x=1676464385; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jONd1CrZ0IUvIrkVEq56v6LLzCxm2Jg/cXb7YrhrfOA=; b=K2ZnZNnNSzMKkDrtjabf0XvKNCc8Iu/WaP7H0TvVm+iFyp1rWvroeMee wEHibAJeMypN5M+Lttex5QOxq/zQ5ByBn5SzJiGUO2aZRC+NFIJt/TBYT IVnC677CLcfCRSWbzIcsVJka0iaK/atIJkrt0sQx1sZXpGzkVmyBxHl0l YniSaKy0xLJ9G18aH8Tv80Jb3tUX6+ByamWGYHAaXEigPfMSIN9brTumQ Kd8mrSHheAe1aRQif+NLuWJTlmDxLGs67JM531Dx5sRSh9Fwn8/N2wwOt SlywAYuxzb/23ZFKay580vH+7Fc+AZOMEe68Urb6AW8vts7vxI9wjNG7Z g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969255" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969255" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:33:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280564" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:33:03 -0800 From: Sean Morrissey To: Nicolas Chautru Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 48/50] bbdev: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:35 +0000 Message-Id: <20220215123037.608981-49-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 Tue Feb 15 12:30:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107632 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 77E22A00C5; Tue, 15 Feb 2022 13:36:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7DA2042739; Tue, 15 Feb 2022 13:33:40 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id B672F4271B for ; Tue, 15 Feb 2022 13:33: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=1644928386; x=1676464386; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7XzpGqm6biRbG81krZ1BgHegCLWNCmBqetuZHE4PcRw=; b=O7OqvKo4Lo0VnnRQhtG2Cq1JAcZHkp3/1MYOeV3r1kGisyBW+u1vFHDt cimO0m2nj8OgvEQyLuQRwJBK5poj0wAEAV+c8ymZJivhGgkw8uBS7yrSG sIeTK6ryb5Ns1CPpkQge5ihKaaM90LGzUz/xJoFkiVlDFA0fmktbpInpv UjyfemxHUzGdQyo6rNcBbNim0ZnbdF+jhnSlAcWrdyMFIwsFjUcE1szmv BBQ4UGourgwmtECTTZZtzO228s0fxxRyvc5+YnY9bKNxPKHhV0132GDnP NG23EvB5nnnVeEpPX0v1G3q8DfzfLiBD7ON6zHmHgkNBimHwvA+rh7RjT g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969260" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969260" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:33:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280573" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:33:05 -0800 From: Sean Morrissey To: Akhil Goyal , Fan Zhang Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 49/50] cryptodev: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:36 +0000 Message-Id: <20220215123037.608981-50-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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 d91902f6e0..8bbb9caeae 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 727d271fb9..321d2171d4 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 19e2e70287..45d33f4a50 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 Tue Feb 15 12:30:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 107633 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 BC3ADA00C5; Tue, 15 Feb 2022 13:37:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BDDBA411E6; Tue, 15 Feb 2022 13:33:44 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id D93204271F for ; Tue, 15 Feb 2022 13:33: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=1644928388; x=1676464388; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Pinjlhxmyu1NWelct7Hl/mb9kvGW002JpfxiBVUoK58=; b=Yg0LztVtz88L70SiuJthZwfhNIVG3bPfU0f1oi9o5lC4I0tB1FzkFl40 EQ95BCEA6MKhBPWYTZWRx2/px4qqoHoiW/BLOjocu8rwJGM6yABQA8cWV mHX+VlMVOJN4ft9i2P9zJoVxadZhTSALNsw3CgtrrpCvIuRFyZkH6ucGA 4y7V7YluhzLmohkW8XKLGFb6QcoK064EsZ3UzEf1RhXoaCvdnKmi4cv8X n4UiJPTiNbu5/CcX6Hm8cvajE+R9Np2WM4pi91YgA6omh/9xPrH4mBmwA PTfkUex5Z3lVdGY0740zbFJxzZe0c7XABnDjw04XXBojkY6fOPjSBU4Nw w==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230969265" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="230969265" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:33:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544280584" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:33:06 -0800 From: Sean Morrissey To: Konstantin Ananyev Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v9 50/50] acl: remove unneeded header includes Date: Tue, 15 Feb 2022 12:30:37 +0000 Message-Id: <20220215123037.608981-51-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220215123037.608981-1-sean.morrissey@intel.com> References: <20220214144406.4192233-1-sean.morrissey@intel.com> <20220215123037.608981-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"