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 C68B0A0C4D; Mon, 4 Oct 2021 23:12:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 538FC4068F; Mon, 4 Oct 2021 23:12:45 +0200 (CEST) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mails.dpdk.org (Postfix) with ESMTP id D17EC40688 for ; Mon, 4 Oct 2021 23:12:42 +0200 (CEST) Received: by mail-lf1-f46.google.com with SMTP id i4so77922977lfv.4 for ; Mon, 04 Oct 2021 14:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jE/XVq/SUU8BU49fmcHTQ1X0OEo6Zj81HgK8Lk0mws0=; b=MHDfxh5iAU+jAN1sJsWf+/9pSJTgPpBuOWj8slKzq1KllUgNUnoHpvd9fBIvYHQrHK FF+draI3tusjqYpyQsPOVuPM7TA+NFdQaPkThDSJjJqX2ygE8pjzcjwiSn+VgShGEQFQ 6zZx4ac+9MzZgp6sLDEMUOV7M2CIiqIjsmXMqwvP6k7FrZ+mP9tJ+XVTSNiOl6MjlHip i1NdNqKqcvePougXBJ2oZ1e/GD/phEq2H2IuOUWjCvmGboPetD7kq3UVQV7UoSTLVeti pzDTUdE/CEnEv7kRrPbAdF3xJGCZKmi49jLD+7XDpNe2yXVfgZ6i5I4zTLhwI2Odk4Kw p4OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jE/XVq/SUU8BU49fmcHTQ1X0OEo6Zj81HgK8Lk0mws0=; b=YtasHtm2clXqFIseXLJwhbDaFvG0dAfbOOCY4FFf7MZ7PeiJ6sr+l66Be4ret2uIMV +1i9yWrnPI7snZWWkIOKeESJqzvpJ+ghLPRGRXrYe6PnscOq1qPjouqgu/KFbTcoVTXh eInx0mJ30/ZicU7hrh7TxaaplGM5Ks8oBtz9HLquYx+9iV9kJNuP3jRjE8mEbEKriPKk xIzPOGew7tsXwc1WFCySQIg4U1dwSxeTOfv+J6IjOH/YoCPi8hw3G95AJxs5jSKEmZm6 ubcPHNVt+/7iWDkce4eD9WVAYA+H98/T3jvsbsv+AJvJmdiBC3XkIvOcPtDQ8p2yRYjZ z/fA== X-Gm-Message-State: AOAM532jc97NdiqlQvPDgZfiERYazxI7bTf8l4A7kYMz4OZa8+fxqnuR ILyPnJEQGD8zYI/K6HS6Boj3tSKg1HpOYzxhnDI= X-Google-Smtp-Source: ABdhPJwy+pYSP7A/7QxnmjdzrSm0jIV5+Vi7tFeXe81/QtbvGTZejYIqN1+YQYduPTjIFIKkk8GMQLnYqf7UGhOf7K0= X-Received: by 2002:a05:651c:17a5:: with SMTP id bn37mr18353960ljb.514.1633381962265; Mon, 04 Oct 2021 14:12:42 -0700 (PDT) MIME-Version: 1.0 References: <1625231891-2963-1-git-send-email-fengchengwen@huawei.com> <20210924105357.15386-1-fengchengwen@huawei.com> <20210924105357.15386-2-fengchengwen@huawei.com> In-Reply-To: <20210924105357.15386-2-fengchengwen@huawei.com> From: Radha Mohan Date: Mon, 4 Oct 2021 14:12:30 -0700 Message-ID: To: Chengwen Feng Cc: Thomas Monjalon , ferruh.yigit@intel.com, bruce.richardson@intel.com, Jerin Jacob Kollanukkaran , Jerin Jacob , andrew.rybchenko@oktetlabs.ru, dpdk-dev , mb@smartsharesystems.com, nipun.gupta@nxp.com, hemant.agrawal@nxp.com, maxime.coquelin@redhat.com, honnappa.nagarahalli@arm.com, David Marchand , Satananda Burla , pkapoor@marvell.com, konstantin.ananyev@intel.com, conor.walsh@intel.com, kevin.laatz@intel.com, Radha Chintakuntla Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v23 1/6] dmadev: introduce DMA device library 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 Fri, Sep 24, 2021 at 3:58 AM Chengwen Feng wro= te: > > The 'dmadevice' is a generic type of DMA device. > > This patch introduce the 'dmadevice' device allocation APIs. > > The infrastructure is prepared to welcome drivers in drivers/dma/ > > Signed-off-by: Chengwen Feng > Acked-by: Bruce Richardson > Acked-by: Morten Br=C3=B8rup > Acked-by: Jerin Jacob > Reviewed-by: Kevin Laatz > Reviewed-by: Conor Walsh > --- > MAINTAINERS | 5 + > config/rte_config.h | 3 + > doc/api/doxy-api-index.md | 1 + > doc/api/doxy-api.conf.in | 1 + > doc/guides/dmadevs/index.rst | 12 ++ > doc/guides/index.rst | 1 + > doc/guides/prog_guide/dmadev.rst | 64 ++++++ > doc/guides/prog_guide/img/dmadev.svg | 283 +++++++++++++++++++++++++ > doc/guides/prog_guide/index.rst | 1 + > doc/guides/rel_notes/release_21_11.rst | 4 + > drivers/dma/meson.build | 4 + > drivers/meson.build | 1 + > lib/dmadev/meson.build | 7 + > lib/dmadev/rte_dmadev.c | 263 +++++++++++++++++++++++ > lib/dmadev/rte_dmadev.h | 134 ++++++++++++ > lib/dmadev/rte_dmadev_core.h | 51 +++++ > lib/dmadev/rte_dmadev_pmd.h | 60 ++++++ > lib/dmadev/version.map | 20 ++ > lib/meson.build | 1 + > 19 files changed, 916 insertions(+) > create mode 100644 doc/guides/dmadevs/index.rst > create mode 100644 doc/guides/prog_guide/dmadev.rst > create mode 100644 doc/guides/prog_guide/img/dmadev.svg > create mode 100644 drivers/dma/meson.build > create mode 100644 lib/dmadev/meson.build > create mode 100644 lib/dmadev/rte_dmadev.c > create mode 100644 lib/dmadev/rte_dmadev.h > create mode 100644 lib/dmadev/rte_dmadev_core.h > create mode 100644 lib/dmadev/rte_dmadev_pmd.h > create mode 100644 lib/dmadev/version.map > Hi Chengwen, I see that the new version removed the "rte_dmadev_get_device_by_name()". What is the way to get the dmadev from inside the PMD .remove ? I am looking to get the dev_private as we need to do some cleanup operations from the remove function. regards, Radha Mohan