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 6BB4943C3B; Thu, 29 Feb 2024 17:52:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA33042EA1; Thu, 29 Feb 2024 17:52:40 +0100 (CET) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) by mails.dpdk.org (Postfix) with ESMTP id 9D77342E2A for ; Thu, 29 Feb 2024 17:52:39 +0100 (CET) Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-42e8eb286aaso7401511cf.0 for ; Thu, 29 Feb 2024 08:52:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709225559; x=1709830359; 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=BEMBJc4bbNAG68ejvRNYsnCiAarOxoPdahT4spiUKH8=; b=gjgNKN6JioqlkmAVp3nFMg5V/Sd5uDt3u82xOWCThf6+T91kjQ6g5exh3BNfqln9G5 C0OjMnhVLfV6q3cQgVcLFHQ/cnFHzAQsEL74GjgTlylVT7oTrN4XHXQI6wJM7eJlXahj ecc08yFsjzOcDDN+j08264QaTBgt0o1ouaPvLN39UB+f45Mw5crB2qhoauIYyfL862Tx WsmP7y1BtpkroOSyT/DLmApQ501E496aSdIQIWwdBf5Tbsd0vY3/wNDtNIK45lREKTeQ LMaOd5f9RC/M9VbHwwnmAaBj6y6i6PWlY7VfjaE+1GnWyV4wYjm1qqq02Svj8fCNWGTa YW/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709225559; x=1709830359; 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=BEMBJc4bbNAG68ejvRNYsnCiAarOxoPdahT4spiUKH8=; b=WpAZ2e00YWG9sFQgdGiE+iKEgRjln/YosDCMibQJnwzQ8cFDHwlKnRO2ZsRX3ShzTy vtIefqMZ/sncob+lyccouS5bxwkxpFsfT064isMES3ocl0qZFFazOJ5yUqinDaTwXh/A t3iKkGXrPfEJVANBdnNFg3hiXtLZODRHfpuwySyO4G9a1QpGdid4MzU4K0PLOHZc2NEN UkWO4w2cgbk2pRxHMp7bjzEKA4e7GvlmorYX+89eKGXuKoh20gzB5wrwpHpRpxrCypNa cb1qnFK1dwEwNftnxAaurWmLsZqQHpXId0oGSmSMV/hnOWahoTuAXIfE/Vxt8z5pY6x3 1PkQ== X-Forwarded-Encrypted: i=1; AJvYcCXZV/2SRX+3WM9zGzd7rK/l046pwPO2jFV3EZS4YtxDm+r95tu9Ddu3+ww4T9bb/jT0YHsSy8OfKYy+Dn0= X-Gm-Message-State: AOJu0YzMYCSp4+doZfTGirA6F+dcxSRZTda9OR6LQ0TM5Sd3GQrundYp 5+eVUzghV9z2MQrxQfAQv4dAQilxUXQLnD/Rs9VQZ93HPXfKpJ5n/f0nmTDUwRctnzz8C+TDkHA qV7D9yYJrXvr2N+8PovozHmut6lwc4/8p6TI= X-Google-Smtp-Source: AGHT+IEdZZmFeXqBX0zzfBBmOHYtfsUixruNcxmqXgoj/qKS91bvD0GF7gF9OiJkZjfgyTsjLg1Sb4uEzAa6gJFThvw= X-Received: by 2002:a05:622a:14cb:b0:42e:6d8a:b00c with SMTP id u11-20020a05622a14cb00b0042e6d8ab00cmr2687870qtx.42.1709225558885; Thu, 29 Feb 2024 08:52:38 -0800 (PST) MIME-Version: 1.0 References: <20240209194347.2734024-1-amitprakashs@marvell.com> <20240226094334.3657250-1-amitprakashs@marvell.com> <20240226094334.3657250-3-amitprakashs@marvell.com> In-Reply-To: <20240226094334.3657250-3-amitprakashs@marvell.com> From: Jerin Jacob Date: Thu, 29 Feb 2024 22:22:13 +0530 Message-ID: Subject: Re: [PATCH v3 3/3] event/cnxk: support DMA event functions To: Amit Prakash Shukla Cc: Pavan Nikhilesh , Shijith Thotton , dev@dpdk.org, jerinj@marvell.com, vattunuru@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 Mon, Feb 26, 2024 at 3:30=E2=80=AFPM Amit Prakash Shukla wrote: > > Added support of dma driver callback assignment to eventdev > enqueue and dequeue. The change also defines dma adapter > capabilities function. > > Depends-on: series-30612 ("lib/dmadev: get DMA device using device ID") > > Signed-off-by: Amit Prakash Shukla # Please update release note add entry in PMD driver for this new feature # Fix following build issue when building each patch at time. [2850/3208] Generating drivers/rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output) [2851/3208] Linking static target drivers/librte_net_cnxk.a [2852/3208] Compiling C object drivers/libtmp_rte_dma_cnxk.a.p/dma_cnxk_cnxk_dmadev_fp.c.o [2853/3208] Linking static target drivers/libtmp_rte_dma_cnxk.a [2854/3208] Generating drivers/rte_net_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [2855/3208] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn9k_eventdev.c.o FAILED: drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn9k_eventdev.c.o ccache aarch64-linux-gnu-gcc -Idrivers/libtmp_rte_event_cnxk.a.p -Idrivers -I../drivers -Idrivers/event/cnxk -I../drivers/event/cnxk -Ilib/eventdev -I../lib/eventdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/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/telemetry -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -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/security -I../lib/security -Idrivers/net/cnxk -I../drivers/net/cnxk -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Idrivers/crypto/cnxk -I../drivers/crypto/cnxk -I/export/cross_prefix/prefix/include -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 -Wstrict-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=3Darmv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.event.cnxk -MD -MQ drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn9k_eventdev.c.o -MF drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn9k_eventdev.c.o.d -o drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn9k_eventdev.c.o -c ../drivers/event/cnxk/cn9k_eventdev.c ../drivers/event/cnxk/cn9k_eventdev.c: In function 'cn9k_sso_fp_fns_set': ../drivers/event/cnxk/cn9k_eventdev.c:463:34: error: 'cn9k_dma_adapter_enqueue' undeclared (first use in this function); did you mean 'event_dma_adapter_enqueue_t'? 463 | event_dev->dma_enqueue =3D cn9k_dma_adapter_enqueue; | ^~~~~~~~~~~~~~~~~~~~~~~~ | event_dma_adapter_enqueue_t ../drivers/event/cnxk/cn9k_eventdev.c:463:34: note: each undeclared identifier is reported only once for each function it appears in ../drivers/event/cnxk/cn9k_eventdev.c:479:42: error: 'cn9k_dma_adapter_dual_enqueue' undeclared (first use in this function) 479 | event_dev->dma_enqueue =3D cn9k_dma_adapter_dual_en= queue; | ^~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~ [2856/3208] Generating drivers/rte_dma_cnxk.pmd.c with a custom command [2857/3208] Generating drivers/rte_bus_dpaa.sym_chk with a custom command (wrapped by meson to capture output) [2858/3208] Generating drivers/rte_bus_fslmc.sym_chk with a custom command (wrapped by meson to capture output) [2859/3208] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output) [2860/3208] Generating lib/ethdev.sym_chk with a custom command (wrapped by meson to capture output) [2861/3208] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) [2862/3208] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [2863/3208] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped: subcommand failed.