From patchwork Tue Oct 27 16:12:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Etelson X-Patchwork-Id: 82359 X-Patchwork-Delegate: andrew.rybchenko@oktetlabs.ru Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81618A04B5; Tue, 27 Oct 2020 17:12:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5ED585947; Tue, 27 Oct 2020 17:12:46 +0100 (CET) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id D12CF5913 for ; Tue, 27 Oct 2020 17:12:44 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 27 Oct 2020 09:12:49 -0700 Received: from nvidia.com (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 27 Oct 2020 16:12:40 +0000 From: Gregory Etelson To: CC: , , , , , Shahaf Shuler , Viacheslav Ovsiienko Date: Tue, 27 Oct 2020 18:12:26 +0200 Message-ID: <20201027161226.24041-1-getelson@nvidia.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200625160348.26220-1-getelson@mellanox.com> References: <20200625160348.26220-1-getelson@mellanox.com> MIME-Version: 1.0 X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603815169; bh=CZSqelJqAjSf9Y+ehe6v+owNwiKqEv8IeNfMD3dLxGs=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:Content-Type: X-Originating-IP:X-ClientProxiedBy; b=bLqz7kXTNP1v9QjhUvjmQnH3Ah26is9l147e63uN//Xvml5CyubfXfNC0WuYc7RNo BveWIQoXxFRYGNm5vklDlS5wJIi/7WGl0CbT6jEzCSwdah2fnbEWwzYnbxlqsm9Rxd RFyuTL85P/9+L9ReWKelbdCd5vpQUxGMR2t1CjFU8GuO30ur+oTtc7XbPKkh1yA4gr 5gy+pGbBhEAMoE8Bpg40bdVF7CPWd9U8aU1lJ3nEPypojowWwlPrFlqmPr31A4iV49 guMo54dgR52fVSyZE43hY6kgnc/8w7KAXxRQAELVbnwHnhZHcZxVFHVOTVMNjEBdM2 IBQU56Pyr/NYw== Subject: [dpdk-dev] [PATCH] net/mlx5: tunnel offload code cleanup X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Remove unused reference to rte_hash structure from PMD tunnel offload code. Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5.h | 1 - drivers/net/mlx5/mlx5_flow.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index 09026288fc..88bbd316f0 100644 --- a/drivers/net/mlx5/mlx5.h +++ b/drivers/net/mlx5/mlx5.h @@ -648,7 +648,6 @@ struct mlx5_dev_ctx_shared { /* UAR same-page access control required in 32bit implementations. */ #endif struct mlx5_hlist *flow_tbls; - struct rte_hash *flow_tbl_map; /* app group-to-flow table map */ struct mlx5_flow_tunnel_hub *tunnel_hub; /* Direct Rules tables for FDB, NIC TX+RX */ void *esw_drop_action; /* Pointer to DR E-Switch drop action. */ diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 02e19e83ae..082d886c74 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include