From patchwork Sat Mar 13 01:56:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Kozlyuk X-Patchwork-Id: 89053 X-Patchwork-Delegate: ferruh.yigit@amd.com 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 DBD3DA0547; Sat, 13 Mar 2021 02:56:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 252421608F7; Sat, 13 Mar 2021 02:56:29 +0100 (CET) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id 6257C1608E5 for ; Sat, 13 Mar 2021 02:56:27 +0100 (CET) Received: by mail-lf1-f42.google.com with SMTP id u4so48322344lfs.0 for ; Fri, 12 Mar 2021 17:56:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lqwnMr/P2x48r+d9m2CH6He/s8TrIijRKN3WYnAxorQ=; b=jg6CQ+WWk5S2U5Nl2JJrJtem7tOHVD43nNlKB5c6dunfyz0gUJIMeei8LwUISLWIeK nTKzeL2NLbSZaPMjxoumbIuKjomBdk7HPQ2xSEU9Ol+ZC9inNfscUURrbYYuPGeA32Pv 6B9XbxzYFlnF8F/brGecaYwMDg5a3MPYxirZJHtOWtOby2k/mlMiRWtPrasa2zs3ajIc ZVyTDRxxWyUnwLoPSUrKTCWzvbKlKUIq8CODd599r0NwHHuErUVWoAUMS+W27EjQxilu x6t6QtOWkbSwIJEv5M4Ex9UwkLjt1GD3qUCAkBJafHIBgOgsznIB5FepuVaawjpKWb1O 1HcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lqwnMr/P2x48r+d9m2CH6He/s8TrIijRKN3WYnAxorQ=; b=roxtfN4UFORl8Dpw/4Ghh/7nyyJfcC1WgFWimQdvXxW7acH+04VwnE82iZqiXuQ4Ql 95HC44bzUxd6z8kgw424C/4rl75DKxvonn0kJemDEMrwhS3nCL5BZGfizcovblvEk8zS 5xo/BFQCAKHxBcIp1QcUWXwbLLj022ccZIf3so2ACn+V41XGZR2Vvlahui0jewjnVdXN mTLmmIoPMUaWpGbRf0ZG6JNI4A/fLufknAd8x11h8N4ElD3CrJr9hWtr8/LxT2mOEOk0 UOJ8bjFwGuT0KuG82AFkS1nxKnoTQpgeIlQHIdV10yxuWmF5Ju+G7W3VgWqDSb0JlXkg ov2w== X-Gm-Message-State: AOAM531xviw+ayqSolfxSomtstpQ9tJ2uDKt106VXwijykv3jYImMJY8 vmCHrGJbedWdW2k7mioiKo5QjUSgm/97JA== X-Google-Smtp-Source: ABdhPJyKAAyczYvJoJTfLgSwIlgVLmCxwWGRHoHiQbU4XjoA45lwYPpSDEAgVrXqnNzN4FLhpJLVvw== X-Received: by 2002:a05:6512:3a92:: with SMTP id q18mr1208725lfu.248.1615600586707; Fri, 12 Mar 2021 17:56:26 -0800 (PST) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id d2sm1901296lfl.89.2021.03.12.17.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 17:56:26 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Pallavi Kadam , Dmitry Malloy , Narcisa Ana Maria Vasile , Tyler Retzlaff , Dmitry Kozlyuk , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Date: Sat, 13 Mar 2021 04:56:14 +0300 Message-Id: <20210313015616.29790-3-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210313015616.29790-1-dmitry.kozliuk@gmail.com> References: <20210313015616.29790-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 2/4] ethdev: remove POSIX dependency 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 Sender: "dev" Use for IP-related defines instead of POSIX headers. Keep , because it is incorporated into DPDK. Cleanup, group, and sort remaining includes per coding style. Signed-off-by: Dmitry Kozlyuk --- lib/librte_ethdev/rte_ethdev.c | 13 +++++-------- lib/librte_ethdev/rte_ethdev_core.h | 1 - 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 6f514c388b..f363794369 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -2,18 +2,15 @@ * Copyright(c) 2010-2017 Intel Corporation */ -#include -#include #include -#include -#include -#include -#include #include +#include #include #include -#include -#include +#include +#include + +#include #include #include diff --git a/lib/librte_ethdev/rte_ethdev_core.h b/lib/librte_ethdev/rte_ethdev_core.h index 918a34ed1f..4679d948fa 100644 --- a/lib/librte_ethdev/rte_ethdev_core.h +++ b/lib/librte_ethdev/rte_ethdev_core.h @@ -6,7 +6,6 @@ #define _RTE_ETHDEV_CORE_H_ #include -#include /** * @file