On Mon, Feb 26, 2024 at 3:30 PM Amit Prakash Shukla <amitpraka...@marvell.com> 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 <amitpraka...@marvell.com>
# 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=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.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 = 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 = cn9k_dma_adapter_dual_enqueue; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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.