From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id 7AB2D2BD5 for ; Thu, 9 May 2019 00:59:36 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9594180D; Wed, 8 May 2019 15:59:35 -0700 (PDT) Received: from dp6132.austin.arm.com (dp6132.austin.arm.com [10.118.12.38]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4AD983F7BD; Wed, 8 May 2019 15:59:35 -0700 (PDT) From: Dharmik Thakkar To: Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, zhongdahulinfan@163.com, Dharmik Thakkar Date: Wed, 8 May 2019 22:59:22 +0000 Message-Id: <20190508225924.21200-1-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190508165121.20471-1-dharmik.thakkar@arm.com> References: <20190508165121.20471-1-dharmik.thakkar@arm.com> Subject: [dpdk-dev] [PATCH v2 0/2] hash: fix bugs in 'free key with position' 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: , X-List-Received-Date: Wed, 08 May 2019 22:59:36 -0000 This patch series solves 2 bugs reported on Bugzilla (bug-261) within the function rte_hash_free_key_with_postion(). It also adds a test case to catch similar bugs in the future. https://bugs.dpdk.org/show_bug.cgi?id=261 --- v2: * Add comments in test_hash.c (Yipeng) * Resolve checkpatch warning Dharmik Thakkar (2): hash: fix bugs in 'free key with position' test/hash: add test for 'free key with position' app/test/test_hash.c | 94 +++++++++++++++++++++++++++++++ lib/librte_hash/rte_cuckoo_hash.c | 15 +++-- 2 files changed, 104 insertions(+), 5 deletions(-) -- 2.17.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 7A494A0096 for ; Thu, 9 May 2019 00:59:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4633C37AF; Thu, 9 May 2019 00:59:37 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id 7AB2D2BD5 for ; Thu, 9 May 2019 00:59:36 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9594180D; Wed, 8 May 2019 15:59:35 -0700 (PDT) Received: from dp6132.austin.arm.com (dp6132.austin.arm.com [10.118.12.38]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4AD983F7BD; Wed, 8 May 2019 15:59:35 -0700 (PDT) From: Dharmik Thakkar To: Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, zhongdahulinfan@163.com, Dharmik Thakkar Date: Wed, 8 May 2019 22:59:22 +0000 Message-Id: <20190508225924.21200-1-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190508165121.20471-1-dharmik.thakkar@arm.com> References: <20190508165121.20471-1-dharmik.thakkar@arm.com> Subject: [dpdk-dev] [PATCH v2 0/2] hash: fix bugs in 'free key with position' 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190508225922.NDchP67BAzJek9jDZW3LlWc8LlFT_-4vJj-S2Ntd8uI@z> This patch series solves 2 bugs reported on Bugzilla (bug-261) within the function rte_hash_free_key_with_postion(). It also adds a test case to catch similar bugs in the future. https://bugs.dpdk.org/show_bug.cgi?id=261 --- v2: * Add comments in test_hash.c (Yipeng) * Resolve checkpatch warning Dharmik Thakkar (2): hash: fix bugs in 'free key with position' test/hash: add test for 'free key with position' app/test/test_hash.c | 94 +++++++++++++++++++++++++++++++ lib/librte_hash/rte_cuckoo_hash.c | 15 +++-- 2 files changed, 104 insertions(+), 5 deletions(-) -- 2.17.1