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 E4191A0A02; Tue, 27 Apr 2021 22:02:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A377341289; Tue, 27 Apr 2021 22:02:14 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id E9AD0410FD for <dev@dpdk.org>; Tue, 27 Apr 2021 22:02:07 +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 C8D7020B83E8; Tue, 27 Apr 2021 13:02:06 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com C8D7020B83E8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1619553726; bh=mW/d64v3yyQaySXptGpzfVsa0ys6zn34nhoI+oMMAFw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RPHafJorcoKTTlgeESJYZhwmeUM5GhUFAEO+WzeovYbEFfpCEmppQzU1vywyZJetY wm63k5VHow3V536TpPT6JG6XDmoiL/qpTrYUxM7KQftvFKNq8BbYL/phQ9HEgyHIvp Cn+/LTAfCWmu1Uoq9v55TfjKeorvQyECaNHVBu3g= 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 Date: Tue, 27 Apr 2021 13:01:59 -0700 Message-Id: <1619553721-5220-9-git-send-email-jizh@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1619553721-5220-1-git-send-email-jizh@linux.microsoft.com> References: <1619137920-13449-1-git-send-email-jizh@linux.microsoft.com> <1619553721-5220-1-git-send-email-jizh@linux.microsoft.com> Subject: [dpdk-dev] [PATCH v8 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> --- 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