automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw132273-132275 [PATCH] [v6, 3/3] test/event: add event link profile test
@ 2023-10-03 12:45 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2023-10-03 12:45 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/132273

_apply patch failure_

Submitter: Pavan Nikhilesh Bhagavatula <pbhagavatula@marvell.com>
Date: Tuesday, October 03 2023 09:47:21 
Applied on: CommitID:5f99480bc32b5f643fb357f8bed022b9bd23ecad
Apply patch set 132273-132275 failed:

Checking patch config/rte_config.h...
Checking patch doc/guides/eventdevs/features/default.ini...
Checking patch doc/guides/prog_guide/eventdev.rst...
Checking patch doc/guides/rel_notes/release_23_11.rst...
error: while searching for:
    model by introducing APIs that allow applications to enqueue/dequeue DMA
    operations to/from dmadev as events scheduled by an event device.

* **Updated Marvell cnxk eventdev driver.**

  * Added support for ``remaining_ticks_get`` timer adapter PMD callback

error: patch failed: doc/guides/rel_notes/release_23_11.rst:90
Checking patch drivers/event/cnxk/cnxk_eventdev.c...
Checking patch lib/eventdev/eventdev_pmd.h...
error: while searching for:
	/**< Pointer to PMD eth Tx adapter enqueue function. */
	event_crypto_adapter_enqueue_t ca_enqueue;
	/**< Pointer to PMD crypto adapter enqueue function. */

	event_dma_adapter_enqueue_t dma_enqueue;
	/**< Pointer to PMD DMA adapter enqueue function. */

	uint64_t reserved_64s[3]; /**< Reserved for future fields */
	void *reserved_ptrs[3];	  /**< Reserved for future fields */

error: patch failed: lib/eventdev/eventdev_pmd.h:179
Hunk #3 succeeded at 437 (offset -5 lines).
Hunk #4 succeeded at 481 (offset -5 lines).
Hunk #5 succeeded at 1396 (offset -155 lines).
Checking patch lib/eventdev/eventdev_private.c...
Hunk #1 succeeded at 81 (offset -8 lines).
error: while searching for:
			dummy_event_tx_adapter_enqueue_same_dest,
		.ca_enqueue = dummy_event_crypto_adapter_enqueue,
		.dma_enqueue = dummy_event_dma_adapter_enqueue,
		.data = dummy_data,
	};


error: patch failed: lib/eventdev/eventdev_private.c:106
error: while searching for:
	fp_op->txa_enqueue_same_dest = dev->txa_enqueue_same_dest;
	fp_op->ca_enqueue = dev->ca_enqueue;
	fp_op->dma_enqueue = dev->dma_enqueue;
	fp_op->data = dev->data->ports;
}

error: patch failed: lib/eventdev/eventdev_private.c:127
Checking patch lib/eventdev/eventdev_trace.h...
Checking patch lib/eventdev/eventdev_trace_points.c...
Checking patch lib/eventdev/rte_eventdev.c...
Hunk #1 succeeded at 95 (offset -1 lines).
Hunk #2 succeeded at 271 (offset -23 lines).
Hunk #3 succeeded at 282 (offset -23 lines).
Hunk #4 succeeded at 297 (offset -23 lines).
Hunk #5 succeeded at 955 (offset -23 lines).
Hunk #6 succeeded at 1021 (offset -23 lines).
Hunk #7 succeeded at 1044 (offset -23 lines).
Hunk #8 succeeded at 1117 (offset -23 lines).
Hunk #9 succeeded at 1173 (offset -23 lines).
Hunk #10 succeeded at 1190 (offset -23 lines).
Hunk #11 succeeded at 1541 (offset -23 lines).
Hunk #12 succeeded at 1561 (offset -23 lines).
Checking patch lib/eventdev/rte_eventdev.h...
Hunk #3 succeeded at 1546 (offset -44 lines).
Hunk #4 succeeded at 1607 (offset -44 lines).
Hunk #5 succeeded at 1644 (offset -44 lines).
Hunk #6 succeeded at 1828 (offset -44 lines).
Hunk #7 succeeded at 2449 (offset -44 lines).
Checking patch lib/eventdev/rte_eventdev_core.h...
error: while searching for:
						uint16_t nb_events);
/**< @internal Enqueue burst of events on DMA adapter */

struct rte_event_fp_ops {
	void **data;
	/**< points to array of internal port data pointers */

error: patch failed: lib/eventdev/rte_eventdev_core.h:46
error: while searching for:
	/**< PMD Crypto adapter enqueue function. */
	event_dma_adapter_enqueue_t dma_enqueue;
	/**< PMD DMA adapter enqueue function. */
	uintptr_t reserved[4];
} __rte_cache_aligned;


