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 530FA42B2E; Wed, 17 May 2023 20:47:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EBD0140EE1; Wed, 17 May 2023 20:47:08 +0200 (CEST) Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176]) by mails.dpdk.org (Postfix) with ESMTP id 76FFB406B7 for ; Wed, 17 May 2023 20:47:07 +0200 (CEST) Received: by mail-vk1-f176.google.com with SMTP id 71dfb90a1353d-44fba65000dso445680e0c.2 for ; Wed, 17 May 2023 11:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684349227; x=1686941227; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FxztML6KFnyVPPCgf6DSosHVoEZetv7/HEzkTo0q4wQ=; b=hxybJMfN/H6TmwXfbyrgLW4MgKxSWRkSRz7DI0okfn99DJcKRnH1+GkZCYgsGhxrs/ qhGAE4AV7UrEEcLr9c+gfYYTDQjFBu59Ufng0tuT4VGFeemH6ZUMAdhT6+jVt6obybWZ 3OVLOZKatZ5/IFu+TizckihlkFiHTSIsXYuFQf1voLDHbsUmH9uP+LAunUgDYNIQhy3v 2jKBNT7LoM4fScwRkAy1vnZcnY97KlDUpPcSEAb5tjhL8f++B2IFWOV4Q2VDKuRVOOGG KmgwsmfCMIGNfGKQM9irsHRQPuB0v4dhs/NxPmHYdb9A+pZo/9xl3rGn6e1TFfX5HyvI Q49w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684349227; x=1686941227; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FxztML6KFnyVPPCgf6DSosHVoEZetv7/HEzkTo0q4wQ=; b=Iok6pJEo/GzC3C4mFuQfII32QWghNmWTLa19JwKAE4iJJ/+PqEpoYJ0FXxt2v2+Tny ChX5FFbVpSZNFqn5NUKvRv8G7Yx4ELpCZdTNcCgaHisDhtcT+jl3V74wKRisCV5O/9Eq XjEdCTLSploALPsDekGGEitwfJkNFhuKg2s+SZXL9rdJxwPkdTViKBjDDiaL2e4N2cUm 2cLWibLQ+G2YnWfngcK3JyTD7cAkGophI8kdB1c1v1RsoupVkoAY/KRb/1g0hTVj0sy0 cpbcsEadmhfUonxHUQWEPqmIvZ3yPl2aeYvzy+366GMgD0UsdXUeiHJtzO/mE5TRWd20 bY3w== X-Gm-Message-State: AC+VfDx3hjlVatAYJZnnNuF4g33wqz6ZpIRDKZh/3oXoG3oM3wKSouv/ cNn1Ai7xBpKy051+72q2NRcraXqRoIUpiTmOysg= X-Google-Smtp-Source: ACHHUZ4ZoQekSYVJ5kOzk8Ljfx8QSWbOaefsxB87GpWK/tMeUb8Lh8wXYMQ2gk9t0VB1Q3yrs3luwE5k7JUSKpYG2lE= X-Received: by 2002:a67:fb81:0:b0:436:285:eaea with SMTP id n1-20020a67fb81000000b004360285eaeamr15698134vsr.25.1684349226782; Wed, 17 May 2023 11:47:06 -0700 (PDT) MIME-Version: 1.0 References: <20230411075528.1125799-1-asekhar@marvell.com> <20230411075528.1125799-6-asekhar@marvell.com> In-Reply-To: <20230411075528.1125799-6-asekhar@marvell.com> From: Jerin Jacob Date: Thu, 18 May 2023 00:16:40 +0530 Message-ID: Subject: Re: [PATCH 5/5] mempool/cnxk: add support for exchanging mbufs between pools To: Ashwin Sekhar T K Cc: dev@dpdk.org, Pavan Nikhilesh , jerinj@marvell.com, skori@marvell.com, skoteshwar@marvell.com, kirankumark@marvell.com, psatheesh@marvell.com, anoobj@marvell.com, gakhil@marvell.com, hkalra@marvell.com, ndabilpuram@marvell.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Tue, Apr 11, 2023 at 1:26=E2=80=AFPM Ashwin Sekhar T K wrote: > > Add the following cnxk mempool PMD APIs to facilitate exchanging mbufs > between pools. > * rte_pmd_cnxk_mempool_is_hwpool() - Allows user to check whether a pool > is hwpool or not. > * rte_pmd_cnxk_mempool_range_check_disable() - Disables range checking o= n > any rte_mempool. > * rte_pmd_cnxk_mempool_mbuf_exchange() - Exchanges mbufs between any two > rte_mempool where the range check is disabled. > > Signed-off-by: Ashwin Sekhar T K > --- > drivers/mempool/cnxk/cn10k_hwpool_ops.c | 63 ++++++++++++++++++++- > drivers/mempool/cnxk/cnxk_mempool.h | 4 ++ > drivers/mempool/cnxk/meson.build | 1 + > drivers/mempool/cnxk/rte_pmd_cnxk_mempool.h | 56 ++++++++++++++++++ Update to doc/api/doxy-api-index.md is missing.