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 7C6D743BD2; Sun, 25 Feb 2024 16:22:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 684A7402C8; Sun, 25 Feb 2024 16:22:43 +0100 (CET) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by mails.dpdk.org (Postfix) with ESMTP id BFAD6402BA for ; Sun, 25 Feb 2024 16:22:42 +0100 (CET) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-42e78c39ff0so6797281cf.0 for ; Sun, 25 Feb 2024 07:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708874562; x=1709479362; 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=c44jJEebYWJymSaAN0Tq+dunV7TCJBdv5B3uCybM/CY=; b=j07vAVpr1Z49GzbKWCP5SPIkU4hCmBHCmRWmdb9zIGUqt7lPT8PFkLQTAPQclOtDxV XuoMD9R4lzjeu3rO/ScAu9Xn5XFGw5PEibCsvDzJGnocNZAeC6tlhW0yVqzB5BGN1kKO 9am0FRs0GAHC/US3nSqrTVQR97PyD8OA4CojgchFCIx0W+c7EiTL/1qqUjsSNGdhawvR HZ1y/poG2bmsjNRF/1D9epujlDNabYIviD5PQI2yY8yTazh/U9Vzrg3kjEAGSn15SpVx q6z5qgWgltNyon1YHF6aUBdzw09jl/bC3A/O6CKVj5qKgVTjhSJyoyOaMGHUxlk047d9 85DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708874562; x=1709479362; 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=c44jJEebYWJymSaAN0Tq+dunV7TCJBdv5B3uCybM/CY=; b=s5dMRs1Y/cyN1yJEgjt/9ApZsg/ggG2c9y/ItoaAZLM8nfm8t8E8aLRqHP/BydxPV+ MJ9YULeRv/RZmHMgdHbXVL4LQlLi3XI8IVwVN+hAI+d0SCsHPyaaB/yAfmxnwLmKjueN b7tRkDEpCy1gid9asxjb5QDBHQO6RMEQs9L+TmjjCzSJGI1pvaKFPCArCAcnEINjZDtv IdeKkqM2Y+Qe8ZJJi17ISYHteiAhzZ+clYifFMscaA06+NmCQyfpAC1+dUNG5lWc6ZY1 f6zNY57vQD2bUd0s6LCPDGwWugQddjWX+5jwW8rmNQn/KXZ2aVo6sd9UQkAHheIYYY2G FcXw== X-Forwarded-Encrypted: i=1; AJvYcCWz5Ujdh5h38qvrY16XD2elSyfaxd7D4cqrUcyQx2zojEGsSV0IEKdNJv1+14SbCV0SXNGZvPVHd3/FnbA= X-Gm-Message-State: AOJu0YxgLZsBFygCEi4yBvM6uHBm+XPbHq9lJqG+TopCm8t7I0wCLwJv ojCyjBykuXSttrdPrwVDsIicCRGSH8sVFOAndq1oemorICKsxE60a12LcUO5NPTLKd4S4u3zYjN HMpDRhfqbaiZHz+j58uAU4EnRNOU= X-Google-Smtp-Source: AGHT+IFxrA2AegByg3sPEfGvDitaIZt7OhoOjacWzbFykQ08yBSr1omNUWyw2SyyKlTBUmIKwHNbAvJs8GB0CAx6FhI= X-Received: by 2002:a05:622a:11d3:b0:42e:814d:fcea with SMTP id n19-20020a05622a11d300b0042e814dfceamr1561328qtk.4.1708874561993; Sun, 25 Feb 2024 07:22:41 -0800 (PST) MIME-Version: 1.0 References: <20231208082835.2817601-1-amitprakashs@marvell.com> <20240209194347.2734024-1-amitprakashs@marvell.com> In-Reply-To: <20240209194347.2734024-1-amitprakashs@marvell.com> From: Jerin Jacob Date: Sun, 25 Feb 2024 20:52:16 +0530 Message-ID: Subject: Re: [PATCH v2 1/3] common/cnxk: dma result to an offset of the event To: Amit Prakash Shukla Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , dev@dpdk.org, jerinj@marvell.com, pbhagavatula@marvell.com, vattunuru@marvell.com, sthotton@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 Sat, Feb 10, 2024 at 1:14=E2=80=AFAM Amit Prakash Shukla wrote: > > Adds support to configure writing result to offset of the DMA > response event. > > Signed-off-by: Amit Prakash Shukla > --- > v2: > - Added dual workslot enqueue support. > - Fixed compilation error. Please rebase to next-eventdev. It has the following build issue now. FAILED: drivers/libtmp_rte_dma_cnxk.a.p/dma_cnxk_cnxk_dmadev.c.o ccache gcc -Idrivers/libtmp_rte_dma_cnxk.a.p -Idrivers -I../drivers -Idrivers/dma/cnxk -I../drivers/dma/cnxk -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../l ib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/t elemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -I../drivers/common/cnxk -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/mbuf -I ../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -Werror -std=3Dc11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wst rict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=3Dnative -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API - Wno-format-truncation -Wno-uninitialized -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.dma.cnxk -MD -MQ drivers/libtmp_rte_dma_cnxk.a.p/dma_cnxk_cnxk_dmadev.c.o -MF drivers/libtmp_rte_dma_cnxk.a.p/dma_cnxk_cnxk_dmadev.c.o.d -o drivers/libtmp_rte_dma_cnx k.a.p/dma_cnxk_cnxk_dmadev.c.o -c ../drivers/dma/cnxk/cnxk_dmadev.c ../drivers/dma/cnxk/cnxk_dmadev.c: In function =E2=80=98cnxk_dmadev_probe= =E2=80=99: ../drivers/dma/cnxk/cnxk_dmadev.c:595:14: error: too few arguments to function =E2=80=98roc_dpi_dev_init=E2=80=99 595 | rc =3D roc_dpi_dev_init(rdpi); | ^~~~~~~~~~~~~~~~ In file included from ../drivers/common/cnxk/roc_api.h:99, from ../drivers/dma/cnxk/cnxk_dmadev.h:20, from ../drivers/dma/cnxk/cnxk_dmadev.c:5: ../drivers/common/cnxk/roc_dpi.h:14:15: note: declared here 14 | int __roc_api roc_dpi_dev_init(struct roc_dpi *roc_dpi, uint8_t off= set);