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 1D60442681 for ; Tue, 3 Oct 2023 14:45:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 17CAA4026B; Tue, 3 Oct 2023 14:45:31 +0200 (CEST) Received: from mail-oa1-f97.google.com (mail-oa1-f97.google.com [209.85.160.97]) by mails.dpdk.org (Postfix) with ESMTP id E011E4026B for ; Tue, 3 Oct 2023 14:45:29 +0200 (CEST) Received: by mail-oa1-f97.google.com with SMTP id 586e51a60fabf-1e1a9db3f67so479764fac.2 for ; Tue, 03 Oct 2023 05:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1696337129; x=1696941929; darn=dpdk.org; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=FsJMBz98NRUZY/m5+zhanWGMdHoSlKM7JFOuMghi0F8=; b=XPSVRnA9IbWGXsewVQr6rZjRN8ndWQZfUL7iFD0XgJkcXdC94WPTTlFE0NE8Ta2fLa O3jBZsf0FYWs2+DghmkE6+YUQrmv7IrbL6aQhoOIxxAd+CLaPZfQfONtpEvYnhTyGcpo X0idTBZDr9dmwK0mob4gycaIuR+M+BkKpqDqo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696337129; x=1696941929; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FsJMBz98NRUZY/m5+zhanWGMdHoSlKM7JFOuMghi0F8=; b=Q/OGgcs20c9TwfLWDXfR55FzRFYYazAxKcjT8HLuWKnqzy6ho3x8vkQIgX7Zke//G1 Jw2Wf9anHNDTh2/WVJUTEjntsJBD8Dljt2zbrgnb163evgIP2d9WOteHWLNeerLh30EK IZzmE8Aln9YqTwiOnVvhLlz9W3s19UX/12d/bjkHVL3WkyMUnweG+8ubtmNxe9x8euPA odgru6FfZdQyVn72DvJ76gHdtkFoANfc2U3M7dsEZ+IXtonXoyLgvUpSNhX4PcjhOaFW guXSOLa1uvJTv2SrRMIKnDyGMK+SgC9VMBfkpCiezhXmLWFdscCEsrkesTxVfVFk3kKL UelQ== X-Gm-Message-State: AOJu0Yzj0swhoLSM2fN67el5GbX/yNG89fafA/pHTmXmqIbfohN2Mv3p ODX3HeCJi2kdmDZABFTQP78hoC5pmymLN3PiCdM10T3YPy1iQQyqyFidE5Ji9Ctld7XPv8eXJg= = X-Google-Smtp-Source: AGHT+IFvZ2szFoufsIqgH4fci+G+/fUXuFs2aX1YU872DGdkEAS9tcCCgqOYErdEDbhp8Y5saLqw/FyvTaZ7 X-Received: by 2002:a05:6870:4723:b0:1dc:9714:e2b3 with SMTP id b35-20020a056870472300b001dc9714e2b3mr17662611oaq.7.1696337129173; Tue, 03 Oct 2023 05:45:29 -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 ds46-20020a0568705b2e00b001e133fe518csm195218oab.43.2023.10.03.05.45.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Oct 2023 05:45:29 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Tue, 03 Oct 2023 05:45:29 -0700 (PDT) Message-ID: <651c0ce9.050a0220.d392b.31f7SMTPIN_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 940F86052514; Tue, 3 Oct 2023 08:45:28 -0400 (EDT) Subject: |WARNING| pw132273-132275 [PATCH] [v6, 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/132273 _apply patch failure_ Submitter: Pavan Nikhilesh Bhagavatula 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