From patchwork Sat Mar 13 01:56:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Kozlyuk X-Patchwork-Id: 89054 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 80039A0547; Sat, 13 Mar 2021 02:56:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7962C1608FC; Sat, 13 Mar 2021 02:56:30 +0100 (CET) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mails.dpdk.org (Postfix) with ESMTP id 357B51608F5 for ; Sat, 13 Mar 2021 02:56:28 +0100 (CET) Received: by mail-lj1-f177.google.com with SMTP id y1so9621693ljm.10 for ; Fri, 12 Mar 2021 17:56:28 -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=sjx90+kxk2xnsdHhDm79AipxManFO0BN0HUxZztQFbc=; b=DVUm3sshEjnCP130ZcFPxzqb4ri4hGTZK6Ld+fPS8WTnfiFpqpQ+8h9xLQwxRA6cLE qyHcAVCfOwV9ULdwiIOPwiBYqS5H/3O4VbN420RI7olkSwmPBXLX36ffuAMML7K/PqqA n2t2tA3v6Ck4nlQyJISMOUui18zOItF1lh8Tbv0TJAYVw5OPP9gbLzMBdGEsufQmBghM NgOPVhEmjuh4vohqtSACzx2GL39B9l7fzprYG9aeGjc8aNIc97i+fV5X2U9hNvv77ac1 lXZMftifZo9d7M/3+11NECO/yGyZgX/ZA6SjMAx3ESE+XnHMfdItJReo/G0djW2YRdcR JeHA== 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=sjx90+kxk2xnsdHhDm79AipxManFO0BN0HUxZztQFbc=; b=d/M8wCVB1nW8YwuWwqcZeSak2rLsks1gwuaEq3WRCMbpUnbfm5Z39WBwyaOIuxaGNG t51HVwOUqeqYzc8cdNGyQlHNv+h+Tbahkj27MqSZpsU3bKfuSZy/RquEXiAlkO9jig22 5LB9gk7tHM+juoWi1zQv9gejB9ZMWeMJdYp/b6ByNsw/9onHY9PUiKSWxkLU8VZk63US rRLmjrm64hswfBznVxjaNW+lZhsLQMxskYyvr9CoPkG5f2MeOZmCcqoLl7f23G5l6rbN rlOSapOFbC99Zx4oGdTN0+NpdyiQgapcMvxx9+HthM/JLNiXp8LuDtn6bkfb3nbGqO+3 84wA== X-Gm-Message-State: AOAM530woOUpU0mP/2a/Oh99QmYIvncNDV0Urg7rPxkX57xReD43tt2y TERtKvhIsZEWZenlJ4si95eWIaueXUFBQw== X-Google-Smtp-Source: ABdhPJyzplkbaem1evLzHXCIvl3P+/hOcH0emQc2JXgIprNNe6I9YakhK0DSdnPx4EpnuJMJDLM7Zw== X-Received: by 2002:a05:651c:201d:: with SMTP id s29mr3895081ljo.315.1615600587654; Fri, 12 Mar 2021 17:56:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 17:56:27 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Pallavi Kadam , Dmitry Malloy , Narcisa Ana Maria Vasile , Tyler Retzlaff , Dmitry Kozlyuk , Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko Date: Sat, 13 Mar 2021 04:56:15 +0300 Message-Id: <20210313015616.29790-4-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 3/4] net/mlx5: 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. Signed-off-by: Dmitry Kozlyuk --- drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_flow.c | 4 ++-- drivers/net/mlx5/mlx5_flow.h | 4 ++-- drivers/net/mlx5/mlx5_mac.c | 1 - 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index a281fd20ea..f04da06abd 100644 --- a/drivers/net/mlx5/mlx5.h +++ b/drivers/net/mlx5/mlx5.h @@ -10,7 +10,7 @@ #include #include #include -#include + #include #include diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index ab5be3dacc..73253bd39e 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -3,13 +3,13 @@ * Copyright 2016 Mellanox Technologies, Ltd */ -#include -#include #include #include #include #include +#include + #include #include #include diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/mlx5_flow.h index 8324e188e1..c4e5f19faa 100644 --- a/drivers/net/mlx5/mlx5_flow.h +++ b/drivers/net/mlx5/mlx5_flow.h @@ -5,12 +5,12 @@ #ifndef RTE_PMD_MLX5_FLOW_H_ #define RTE_PMD_MLX5_FLOW_H_ -#include -#include #include #include #include +#include + #include #include diff --git a/drivers/net/mlx5/mlx5_mac.c b/drivers/net/mlx5/mlx5_mac.c index 6ffcfcd97a..f0450735e2 100644 --- a/drivers/net/mlx5/mlx5_mac.c +++ b/drivers/net/mlx5/mlx5_mac.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include