From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 3E3E44F90 for ; Fri, 26 Oct 2018 13:02:41 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CC31C22101; Fri, 26 Oct 2018 07:02:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 26 Oct 2018 07:02:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=hhvgHS2PFTc5pl/KPM6nJHOGwY/B77jI2Q24r8iLsok=; b=TMfCQVWjKZia xNC6eBH+IpNNDmofzdds/JZ9feWMdZvA8JdMTFjTZpqKc/pv8lM5GJ9fwspckP8Z RZguZoDtAGqU0dqhwTv7B+82MYKIZSuR/LiPX55Y9e4HiylB90IwbaS5c6nw+/Ks 0mnh/8QL2+ucmK24hzyNJb5VdRbv/F8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=hhvgHS2PFTc5pl/KPM6nJHOGwY/B77jI2Q24r8iLs ok=; b=i3dCZTWoPj3Hew+LTpF913y2MaGgR6HU2PV3uwPKu90dS1hvuDgcftqXe Gfay4FxC61dW62rC5nzxU35yo9dTcKkJtgTNHi/3PqlCgs8tbtl/Z4aYT38ML/Iw YnEFNzBexdtDQOaxcUuAdD3ZDBfF5i1l5ZyV/h3GnFdPbV+WS6C0yaxI5X+Ap+4a 5923I9PzfQIzhJTSbLnuiA5W2dmYQ/L4APRHzXcngWdSVz5ZVgNkmvZxT6kJJYQG YNzIA/DyjCSkrnPUKgOx9rWBOufI2piPvR8NT2NrheUAb/gRYrjQv0Iqe9/dSEpo 77o/GfXc4KbKgAyhoSYQhswufvzcw== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 69760E4074; Fri, 26 Oct 2018 07:02:38 -0400 (EDT) From: Thomas Monjalon To: Yipeng Wang Cc: dev@dpdk.org, Honnappa Nagarahalli , "bruce.richardson@intel.com" , "stephen@networkplumber.org" , "sameh.gobriel@intel.com" Date: Fri, 26 Oct 2018 13:02:41 +0200 Message-ID: <29631663.p2uedxxcba@xps> In-Reply-To: References: <1540404570-102126-1-git-send-email-yipeng1.wang@intel.com> <1540494678-64299-4-git-send-email-yipeng1.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 3/6] test/hash: test more corner cases in unit test 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: Fri, 26 Oct 2018 11:02:41 -0000 > > --- a/test/test/test_hash_readwrite.c > > +++ b/test/test/test_hash_readwrite.c > > test_hash_readwrite_worker(__attribute__((unused)) void *arg) > > uint64_t i, offset; > > uint32_t lcore_id = rte_lcore_id(); > > uint64_t begin, cycles; > > -int ret; > > +int *ret; > > > > +ret = rte_malloc(NULL, sizeof(int) * > > +tbl_rw_test_param.num_insert, 0); > This memory needs to be freed at the end of this function I am waiting a v4 for this change, please.