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 3FCB9A04AE; Tue, 5 May 2020 00:30:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A7D221D5AC; Tue, 5 May 2020 00:30:15 +0200 (CEST) Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com [64.147.123.18]) by dpdk.org (Postfix) with ESMTP id 0AC051D5A7 for ; Tue, 5 May 2020 00:30:14 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.west.internal (Postfix) with ESMTP id F33795D4; Mon, 4 May 2020 18:30:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 04 May 2020 18:30:11 -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=fm1; bh= i5zImmuyFOGkhdY8fCXTJ0uIVS+c+1o6ETUkRiBwcc4=; b=M9befPLo10Ix26UM 3bcdsU1YVLekRiCjqhxYtRzcbsijFX8QQAJmO80l8ahMi83dYRf1OB7ETh6xTJqs i2le3dw2Zwh8pEQLgrFbhzbgQ0/wp87DQfi7OtH1MyFdbbp/SP+vO+8shTfKtSuF lQy9RaONGbn0Gq+2vqNIv5sQAEZlEAJ9wICf3Y9pgLJEGk1lvNIdmyki4thiD+he l5SftxnD7I2fQisRIi3Exj2uIa4zRJqRRECDj/yQ0aQjHutnSd+xlqkbxGWbUDCo nZRhzLhtbi2t8boRXITJBXFJZfDj/Wd/o3ewokVlS8BrAHruYwMUZHahCYf9Y/3N BGu1fg== 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=fm2; bh=i5zImmuyFOGkhdY8fCXTJ0uIVS+c+1o6ETUkRiBwc c4=; b=ihMIPpIrju71AMrTmwxH8z3zq69i/sD5GrLWyyw+SnNZiWoBvEEF52pRF Kf/YNYDjmTy0V+CsgVRJsy0tNqGmOq2j+CuZrrWFM/h1vngYjdfFD1XW/lAnAdLq REEfjZ8cndcUZTgC/edzCXWduMAFE06tZetxNM/oD5fcxN1/nLGxQb3fxjGtDQs2 lnRL9CGeNnLWRyQKIqVECOV45jdHlLj1s7sPb+yuGRJLR8jxbVrRFlcLkeFQ0Jfu /QAbG34N5NztjAMHB7bL5BK8OGfn/RzETc7CBYtdfa5NmhHDpQCeMtqHJqIfYFKW 5UXOVJ+KNAN23naZVqf4KvcLHK7xA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeehgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth 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 61C9E306602B; Mon, 4 May 2020 18:30:08 -0400 (EDT) From: Thomas Monjalon To: Olivier Matz Cc: Andrew Rybchenko , dev@dpdk.org, david.marchand@redhat.com, jingjing.wu@intel.com, john.mcnamara@intel.com, marko.kovacevic@intel.com, mdr@ashroe.eu, nhorman@tuxdriver.com, xiaoyun.li@intel.com, Lukasz Wojciechowski Date: Tue, 05 May 2020 00:30:07 +0200 Message-ID: <1720435.atdPhlSkOF@thomas> In-Reply-To: <70d59828-1adc-76e0-ffdd-a0cae443663a@partner.samsung.com> References: <20200426165255.2999240-1-thomas@monjalon.net> <36679d8e-47b8-b550-484a-0a29a620b79d@solarflare.com> <70d59828-1adc-76e0-ffdd-a0cae443663a@partner.samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5] mempool: return 0 if area is too small on populate 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" 04/05/2020 17:47, Lukasz Wojciechowski: > W dniu 04.05.2020 o 14:54, Andrew Rybchenko pisze: > > On 5/4/20 3:49 PM, Olivier Matz wrote: > >> Change rte_mempool_populate_iova() and rte_mempool_populate_virt() to > >> return 0 instead of -EINVAL when there is not enough room to store one > >> object, as it can be helpful for applications to distinguish this > >> specific case. > >> > >> As this is an ABI change, use symbol versioning to preserve old > >> behavior for binary applications. > >> > >> Signed-off-by: Olivier Matz > >> Signed-off-by: Thomas Monjalon > > Acked-by: Andrew Rybchenko > Acked-by: Lukasz Wojciechowski Applied, thanks