* |WARNING| pw131626-131632 [PATCH] [v1, 7/7] event/cnxk: support DMA event functions
@ 2023-09-19 17:33 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2023-09-19 17:33 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/131626
_apply patch failure_
Submitter: Amit Prakash Shukla <amitprakashs@marvell.com>
Date: Tuesday, September 19 2023 13:42:22
Applied on: CommitID:d83fb967212efa19d272e7fa65d17c9ad94b17c1
Apply patch set 131626-131632 failed:
Checking patch doc/api/doxy-api-index.md...
Checking patch doc/guides/eventdevs/features/default.ini...
Checking patch doc/guides/prog_guide/event_dma_adapter.rst...
Checking patch doc/guides/prog_guide/eventdev.rst...
Checking patch doc/guides/prog_guide/img/event_dma_adapter_op_forward.svg...
Checking patch doc/guides/prog_guide/img/event_dma_adapter_op_new.svg...
Checking patch doc/guides/prog_guide/index.rst...
Checking patch lib/eventdev/eventdev_pmd.h...
Checking patch lib/eventdev/eventdev_private.c...
Checking patch lib/eventdev/rte_event_dma_adapter.h...
Checking patch lib/eventdev/rte_eventdev.h...
Checking patch lib/eventdev/rte_eventdev_core.h...
error: while searching for:
/**< PMD Tx adapter enqueue same destination function. */
event_crypto_adapter_enqueue_t ca_enqueue;
/**< PMD Crypto adapter enqueue function. */
uintptr_t reserved[5];
} __rte_cache_aligned;
extern struct rte_event_fp_ops rte_event_fp_ops[RTE_EVENT_MAX_DEVS];
error: patch failed: lib/eventdev/rte_eventdev_core.h:65
Checking patch lib/eventdev/version.map...
error: while searching for:
# added in 23.11
rte_event_eth_rx_adapter_create_ext_with_params;
};
INTERNAL {
error: patch failed: lib/eventdev/version.map:134
Applied patch doc/api/doxy-api-index.md cleanly.
Applied patch doc/guides/eventdevs/features/default.ini cleanly.
Applied patch doc/guides/prog_guide/event_dma_adapter.rst cleanly.
Applied patch doc/guides/prog_guide/eventdev.rst cleanly.
Applied patch doc/guides/prog_guide/img/event_dma_adapter_op_forward.svg cleanly.
Applied patch doc/guides/prog_guide/img/event_dma_adapter_op_new.svg cleanly.
Applied patch doc/guides/prog_guide/index.rst cleanly.
Applied patch lib/eventdev/eventdev_pmd.h cleanly.
Applied patch lib/eventdev/eventdev_private.c cleanly.
Applied patch lib/eventdev/rte_event_dma_adapter.h cleanly.
Applied patch lib/eventdev/rte_eventdev.h cleanly.
Applying patch lib/eventdev/rte_eventdev_core.h with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
Applying patch lib/eventdev/version.map with 1 reject...
Rejected hunk #1.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/lib/eventdev/rte_eventdev_core.h b/lib/eventdev/rte_eventdev_core.h (rejected hunks)
@@ -65,7 +69,9 @@ struct rte_event_fp_ops {
/**< PMD Tx adapter enqueue same destination function. */
event_crypto_adapter_enqueue_t ca_enqueue;
/**< PMD Crypto adapter enqueue function. */
- uintptr_t reserved[5];
+ event_dma_adapter_enqueue_t dma_enqueue;
+ /**< PMD DMA adapter enqueue function. */
+ uintptr_t reserved[4];
} __rte_cache_aligned;
extern struct rte_event_fp_ops rte_event_fp_ops[RTE_EVENT_MAX_DEVS];
diff a/lib/eventdev/version.map b/lib/eventdev/version.map (rejected hunks)
@@ -134,6 +134,21 @@ EXPERIMENTAL {
# added in 23.11
rte_event_eth_rx_adapter_create_ext_with_params;
+ rte_event_dma_adapter_create_ext;
+ rte_event_dma_adapter_create;
+ rte_event_dma_adapter_free;
+ rte_event_dma_adapter_event_port_get;
+ rte_event_dma_adapter_vchan_queue_add;
+ rte_event_dma_adapter_vchan_queue_del;
+ rte_event_dma_adapter_service_id_get;
+ rte_event_dma_adapter_start;
+ rte_event_dma_adapter_stop;
+ rte_event_dma_adapter_runtime_params_init;
+ rte_event_dma_adapter_runtime_params_set;
+ rte_event_dma_adapter_runtime_params_get;
+ rte_event_dma_adapter_stats_get;
+ rte_event_dma_adapter_stats_reset;
+ rte_event_dma_adapter_enqueue;
};
INTERNAL {
Checking patch lib/eventdev/meson.build...
Checking patch lib/eventdev/rte_eventdev.c...
Checking patch lib/eventdev/rte_eventdev.h...
error: lib/eventdev/rte_eventdev.h: does not match index
Checking patch lib/meson.build...
Applied patch lib/eventdev/meson.build cleanly.
Applied patch lib/eventdev/rte_eventdev.c cleanly.
Applied patch lib/meson.build cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
Checking patch config/rte_config.h...
Checking patch lib/eventdev/meson.build...
error: lib/eventdev/meson.build: does not match index
Checking patch lib/eventdev/rte_event_dma_adapter.c...
Checking patch lib/eventdev/rte_event_dma_adapter.h...
error: lib/eventdev/rte_event_dma_adapter.h: does not exist in index
Applied patch config/rte_config.h cleanly.
Applied patch lib/eventdev/rte_event_dma_adapter.c cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
Checking patch drivers/common/cnxk/roc_dpi.c...
error: while searching for:
mbox_msg.s.aura = aura;
mbox_msg.s.sso_pf_func = idev_sso_pffunc_get();
mbox_msg.s.npa_pf_func = idev_npa_pffunc_get();
rc = send_msg_to_pf(&pci_dev->addr, (const char *)&mbox_msg,
sizeof(dpi_mbox_msg_t));
error: patch failed: drivers/common/cnxk/roc_dpi.c:84
Hunk #2 succeeded at 147 (offset 50 lines).
error: while searching for:
vfid = ((pci_dev->addr.devid & 0x1F) << 3) | (pci_dev->addr.function & 0x7);
vfid -= 1;
roc_dpi->vfid = vfid;
return 0;
}
error: patch failed: drivers/common/cnxk/roc_dpi.c:104
Checking patch drivers/common/cnxk/roc_dpi.h...
error: while searching for:
uint16_t vfid;
} __plt_cache_aligned;
int __roc_api roc_dpi_dev_init(struct roc_dpi *roc_dpi);
int __roc_api roc_dpi_dev_fini(struct roc_dpi *roc_dpi);
int __roc_api roc_dpi_configure(struct roc_dpi *dpi, uint32_t chunk_sz, uint64_t aura,
error: patch failed: drivers/common/cnxk/roc_dpi.h:11
Checking patch drivers/common/cnxk/roc_dpi_priv.h...
Hunk #1 succeeded at 34 (offset 3 lines).
Checking patch drivers/common/cnxk/roc_idev.c...
Checking patch drivers/common/cnxk/roc_idev_priv.h...
Checking patch drivers/dma/cnxk/cnxk_dmadev.c...
error: while searching for:
static int
cnxk_dmadev_probe(struct rte_pci_driver *pci_drv __rte_unused, struct rte_pci_device *pci_dev)
{
struct cnxk_dpi_vf_s *dpivf = NULL;
char name[RTE_DEV_NAME_MAX_LEN];
struct rte_dma_dev *dmadev;
error: patch failed: drivers/dma/cnxk/cnxk_dmadev.c:511
Hunk #2 succeeded at 678 (offset 121 lines).
Checking patch drivers/dma/cnxk/cnxk_dmadev.h...
Hunk #1 succeeded at 18 (offset -68 lines).
Applying patch drivers/common/cnxk/roc_dpi.c with 2 rejects...
Rejected hunk #1.
Hunk #2 applied cleanly.
Rejected hunk #3.
Applying patch drivers/common/cnxk/roc_dpi.h with 1 reject...
Rejected hunk #1.
Applied patch drivers/common/cnxk/roc_dpi_priv.h cleanly.
Applied patch drivers/common/cnxk/roc_idev.c cleanly.
Applied patch drivers/common/cnxk/roc_idev_priv.h cleanly.
Applying patch drivers/dma/cnxk/cnxk_dmadev.c with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Applied patch drivers/dma/cnxk/cnxk_dmadev.h cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/common/cnxk/roc_dpi.c b/drivers/common/cnxk/roc_dpi.c (rejected hunks)
@@ -84,6 +84,8 @@ roc_dpi_configure(struct roc_dpi *roc_dpi, uint32_t chunk_sz, uint64_t aura, uin
mbox_msg.s.aura = aura;
mbox_msg.s.sso_pf_func = idev_sso_pffunc_get();
mbox_msg.s.npa_pf_func = idev_npa_pffunc_get();
+ mbox_msg.s.wqecs = 1;
+ mbox_msg.s.wqecsoff = idev_dma_cs_offset_get();
rc = send_msg_to_pf(&pci_dev->addr, (const char *)&mbox_msg,
sizeof(dpi_mbox_msg_t));
@@ -104,6 +106,7 @@ roc_dpi_dev_init(struct roc_dpi *roc_dpi)
vfid = ((pci_dev->addr.devid & 0x1F) << 3) | (pci_dev->addr.function & 0x7);
vfid -= 1;
roc_dpi->vfid = vfid;
+ idev_dma_cs_offset_set(offset);
return 0;
}
diff a/drivers/common/cnxk/roc_dpi.h b/drivers/common/cnxk/roc_dpi.h (rejected hunks)
@@ -11,7 +11,7 @@ struct roc_dpi {
uint16_t vfid;
} __plt_cache_aligned;
-int __roc_api roc_dpi_dev_init(struct roc_dpi *roc_dpi);
+int __roc_api roc_dpi_dev_init(struct roc_dpi *roc_dpi, uint8_t offset);
int __roc_api roc_dpi_dev_fini(struct roc_dpi *roc_dpi);
int __roc_api roc_dpi_configure(struct roc_dpi *dpi, uint32_t chunk_sz, uint64_t aura,
diff a/drivers/dma/cnxk/cnxk_dmadev.c b/drivers/dma/cnxk/cnxk_dmadev.c (rejected hunks)
@@ -511,6 +511,7 @@ static const struct rte_dma_dev_ops cnxk_dmadev_ops = {
static int
cnxk_dmadev_probe(struct rte_pci_driver *pci_drv __rte_unused, struct rte_pci_device *pci_dev)
{
+ struct cnxk_dpi_compl_s *compl = NULL;
struct cnxk_dpi_vf_s *dpivf = NULL;
char name[RTE_DEV_NAME_MAX_LEN];
struct rte_dma_dev *dmadev;
Checking patch drivers/dma/cnxk/cnxk_dma_event_dp.h...
Checking patch drivers/dma/cnxk/cnxk_dmadev.h...
error: drivers/dma/cnxk/cnxk_dmadev.h: does not match index
Checking patch drivers/dma/cnxk/cnxk_dmadev_fp.c...
error: drivers/dma/cnxk/cnxk_dmadev_fp.c: does not exist in index
Checking patch drivers/dma/cnxk/meson.build...
error: while searching for:
endif
endforeach
deps += ['bus_pci', 'common_cnxk', 'dmadev']
sources = files('cnxk_dmadev.c', 'cnxk_dmadev_fp.c')
require_iova_in_mbuf = false
error: patch failed: drivers/dma/cnxk/meson.build:8
Checking patch drivers/dma/cnxk/version.map...
Applied patch drivers/dma/cnxk/cnxk_dma_event_dp.h cleanly.
Applying patch drivers/dma/cnxk/meson.build with 1 reject...
Rejected hunk #1.
Applied patch drivers/dma/cnxk/version.map cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/dma/cnxk/meson.build b/drivers/dma/cnxk/meson.build (rejected hunks)
@@ -8,6 +8,10 @@ foreach flag: error_cflags
endif
endforeach
-deps += ['bus_pci', 'common_cnxk', 'dmadev']
+driver_sdk_headers = files(
+ 'cnxk_dma_event_dp.h',
+)
+
+deps += ['bus_pci', 'common_cnxk', 'dmadev', 'eventdev']
sources = files('cnxk_dmadev.c', 'cnxk_dmadev_fp.c')
require_iova_in_mbuf = false
https://lab.dpdk.org/results/dashboard/patchsets/27650/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-19 17:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-19 17:33 |WARNING| pw131626-131632 [PATCH] [v1, 7/7] event/cnxk: support DMA event functions dpdklab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).