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 3558FA051C; Fri, 17 Jan 2020 21:33:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 09BEE3772; Fri, 17 Jan 2020 21:33:10 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 629142B83 for ; Fri, 17 Jan 2020 21:33:08 +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-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-195-MbHq6fwvN8COAeD6DC5Ypg-1; Fri, 17 Jan 2020 15:33:06 -0500 Received: by mail-ua1-f71.google.com with SMTP id 107so4127346uau.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=kCHIaiNK7h1iFt/OfAjC/N3Qgim7RAkKftcmh/xlMjjrpHVbIy5l69TZ8Xn5Gq9p0X CeHMA/F+swOeLCEmtOkR8toLVpsyK0ylQQlBsYN85kazUbzjXBjdboP8/EFN4dHkZGIe SvbvkwG00bvf/X9pkfpemuZMG4IDSFuAdnf0gIPgJwmNBZ0XeqLCrwaCD0BuekUs9/PP jFHwV3UAQsxL/R3ZLFsAOKbJlsNvMAKPkasC4EEoJNE7f55FsgStgCwIFZcnJph1apcp CVcdTnUvwvCvteF6VYfPM1mKraH1T7+eGvQWrnWqASAOzsmmyQpXB9yiJrR+IqlM+vW8 jqlA== X-Gm-Message-State: APjAAAWyvkeOWhWv+vBZjzUIX1omatdk/VoBkQqfMqFz2hDCBlFB134f nGjt+yygkxmd+0w+3sraOm62n5BZPHFXtnFm9iAfQzr0trCAFp8cqhTPlWP68SpupF2NNZVedNv 11Tqg3MbYqFRq6mPyODY= X-Received: by 2002:a67:e342:: with SMTP id s2mr5991018vsm.198.1579293185866; 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: MbHq6fwvN8COAeD6DC5Ypg-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-dev] [PATCH v2 2/3] doc: announce API change for mempool IOVA 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" 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