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 44E3744181; Fri, 7 Jun 2024 12:21:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C73024028A; Fri, 7 Jun 2024 12:21:20 +0200 (CEST) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) by mails.dpdk.org (Postfix) with ESMTP id 48EC740151 for ; Fri, 7 Jun 2024 12:21:20 +0200 (CEST) Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-6f8edde24b3so1029503a34.2 for ; Fri, 07 Jun 2024 03:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717755679; x=1718360479; 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=eY25xrqGC9Rz+gmyV46Pgj8vbz6qCxsHZaxbHTyTKQE=; b=DUvGYzZH+2Ty/pLgfFY3GcQ5Zcd8QnPskgATBOkEhQGMUQZib1yIMx87VLCmzQJW27 pgodVVdKTSqqa5OSz0p5pdeFBNdVPXMg9oCzxjJlZ8bPHCG6fTXus+jEV7s5lFYUPFgf GxUTBeOkyVnetCVY+k7CxFX99aECMv9ihrXZv7HSZlu2/a2FeKL0MCHv5+G5lRYX4MIG 16Q/ARPShvL+Ktce1pJO/WFjIGb6mZxzcLJbUrbJwlX2OiSNoNYoLDJqBjwdCpujjAee Nck4VhYh2lJJfnYgXdakuNd/OPhMys64hDRGcCTFuh6IYeAoErkSGyEu1xZk1rQXqKQZ QepA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717755679; x=1718360479; 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=eY25xrqGC9Rz+gmyV46Pgj8vbz6qCxsHZaxbHTyTKQE=; b=wz3YQz4cyd1PsbK1gqn6V8FCbMxAJr3AgAkBFN4Sb6OGtYGrgIItIJzGcaqouodQ14 fslWku/xjgEDJoiTQinoQ6U8jtJz7rSDBQq4T6PM1e2T7qtontW/cscTi9O4tQiZR0x+ H4hGl8WDx9YnnyOKJv/h26E4G96UKzkr6uEh+L05f0xNeFTraa7vYDIQe9M2QwJIf+67 4EW6U4Lm31u0n9CVlpqGgLHzZsdzDGcQphWjIysEBPYV3gujDLXiB+WQo5MqeiUjusJj twGIeU1iQVj11EcImSWNgu62hmSlRHLUjd0zq9ZHQfhaAExpRrH5WA/x9zPRGsMebS6o OCCg== X-Forwarded-Encrypted: i=1; AJvYcCUA65K4Vsi2PJFaibZSonTI3pKDe7Ono+9BC7RY/i/b8ot1SQ2KJy1upYEGSPpqr0P+RrD+trGL3Bk2gzI= X-Gm-Message-State: AOJu0YyuK8+C7rg70RiyRAmiLtdchaapAH66jO0VaWcZxQH+rLI7v7fi rt1jL2d2OwC+PtBXDKUaEEDXqAJqIGWEzOAoWCPP9z3CBkqveqWA7TsHHr89uPYOpv9jMHajCyG vdszwk4AzJtuMjunFq3Vj0EH67Ds= X-Google-Smtp-Source: AGHT+IH1Ib+k6yi19Y4nLmYcKIR04T8sDGlYNt9zANRHSsEyJ3tDOdskHB5pTBYZfjUE/mMwb/CjbS5ueqvlfWZzUE0= X-Received: by 2002:a05:6830:e06:b0:6f0:63f7:9358 with SMTP id 46e09a7af769-6f95725253bmr2185313a34.17.1717755679085; Fri, 07 Jun 2024 03:21:19 -0700 (PDT) MIME-Version: 1.0 References: <20240417082645.4259-1-pbhagavatula@marvell.com> <20240530124437.1870-1-pbhagavatula@marvell.com> In-Reply-To: <20240530124437.1870-1-pbhagavatula@marvell.com> From: Jerin Jacob Date: Fri, 7 Jun 2024 15:50:52 +0530 Message-ID: Subject: Re: [PATCH v4 1/2] eventdev/dma: reorganize event DMA ops To: pbhagavatula@marvell.com Cc: jerinj@marvell.com, Amit Prakash Shukla , Vamsi Attunuru , dev@dpdk.org 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 Thu, May 30, 2024 at 6:14=E2=80=AFPM wrote: > > From: Pavan Nikhilesh > > Re-organize event DMA ops structure to allow holding > source and destination pointers without the need for > additional memory, the mempool allocating memory for > rte_event_dma_adapter_ops can size the structure to > accommodate all the needed source and destination > pointers. > > Add multiple words for holding user metadata, adapter > implementation specific metadata and event metadata. > > Signed-off-by: Pavan Nikhilesh > Acked-by: Amit Prakash Shukla > --- > v4 Changes: > - Reduce unreleated driver changes and move to 2/2. > v3 Changes: > - Fix stdatomic compilation. > v2 Changes: > - Fix 32bit compilation > > app/test-eventdev/test_perf_common.c | 26 ++++-------- > app/test/test_event_dma_adapter.c | 20 +++------ > doc/guides/prog_guide/event_dma_adapter.rst | 2 +- > drivers/dma/cnxk/cnxk_dmadev_fp.c | 20 ++++----- > lib/eventdev/rte_event_dma_adapter.c | 27 ++++-------- > lib/eventdev/rte_event_dma_adapter.h | 46 +++++++++++++++------ > 6 files changed, 66 insertions(+), 75 deletions(-) > * instance. > */ > struct rte_event_dma_adapter_op { > - struct rte_dma_sge *src_seg; Even though it is experimental , Changes in public structure need to updated in release notes. Please send the next version.