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 969A2426AA; Tue, 3 Oct 2023 07:14:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C8944026C; Tue, 3 Oct 2023 07:14:04 +0200 (CEST) Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by mails.dpdk.org (Postfix) with ESMTP id 69F674026B for ; Tue, 3 Oct 2023 07:14:03 +0200 (CEST) Received: by mail-qt1-f180.google.com with SMTP id d75a77b69052e-41997112ff0so3868811cf.0 for ; Mon, 02 Oct 2023 22:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696310043; x=1696914843; darn=dpdk.org; 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=ZyTSzhfDkN7txgZhDC0HFEZfR9KB2pXgvF/a/GD7WK4=; b=Zta048TwplOCIZVRWuyoSz4Lo0WIegg6bl8ql2MrsLaZh5Ba1m0kdTmo4fntU7COwA qlwjUzBg0x9iYaq8KvhUQgdyMtRb0yU/vb8Po+7AlJeS5j6EcXAU58RH2JrnnxT3xJtL 4r79ezFgDSuT4NCH7sHiq2jH9bRTQxn0jk9QoWsat/zFrArNzEIPPFoIG95r8utv1Z4j 589ixAcDdtxBeb7kbiRhhLQ4kBa1Lo9EvyV4dTfZh/CVv6GudvGtuKmqTgiibM1SPWH9 SxCBG/rormuW48Us68Qcfe/EJLGoR1tbGC1OaZEkcGLcsJ+c//mKqCWxFzR4mYxN5642 uLLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696310043; x=1696914843; 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=ZyTSzhfDkN7txgZhDC0HFEZfR9KB2pXgvF/a/GD7WK4=; b=OX+XjBoAHm6h2V4Atz0GtJU999wJ0/ix8ThbMEzAz0DkwSldJh9KN2pbrW0mlmJiu7 BAjZPvbB9acTaabLmj4QbOvq41LY+siyuRfdatPB392fIkNW6P+PVz6UvGXYHlPLxkKH wtGs7ewfI4tkEYikLEyZqpS86oIdeOpaBajxhA1IS2+GBTEcTLPEU2yy5P3RjMpfZ+3I 0bn5Bvc62kuwzvRYYDXqJY0O7B17YvGBU6bOnMXNYMhFJJCInW1WeD72SJQnBGH8/zEH punwJllpcVh9kmHSLEWejp100RXey89wVuQ0dEt12KEb4ycVYr2On8cIVUV5fGhQ8qXT LQbw== X-Gm-Message-State: AOJu0YxBI9XR5u7VGCVyGOiudEfMDtebDxyj16LFAKPHdiA1cAu2OYUu KLjFbofYiu/Of74bLfVgLxoHNaoMW886fYaVn6g= X-Google-Smtp-Source: AGHT+IF0UizK6nRhEfynxcVWx2dVzEQwh/qI2EYAOLFv/z9pnzRPp44vvsSs+3PVzVhItkkU/xCL/1bTTXOvRYvmFRQ= X-Received: by 2002:ac8:5b11:0:b0:418:16d6:5a8d with SMTP id m17-20020ac85b11000000b0041816d65a8dmr18236355qtw.19.1696310042630; Mon, 02 Oct 2023 22:14:02 -0700 (PDT) MIME-Version: 1.0 References: <20230929081309.464565-1-amitprakashs@marvell.com> <20230929115051.564063-1-amitprakashs@marvell.com> In-Reply-To: <20230929115051.564063-1-amitprakashs@marvell.com> From: Jerin Jacob Date: Tue, 3 Oct 2023 10:43:35 +0530 Message-ID: Subject: Re: [PATCH v8 00/12] event DMA adapter library support To: Amit Prakash Shukla Cc: dev@dpdk.org, jerinj@marvell.com, fengchengwen@huawei.com, kevin.laatz@intel.com, bruce.richardson@intel.com, conor.walsh@intel.com, vattunuru@marvell.com, g.singh@nxp.com, sachin.saxena@oss.nxp.com, hemant.agrawal@nxp.com, cheng1.jiang@intel.com, ndabilpuram@marvell.com, anoobj@marvell.com, mb@smartsharesystems.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 Sat, Sep 30, 2023 at 1:06=E2=80=AFAM Amit Prakash Shukla wrote: > > This series adds support for event DMA adapter library. API's defined > as part of this library can be used by the application for DMA transfer > of data using event based mechanism. > > v8: > - Re-arranged DMA adapter section in release notes. Updated the git commit as follows and applied series to dpdk-next-net-eventdev/for-main. Thanks commit 9f4e84563c6e27fa6c17662f46a0fd7927228801 (HEAD -> for-main, origin/for-main, origin/HEAD) Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:51 2023 +0530 app/test: add event DMA adapter auto-test Added testsuite to test the dma adapter functionality. The testsuite detects event and DMA device capability and accordingly dma adapter is configured and modes are tested. Test command: sudo /app/test/dpdk-test --vdev=3Ddma_skeleton \ event_dma_adapter_autotest Signed-off-by: Amit Prakash Shukla commit 8c35a6be9d5a2017563b7cf3e3285711ea7b4b3a Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:50 2023 +0530 eventdev/dma: support adapter event port get Added support for DMA adapter event port get. Signed-off-by: Amit Prakash Shukla commit 72124a5ada9743113bcebeefdfa2cc7bfd01f1ba Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:49 2023 +0530 eventdev/dma: support adapter enqueue Added API support to enqueue a DMA operation to the DMA driver. Signed-off-by: Amit Prakash Shukla commit 60254867e10d7ceaff14dd1468bcb8ebfc536384 Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:48 2023 +0530 eventdev/dma: support adapter stats Added DMA adapter stats API support to get and reset stats. DMA SW adapter stats and eventdev driver supported stats for enqueue and dequeue are reported by get API. Signed-off-by: Amit Prakash Shukla commit 1582c998adb0c39b297c14bd26d920dc3ffbfe7e Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:47 2023 +0530 eventdev/dma: support adapter runtime params Added support to set and get runtime params for DMA adapter. The parameters that can be set/get are defined in struct rte_event_dma_adapter_runtime_params. Signed-off-by: Amit Prakash Shukla commit cacb21e2a5c30221a1327a8fccacde36836c31c2 Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:46 2023 +0530 eventdev/dma: support adapter service ID get Added API support to get DMA adapter service ID. Service ID returned in the variable by the API call shall be used by application to map a service core. Signed-off-by: Amit Prakash Shukla commit c2d22cda05dd842e8966408880d3d1416820519d Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:45 2023 +0530 eventdev/dma: support adapter start and stop Added API support to start and stop DMA adapter. Signed-off-by: Amit Prakash Shukla commit 8e54ab5c44cc41995e0f09cbe00ff8423ad19283 Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:44 2023 +0530 eventdev/dma: support adapter service function Added support for DMA adapter service function for event devices. Enqueue and dequeue of event from eventdev and DMA device are done based on the adapter mode and the supported HW capabilities. Signed-off-by: Amit Prakash Shukla commit cc0a6f2373e1e10471d9a8ffb4d9bcb1f48d68e5 Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:43 2023 +0530 eventdev/dma: support vchan add and delete Added API support to add and delete vchan's from the DMA adapter. DMA devid and vchan are added to the adapter instance by calling rte_event_dma_adapter_vchan_add() and deleted using rte_event_dma_adapter_vchan_del(). Signed-off-by: Amit Prakash Shukla commit c70b5e254a8f72811865944186e83b267d958804 Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:41 2023 +0530 eventdev/dma: support adapter capabilities get Implement rte_event_dma_adapter_caps_get() API to get DMA adapter capabilities supported by the driver. Signed-off-by: Amit Prakash Shukla commit abde4c7f93da4bb436908f62bc1fe98f8af2c347 Author: Amit Prakash Shukla Date: Fri Sep 29 17:20:40 2023 +0530 eventdev/dma: introduce DMA adapter Introduce event dma adapter interface to transfer packets between dma device and event device. Signed-off-by: Amit Prakash Shukla Acked-by: Jerin Jacob