error: patch failed: lib/eventdev/rte_eventdev_core.h:71
Checking patch lib/eventdev/rte_eventdev_trace_fp.h...
Checking patch lib/eventdev/version.map...
error: while searching for:
	rte_event_dma_adapter_vchan_add;
	rte_event_dma_adapter_vchan_del;
	rte_event_eth_rx_adapter_create_ext_with_params;
};

INTERNAL {

error: patch failed: lib/eventdev/version.map:150
Applied patch config/rte_config.h cleanly.
Applied patch doc/guides/eventdevs/features/default.ini cleanly.
Applied patch doc/guides/prog_guide/eventdev.rst cleanly.
Applying patch doc/guides/rel_notes/release_23_11.rst with 1 reject...
Rejected hunk #1.
Applied patch drivers/event/cnxk/cnxk_eventdev.c cleanly.
Applying patch lib/eventdev/eventdev_pmd.h with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Hunk #5 applied cleanly.
Applying patch lib/eventdev/eventdev_private.c with 2 rejects...
Hunk #1 applied cleanly.
Rejected hunk #2.
Rejected hunk #3.
Applied patch lib/eventdev/eventdev_trace.h cleanly.
Applied patch lib/eventdev/eventdev_trace_points.c cleanly.
Applied patch lib/eventdev/rte_eventdev.c cleanly.
Applied patch lib/eventdev/rte_eventdev.h cleanly.
Applying patch lib/eventdev/rte_eventdev_core.h with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
Applied patch lib/eventdev/rte_eventdev_trace_fp.h cleanly.
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/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst	(rejected hunks)
@@ -90,6 +90,17 @@ New Features
     model by introducing APIs that allow applications to enqueue/dequeue DMA
     operations to/from dmadev as events scheduled by an event device.
 
+* **Added eventdev support to link queues to port with link profile.**
+
+  Introduced event link profiles that can be used to associated links between
+  event queues and an event port with a unique identifier termed as link profile.
+  The profile can be used to switch between the associated links in fast-path
+  without the additional overhead of linking/unlinking and waiting for unlinking.
+
+  * Added ``rte_event_port_profile_links_set``, ``rte_event_port_profile_unlink``
+    ``rte_event_port_profile_links_get`` and ``rte_event_port_profile_switch``
+    APIs to enable this feature.
+
 * **Updated Marvell cnxk eventdev driver.**
 
   * Added support for ``remaining_ticks_get`` timer adapter PMD callback
diff a/lib/eventdev/eventdev_pmd.h b/lib/eventdev/eventdev_pmd.h	(rejected hunks)
@@ -179,9 +179,10 @@ struct rte_eventdev {
 	/**< Pointer to PMD eth Tx adapter enqueue function. */
 	event_crypto_adapter_enqueue_t ca_enqueue;
 	/**< Pointer to PMD crypto adapter enqueue function. */
-
 	event_dma_adapter_enqueue_t dma_enqueue;
 	/**< Pointer to PMD DMA adapter enqueue function. */
+	event_profile_switch_t profile_switch;
+	/**< Pointer to PMD Event switch profile function. */
 
 	uint64_t reserved_64s[3]; /**< Reserved for future fields */
 	void *reserved_ptrs[3];	  /**< Reserved for future fields */
diff a/lib/eventdev/eventdev_private.c b/lib/eventdev/eventdev_private.c	(rejected hunks)
@@ -106,6 +113,7 @@ event_dev_fp_ops_reset(struct rte_event_fp_ops *fp_op)
 			dummy_event_tx_adapter_enqueue_same_dest,
 		.ca_enqueue = dummy_event_crypto_adapter_enqueue,
 		.dma_enqueue = dummy_event_dma_adapter_enqueue,
+		.profile_switch = dummy_event_port_profile_switch,
 		.data = dummy_data,
 	};
 
@@ -127,5 +135,6 @@ event_dev_fp_ops_set(struct rte_event_fp_ops *fp_op,
 	fp_op->txa_enqueue_same_dest = dev->txa_enqueue_same_dest;
 	fp_op->ca_enqueue = dev->ca_enqueue;
 	fp_op->dma_enqueue = dev->dma_enqueue;
+	fp_op->profile_switch = dev->profile_switch;
 	fp_op->data = dev->data->ports;
 }
diff a/lib/eventdev/rte_eventdev_core.h b/lib/eventdev/rte_eventdev_core.h	(rejected hunks)
@@ -46,6 +46,9 @@ typedef uint16_t (*event_dma_adapter_enqueue_t)(void *port, struct rte_event ev[
 						uint16_t nb_events);
 /**< @internal Enqueue burst of events on DMA adapter */
 
+typedef int (*event_profile_switch_t)(void *port, uint8_t profile);
+/**< @internal Switch active link profile on the event port. */
+
 struct rte_event_fp_ops {
 	void **data;
 	/**< points to array of internal port data pointers */
@@ -71,6 +74,8 @@ struct rte_event_fp_ops {
 	/**< PMD Crypto adapter enqueue function. */
 	event_dma_adapter_enqueue_t dma_enqueue;
 	/**< PMD DMA adapter enqueue function. */
+	event_profile_switch_t profile_switch;
+	/**< PMD Event switch profile function. */
 	uintptr_t reserved[4];
 } __rte_cache_aligned;
 
diff a/lib/eventdev/version.map b/lib/eventdev/version.map	(rejected hunks)
@@ -150,6 +150,10 @@ EXPERIMENTAL {
 	rte_event_dma_adapter_vchan_add;
 	rte_event_dma_adapter_vchan_del;
 	rte_event_eth_rx_adapter_create_ext_with_params;
+	rte_event_port_profile_links_set;
+	rte_event_port_profile_unlink;
+	rte_event_port_profile_links_get;
+	__rte_eventdev_trace_port_profile_switch;
 };
 
 INTERNAL {
Checking patch doc/guides/eventdevs/cnxk.rst...
Checking patch doc/guides/eventdevs/features/cnxk.ini...
Checking patch doc/guides/rel_notes/release_23_11.rst...
error: while searching for:

  * Added support for ``remaining_ticks_get`` timer adapter PMD callback
    to get the remaining ticks to expire for a given event timer.


Removed Items

error: patch failed: doc/guides/rel_notes/release_23_11.rst:105
Checking patch drivers/common/cnxk/roc_nix_inl_dev.c...
Checking patch drivers/common/cnxk/roc_sso.c...
Hunk #1 succeeded at 185 (offset -1 lines).
Hunk #2 succeeded at 203 (offset -1 lines).
Hunk #3 succeeded at 289 (offset -1 lines).
Hunk #4 succeeded at 298 (offset -1 lines).
Hunk #5 succeeded at 313 (offset -1 lines).
Checking patch drivers/common/cnxk/roc_sso.h...
Checking patch drivers/common/cnxk/roc_sso_priv.h...
Checking patch drivers/event/cnxk/cn10k_eventdev.c...
Hunk #3 succeeded at 476 (offset -7 lines).
Hunk #4 succeeded at 620 (offset -15 lines).
Hunk #5 succeeded at 630 (offset -15 lines).
Hunk #6 succeeded at 645 (offset -15 lines).
Hunk #7 succeeded at 1008 (offset -27 lines).
Checking patch drivers/event/cnxk/cn10k_worker.c...
Checking patch drivers/event/cnxk/cn10k_worker.h...
Hunk #1 succeeded at 316 (offset -13 lines).
Checking patch drivers/event/cnxk/cn9k_eventdev.c...
Hunk #7 succeeded at 696 (offset -13 lines).
Hunk #8 succeeded at 706 (offset -13 lines).
Hunk #9 succeeded at 721 (offset -13 lines).
Hunk #10 succeeded at 1020 (offset -13 lines).
Checking patch drivers/event/cnxk/cn9k_worker.c...
Checking patch drivers/event/cnxk/cn9k_worker.h...
Hunk #1 succeeded at 375 (offset 9 lines).
Hunk #2 succeeded at 392 (offset 9 lines).
Checking patch drivers/event/cnxk/cnxk_eventdev.c...
error: drivers/event/cnxk/cnxk_eventdev.c: does not match index
Checking patch drivers/event/cnxk/cnxk_eventdev.h...
Applied patch doc/guides/eventdevs/cnxk.rst cleanly.
Applied patch doc/guides/eventdevs/features/cnxk.ini cleanly.
Applying patch doc/guides/rel_notes/release_23_11.rst with 1 reject...
Rejected hunk #1.
Applied patch drivers/common/cnxk/roc_nix_inl_dev.c cleanly.
Applied patch drivers/common/cnxk/roc_sso.c cleanly.
Applied patch drivers/common/cnxk/roc_sso.h cleanly.
Applied patch drivers/common/cnxk/roc_sso_priv.h cleanly.
Applied patch drivers/event/cnxk/cn10k_eventdev.c cleanly.
Applied patch drivers/event/cnxk/cn10k_worker.c cleanly.
Applied patch drivers/event/cnxk/cn10k_worker.h cleanly.
Applied patch drivers/event/cnxk/cn9k_eventdev.c cleanly.
Applied patch drivers/event/cnxk/cn9k_worker.c cleanly.
Applied patch drivers/event/cnxk/cn9k_worker.h cleanly.
Applied patch drivers/event/cnxk/cnxk_eventdev.h cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst	(rejected hunks)
@@ -105,6 +105,8 @@ New Features
 
   * Added support for ``remaining_ticks_get`` timer adapter PMD callback
     to get the remaining ticks to expire for a given event timer.
+  * Added link profiles support for Marvell CNXK event device driver,
+    up to two link profiles are supported per event port.
 
 
 Removed Items

https://lab.dpdk.org/results/dashboard/patchsets/27809/

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-03 12:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03 12:45 |WARNING| pw132273-132275 [PATCH] [v6, 3/3] test/event: add event link profile test 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).