From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@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 <dev@dpdk.org>; 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 <B5f9847010002>; 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 <getelson@nvidia.com>
To: <dev@dpdk.org>
CC: <getelson@nvidia.com>, <matan@nvidia.com>, <rasland@nvidia.com>,
 <elibr@nvidia.com>, <ozsh@nvidia.com>, Shahaf Shuler <shahafs@nvidia.com>,
 Viacheslav Ovsiienko <viacheslavo@nvidia.com>
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
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain
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 <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>

Remove unused reference to rte_hash structure from PMD tunnel offload
code.

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
---
 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 <rte_flow_driver.h>
 #include <rte_malloc.h>
 #include <rte_ip.h>
-#include <rte_hash.h>
=20
 #include <mlx5_glue.h>
 #include <mlx5_devx_cmds.h>
--=20
2.28.0