From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4EC71A0C47; Tue, 12 Oct 2021 08:06:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3770C40E01; Tue, 12 Oct 2021 08:06:18 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id C6DB940150 for ; Tue, 12 Oct 2021 08:06:17 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 60EEA7F530; Tue, 12 Oct 2021 09:06:17 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 60EEA7F530 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1634018777; bh=bkM6eN50IoQpcwD+fj/SIK4tLmrQeTtpGpanD5H/Z6A=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=FCQ489KvKHNxadLueeNhwOl9QMad3QwevcUVYVt55qGTONALr0nDQ3VBwOtGr5PYF U0s4UUu834ACIafNZyh8Ax9twLupJ3D8d04Zl+YWCa9gpAIkIt4YYSO7RobvJq/ir1 7ZI8GEKyRD1vZ/ZRK6o6nPPwgkW9Z/nQZzdsFQ4Y= To: Thomas Monjalon , Dmitry Kozlyuk Cc: dev@dpdk.org, Matan Azrad , Olivier Matz , mdr@ashroe.eu References: <20210818090755.2419483-1-dkozlyuk@nvidia.com> <20210929145249.2176811-1-dkozlyuk@nvidia.com> <20210929145249.2176811-3-dkozlyuk@nvidia.com> <1672428.zglYOQ0Mhn@thomas> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: <71377e77-7684-4576-c9d6-e8547ca2ba33@oktetlabs.ru> Date: Tue, 12 Oct 2021 09:06:17 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <1672428.zglYOQ0Mhn@thomas> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 2/4] mempool: add non-IO flag X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 10/5/21 7:39 PM, Thomas Monjalon wrote: > 29/09/2021 16:52, dkozlyuk@oss.nvidia.com: >> From: Dmitry Kozlyuk >> >> Mempool is a generic allocator that is not necessarily used for device >> IO operations and its memory for DMA. Add MEMPOOL_F_NON_IO flag to mark >> such mempools. >> >> Signed-off-by: Dmitry Kozlyuk >> Acked-by: Matan Azrad >> --- >> doc/guides/rel_notes/release_21_11.rst | 3 +++ >> lib/mempool/rte_mempool.h | 4 ++++ >> 2 files changed, 7 insertions(+) >> >> diff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst >> index f85dc99c8b..873beda633 100644 >> --- a/doc/guides/rel_notes/release_21_11.rst >> +++ b/doc/guides/rel_notes/release_21_11.rst >> @@ -155,6 +155,9 @@ API Changes >> +* mempool: Added ``MEMPOOL_F_NON_IO`` flag to give a hint to DPDK components >> + that objects from this pool will not be used for device IO (e.g. DMA). > > This is not a breaking change, but I am OK to add this note. > Any other opinion? Why is it in API changes section? Shouldn't it be in "New Features"?