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 EA9EDA051C for ; Fri, 17 Jan 2020 21:33:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF5711AFF; Fri, 17 Jan 2020 21:33:08 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 2E1D51AFF for ; Fri, 17 Jan 2020 21:33:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579293187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8n0/zytBGo2EVQ4svHpt0Sw0Pk9NoUC5ejLS2dsdbsQ=; b=hX4UFGrQN+xXTTKt2xGO+sNKR/DWJ3XThbL3wGkgxspLui+lbHgQ16l0xs1g7WR2cBZZPH +3ni4u0IaZkTEi8U/Q/QSuFh43X7zCSHH4CUJwZiBaHM67AqT1lSUgjlFyWgDL5Vd8XtNh HcYu2i0OX0yIQI/4WCLHnq2v3r8/1eM= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-47-6RCm7yQpNIyDE4002Go3Mw-1; Fri, 17 Jan 2020 15:33:06 -0500 Received: by mail-vk1-f200.google.com with SMTP id h18so10249008vkh.13 for ; Fri, 17 Jan 2020 12:33:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B++49yqX3TSoOvHPr17uJjSVWihrDoYg2rPtpM8HodQ=; b=EhLy0m0d06KOXarp8BUF7hdCFxCmFsgI9vk8VFMwNL3oab5nYEf/bIUH2MDvLj7hxO nhGyOYG0/O8JMRwg9t6VGDPw0pkVIqfaDSpGt1wB/923tQoL+MpTjC8SOW7VY1XhjYgm XeqO3kJuTjivCHNm0A9jKExhig79ZXWHWqf1lRLGSn4Noenuc+Uvq/T1fpz78Nyt9PeE NDQtc2m/dF4iB72QeLQvRA/R6sGkVCCYLT0+/0OmzaKS3atbROG1lbMVza3b87WsE7ow UQTVRc8blX9vCtmNTVWl9epOhJM+CQ69VlRAwEBrP5QgRvQRUQ1EMX8JIvm48tH4fRT6 Qkww== X-Gm-Message-State: APjAAAVonjq5N6j+jbrM+VUFmyn9WzpdUWGBlYD2iotAeXIPVQ1HNgIp +fAReKlj3cjQkTRMpZMtiZN26/xONLOrrbeo+yA5jPUs+Onid4HlHfahjXtOP+y4GZFXPAXCE37 EniiNjSzhotz+dHNiCGsvzmg= X-Received: by 2002:a67:e342:: with SMTP id s2mr5991020vsm.198.1579293185867; Fri, 17 Jan 2020 12:33:05 -0800 (PST) X-Google-Smtp-Source: APXvYqyPn+8Cj/PCS0hwN+qkk4rb3Q4mwcHKVujHh0amjOzYraS6Ehdt78Ob1s0IgnSxp7AHkcR/fyRztIXkBF1gboA= X-Received: by 2002:a67:e342:: with SMTP id s2mr5991005vsm.198.1579293185609; Fri, 17 Jan 2020 12:33:05 -0800 (PST) MIME-Version: 1.0 References: <20200109132720.15664-1-olivier.matz@6wind.com> <20200117145754.11682-1-olivier.matz@6wind.com> <20200117145754.11682-3-olivier.matz@6wind.com> In-Reply-To: <20200117145754.11682-3-olivier.matz@6wind.com> From: David Marchand Date: Fri, 17 Jan 2020 21:32:54 +0100 Message-ID: To: Olivier Matz Cc: dev , "Zhang, AlvinX" , "Burakov, Anatoly" , Andrew Rybchenko , Bruce Richardson , dpdk stable X-MC-Unique: 6RCm7yQpNIyDE4002Go3Mw-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [PATCH v2 2/3] doc: announce API change for mempool IOVA populate X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Fri, Jan 17, 2020 at 3:58 PM Olivier Matz wrote= : > > Starting from v20.05, rte_mempool_populate_iova() will return > -ENOBUFS. The ABI will be preserved through symbol versioning until This deprecation notice describes a 0 return value, not -ENOBUFS. > 20.11. > > Signed-off-by: Olivier Matz > --- > doc/guides/rel_notes/deprecation.rst | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/= deprecation.rst > index afa94b43e..e11c7f436 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -86,3 +86,8 @@ Deprecation Notices > to set new power environment if power environment was already initiali= zed. > In this case the function will return -1 unless the environment is uns= et first > (using ``rte_power_unset_env``). Other function usage scenarios will n= ot change. > + > +* mempool: starting from v20.05, the API of rte_mempool_populate_iova() > + and rte_mempool_populate_virt() will change to return 0 instead > + of -EINVAL when there is not enough room to store one object. The ABI > + will be preserved until 20.11. > -- > 2.20.1 > --=20 David Marchand