From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CA3BEA0524; Wed, 5 May 2021 19:19:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7013441135; Wed, 5 May 2021 19:18:51 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 1E400410E1; Wed, 5 May 2021 19:18:42 +0200 (CEST) Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id 1A75820B8016; Wed, 5 May 2021 10:18:41 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 1A75820B8016 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1620235121; bh=Bvh3oyprXacDUPMqQv05VlSR4j9G2dnlHNyNNELFuf0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ial2d0kL7RYzGoCwHTj5yKtPAxWYr9g+lCW+o3ucsvo8tdyVOjOUTQ37foXbsLXg+ E/1G1wXZn/G0dD9s2XHUTRgrCtUDIeF/i7WAGXKmA2+tczcWLN/gszjBNbRwfk9uWa XZWRw8qOwTEAHlwicp3WyMbbCLtwI3DszaDapRVg= From: Jie Zhou <jizh@linux.microsoft.com> To: dev@dpdk.org Cc: dmitry.kozliuk@gmail.com, xiaoyun.li@intel.com, roretzla@microsoft.com, talshn@nvidia.com, pallavi.kadam@intel.com, thomas@monjalon.net, bruce.richardson@intel.com, ferruh.yigit@intel.com, konstantin.ananyev@intel.com, stable@dpdk.org Date: Wed, 5 May 2021 10:18:33 -0700 Message-Id: <1620235115-7062-9-git-send-email-jizh@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1620235115-7062-1-git-send-email-jizh@linux.microsoft.com> References: <1620088449-14770-1-git-send-email-jizh@linux.microsoft.com> <1620235115-7062-1-git-send-email-jizh@linux.microsoft.com> Subject: [dpdk-dev] [PATCH v11 08/10] app/testpmd: fix headers inclusion X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> - Include rte_os_shim.h in testpmd.h - Remove redundant headers Signed-off-by: Jie Zhou <jizh@microsoft.com> Signed-off-by: Jie Zhou <jizh@linux.microsoft.com> Acked-by: Tal Shnaiderman <talshn@nvidia.com> --- app/test-pmd/cmdline.c | 3 --- app/test-pmd/cmdline_flow.c | 2 -- app/test-pmd/parameters.c | 1 - app/test-pmd/testpmd.h | 1 + 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index f0636ca9b..2fbef3320 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -10,9 +10,6 @@ #include <string.h> #include <unistd.h> #include <inttypes.h> -#include <sys/socket.h> -#include <netinet/in.h> - #include <sys/queue.h> #include <rte_common.h> diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index 888b9179b..a3cd4773a 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -10,8 +10,6 @@ #include <errno.h> #include <ctype.h> #include <string.h> -#include <arpa/inet.h> -#include <sys/socket.h> #include <rte_string_fns.h> #include <rte_common.h> diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 4c3cbbac3..5e69d2aa8 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -19,7 +19,6 @@ #include <stdint.h> #include <unistd.h> #include <inttypes.h> -#include <arpa/inet.h> #include <rte_common.h> #include <rte_byteorder.h> diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h index a4115861b..f96eec71a 100644 --- a/app/test-pmd/testpmd.h +++ b/app/test-pmd/testpmd.h @@ -11,6 +11,7 @@ #include <rte_bus_pci.h> #include <rte_gro.h> #include <rte_gso.h> +#include <rte_os_shim.h> #include <cmdline.h> #include <sys/queue.h> -- 2.30.0.vfs.0.2