From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2DA06A04B5; Mon, 2 Dec 2019 03:52:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DBF4E1BF88; Mon, 2 Dec 2019 03:51:51 +0100 (CET) Received: from smtp.tom.com (smtprz14.163.net [106.3.154.247]) by dpdk.org (Postfix) with ESMTP id C7B834C99 for ; Mon, 2 Dec 2019 03:51:41 +0100 (CET) Received: from my-app01.tom.com (my-app01.tom.com [127.0.0.1]) by freemail01.tom.com (Postfix) with ESMTP id 65CEB1C81B9A for ; Mon, 2 Dec 2019 10:51:38 +0800 (CST) Received: from my-app01.tom.com (HELO smtp.tom.com) ([127.0.0.1]) by my-app01 (TOM SMTP Server) with SMTP ID 374473239 for ; Mon, 02 Dec 2019 10:51:38 +0800 (CST) Received: from antispam1.tom.com (unknown [172.25.16.55]) by freemail01.tom.com (Postfix) with ESMTP id 575161C81C66 for ; Mon, 2 Dec 2019 10:51:38 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tom.com; s=201807; t=1575255098; bh=awrS9L2qT+JuNDIIZqpnv8KRf9kZB5nP/hoBkBkbJl0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dZdKemnLs06jidNawq+mrfVTvey3h3/U58QDN8Hh4XuUVhETdlcW7SQfaKg78GOH/ 3vQK7WD6dPlI0Pnfg4hgOxobLlB0WamCQagj/B4MgkwtL9jLE9GVGgwYZfyrS16XDq I1x0ALp1NnIiEn9JnawCc6sE4aKjrqSrL7f6j3ho= Received: from antispam1.tom.com (antispam1.tom.com [127.0.0.1]) by antispam1.tom.com (Postfix) with ESMTP id 53F4710016F7 for ; Mon, 2 Dec 2019 10:51:38 +0800 (CST) X-Virus-Scanned: Debian amavisd-new at antispam1.tom.com Received: from antispam1.tom.com ([127.0.0.1]) by antispam1.tom.com (antispam1.tom.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IK4WOViXpuA1 for ; Mon, 2 Dec 2019 10:51:38 +0800 (CST) Received: from localhost.localdomain (unknown [203.160.91.226]) by antispam1.tom.com (Postfix) with ESMTPA id BBFCE100133A for ; Mon, 2 Dec 2019 10:51:37 +0800 (CST) From: "Wei Hu (Xavier)" To: dev@dpdk.org Date: Mon, 2 Dec 2019 10:51:26 +0800 Message-Id: <20191202025126.73423-10-xavier.huwei@tom.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191202025126.73423-1-xavier.huwei@tom.com> References: <20191202025126.73423-1-xavier.huwei@tom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 9/9] net/hns3: remove the unused macros 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" From: Hao Chen This patch removed some unused macros defined in hns3_rss.h, these macros are used to set tuples for abandoned RTE_ETH_FILTER_HASH in hns3_dev_filter_ctrl(). Signed-off-by: Hao Chen Signed-off-by: Wei Hu (Xavier) --- drivers/net/hns3/hns3_rss.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/net/hns3/hns3_rss.h b/drivers/net/hns3/hns3_rss.h index 7ffc15131..725970f89 100644 --- a/drivers/net/hns3/hns3_rss.h +++ b/drivers/net/hns3/hns3_rss.h @@ -27,7 +27,6 @@ #define HNS3_RSS_HASH_ALGO_TOEPLITZ 0 #define HNS3_RSS_HASH_ALGO_SIMPLE 1 -#define HNS3_RSS_HASH_ALGO_SYMMETRIC 2 #define HNS3_RSS_HASH_ALGO_MASK 0xf #define HNS3_RSS_INPUT_TUPLE_OTHER GENMASK(3, 0) @@ -56,15 +55,6 @@ struct hns3_rss_conf { uint16_t queue[HNS3_RSS_QUEUES_BUFFER_NUM]; /* Queues indices to use */ }; -/* Bit 8 ~Bit 15 */ -#define HNS3_INSET_IPV4_SRC 0x00000100UL -#define HNS3_INSET_IPV4_DST 0x00000200UL -#define HNS3_INSET_IPV6_SRC 0x00000400UL -#define HNS3_INSET_IPV6_DST 0x00000800UL -#define HNS3_INSET_SRC_PORT 0x00001000UL -#define HNS3_INSET_DST_PORT 0x00002000UL -#define HNS3_INSET_SCTP_VT 0x00004000UL - #ifndef ilog2 static inline int rss_ilog2(uint32_t x) { -- 2.23.0