From patchwork Tue Apr 6 08:58:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 415879 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4379192jai; Tue, 6 Apr 2021 02:00:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr+/xCcDOQ4pQya3Go0Jefcd9UFUn6Efx4nZkYHuFAVdSElH63E/jZJWfVqVMIAYyNW3k5 X-Received: by 2002:a02:7086:: with SMTP id f128mr27719270jac.104.1617699602711; Tue, 06 Apr 2021 02:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617699602; cv=none; d=google.com; s=arc-20160816; b=ZhvzOcAR7zFxMhx1Glhby79pIJy4kq+l3m1o3EfRk9PeP3juQtGZ1KLrj69LJB39Av WIX4VE2cYZJwEIGAHu33rZvLfAlrA0+a+4/FawFJ8wtc90T43Ojdkg4hgIc4Ju6MgXh9 GBhW4xEL1dhil51H/bHM6knJqHBj7E9FbYYP2wTtx528u1FfVQ4uK/uA9jWda+kMkzju ltpvIUNypB88rbBIrU295nZkvkCEiVFMC2QVj5GRVTe/EK0WEdxm2VdEYLViB25pfaeN H8OK8oMAsNUI0fIGle2Nu19tQT7wG+Plu+QjTYABEO8wWsYs/MZkRePZVDRIacLRlw9P jiJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9gNOk30SmKYicHAlhRSjqEeO8prhKPveCxnsknNzonk=; b=YeGxLXQSeuf6kTdfuQKRf7UEwKn649o0EhnL8XDBgcqg9D/Y48IHVXYE34OaFuSxt7 t1QdBVdAnFmsN60CVBDAZmYItvap57JDVy0/0sT+aNw9oedTx+7vudxv8P/od2gDCqGv egB4i/sxAnGWc3aEA9lqGS6s6EzBgUfv4iDxKNIes+VwzAW/Zzn0/Bw7dzylhvjhQAyF yYeN5AmeX6VxyE5ImmsgNsdJcbIlXM4uOvUYyJt5I1H9L7gJEh9DQuSD54oPAsTtcWar PpYAOcLD1iWTs+AjJLT/7UlUAMd05yLyHZpns3JYGBSgHCcPplMY1E9MQ7G3mIgIIU/0 e+RA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si18601743jad.47.2021.04.06.02.00.02; Tue, 06 Apr 2021 02:00:02 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240630AbhDFJAH (ORCPT + 8 others); Tue, 6 Apr 2021 05:00:07 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:15133 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244726AbhDFJAH (ORCPT ); Tue, 6 Apr 2021 05:00:07 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FF1cT0Y2JzpVMc; Tue, 6 Apr 2021 16:57:13 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.179.202) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Tue, 6 Apr 2021 16:59:47 +0800 From: Zhen Lei To: Saeed Mahameed , Leon Romanovsky , "David S . Miller" , Jakub Kicinski , netdev , linux-rdma , linux-kernel CC: Zhen Lei Subject: [PATCH v2 1/1] net/mlx5: Remove duplicated header file inclusion Date: Tue, 6 Apr 2021 16:58:54 +0800 Message-ID: <20210406085854.2424-2-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210406085854.2424-1-thunder.leizhen@huawei.com> References: <20210406085854.2424-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.179.202] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Delete one of the header files "esw/indir_table.h" that are included twice, all included header files are then rearranged alphabetically. Signed-off-by: Zhen Lei --- drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) -- 1.8.3 diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c index 8694b83968b4c4f..e8307f5eae4cb6a 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c @@ -33,21 +33,20 @@ #include #include #include +#include #include #include -#include -#include "mlx5_core.h" -#include "eswitch.h" -#include "esw/indir_table.h" +#include "en.h" +#include "en_tc.h" #include "esw/acl/ofld.h" #include "esw/indir_table.h" -#include "rdma.h" -#include "en.h" +#include "eswitch.h" #include "fs_core.h" #include "lib/devcom.h" #include "lib/eq.h" #include "lib/fs_chains.h" -#include "en_tc.h" +#include "mlx5_core.h" +#include "rdma.h" /* There are two match-all miss flows, one for unicast dst mac and * one for multicast.