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 7EF4D426AE for ; Tue, 3 Oct 2023 11:08:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 777F64026B; Tue, 3 Oct 2023 11:08:13 +0200 (CEST) Received: from mail-yw1-f225.google.com (mail-yw1-f225.google.com [209.85.128.225]) by mails.dpdk.org (Postfix) with ESMTP id 6AC384026B for ; Tue, 3 Oct 2023 11:08:12 +0200 (CEST) Received: by mail-yw1-f225.google.com with SMTP id 00721157ae682-59bbdb435bfso8079307b3.3 for ; Tue, 03 Oct 2023 02:08:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1696324092; x=1696928892; darn=dpdk.org; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=vHse3oKYLzH2wmnTQJXwNlvZhjHFEMLZvi/QkjMFQxM=; b=bNVXfHv0gG5y9vHGYc//eoHY0H7wVy95vjVEhvuUoOSTNzA9PhIwmVSkgmnuLk1Xva dg7R7K2GyFfCD+9O/TosnFpj/DOWS4uiE7KkKAcM6auhsO/hW1a31VqrLJhwxB39CMps 1TxwEHnka/kW9OcHENRm02PizC3KOGEtoCFoc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696324092; x=1696928892; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vHse3oKYLzH2wmnTQJXwNlvZhjHFEMLZvi/QkjMFQxM=; b=ccDubvIVX3WC1tzDgyCY5puYY479JLqje/u3PhGnd8g03zngsijZpV7AK1Aky8ozC9 jGXjEVv4Rt0blpx450JuAnc6b4HA5bok4AjS7BtcuBiIcLIYmiymxbZHnXCpF4nSshGj qNHlk6CY5YmHBYL916Dq5pXjJ7hU+9Jl3Ssbo8fjhlr3OFJdreZYU3hGXAQxCd1mul6G d1Q1aJUpkTT1/MOkpgq97//zmXGbyU7OdpmElwmVEwJYF/UtwVUB6aZDNCvRJgkW/0KH 0igTFbuFfNDbTGhDMEApAVPj4cpgHbjscH9SNHb4YmCqT1em8lmc4PeIudy8MXyB6BME sANw== X-Gm-Message-State: AOJu0Yz0pyKcbG8QdNF+/16osYOLjefVpjlgUwAAs4myCgmuZSf+xCp9 Gy5oDrDlMlk8I7iGkROprNZ1xtJqDhheafcLkKBBD3lfgg5eDdg4O0hJd6cCxFq0vutGodOYKg= = X-Google-Smtp-Source: AGHT+IFd15SMO6nkX3NkdxyHaCNMzNQ5OOAc07eN9thTVeHsWFnqu3MLZmrfnTINp3Cue6/ggzTWfYHMRiyu X-Received: by 2002:a81:df01:0:b0:59b:cfe1:bcf1 with SMTP id c1-20020a81df01000000b0059bcfe1bcf1mr12841854ywn.44.1696324091810; Tue, 03 Oct 2023 02:08:11 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id a63-20020a0df142000000b005771e04289fsm141349ywf.51.2023.10.03.02.08.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Oct 2023 02:08:11 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Tue, 03 Oct 2023 02:08:11 -0700 (PDT) Message-ID: <651bd9fb.0d0a0220.ca367.3201SMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.21.0.2] (unknown [172.18.0.240]) by postal.iol.unh.edu (Postfix) with ESMTP id 748F46052514; Tue, 3 Oct 2023 05:08:11 -0400 (EDT) Subject: |WARNING| pw132270-132272 [PATCH] [v5, 3/3] test/event: add event link profile test From: dpdklab@iol.unh.edu To: test-report@dpdk.org Cc: dpdk-test-reports@iol.unh.edu Content-Type: text/plain X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/132270 _apply patch failure_ Submitter: Pavan Nikhilesh Bhagavatula Date: Tuesday, October 03 2023 07:51:09 Applied on: CommitID:5f99480bc32b5f643fb357f8bed022b9bd23ecad Apply patch set 132270-132272 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 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. 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... 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.c 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/27808/ UNH-IOL DPDK Community Lab