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 0730643345 for ; Thu, 16 Nov 2023 14:25:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0107440DF5; Thu, 16 Nov 2023 14:25:04 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id A7B2740A89 for ; Thu, 16 Nov 2023 14:25:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700141102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BgvP5eIwBYr3y3p12nqwJFXHwBqtGIN+b5fDZOHY8x8=; b=OWzeKdCZqJoWv13swAdbLD8b3P4Bb6U5LLKpiNwMJ7IX0qsA6Dgqnilyp7K56iqoUmpJAF Bjx7i1XqXWcrLHzw3/cs1XL7Bh/RBNV+dFKORTcS0VN5nsLChJ2nCH16YzNj1oVFZRhccN 2+VS/KA2lYFhSzzhEgFVAl7bJBIFgbQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-477-oqX_-CjxPVqrXn-vN3RhAQ-1; Thu, 16 Nov 2023 08:24:59 -0500 X-MC-Unique: oqX_-CjxPVqrXn-vN3RhAQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D9ECE185A785; Thu, 16 Nov 2023 13:24:58 +0000 (UTC) Received: from rh.Home (unknown [10.39.194.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id CFAD62166B27; Thu, 16 Nov 2023 13:24:57 +0000 (UTC) From: Kevin Traynor To: Bruce Richardson Cc: Abdullah Sevincer , dpdk stable Subject: patch 'event/dlb2: fix name check in self-test' has been queued to stable release 21.11.6 Date: Thu, 16 Nov 2023 13:23:27 +0000 Message-ID: <20231116132348.557257-45-ktraynor@redhat.com> In-Reply-To: <20231116132348.557257-1-ktraynor@redhat.com> References: <20231116132348.557257-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 21.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/21/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/fac8f05ff8748f65773ef1bab421be25d443d21c Thanks. Kevin --- >From fac8f05ff8748f65773ef1bab421be25d443d21c Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 7 Nov 2023 16:37:13 +0000 Subject: [PATCH] event/dlb2: fix name check in self-test [ upstream commit 3dd079fae9f0b210ed0fd9a192fb0586822ad9a5 ] When running the dlb2 selftests the driver name check was incorrect, causing all checks to be skipped for a dlb2 device. We use the "event_dlb2" only as a prefix check, as driver may have suffixes, e.g. appear as "event_dlb2_pf". Fixes: 6f1b82886e8a ("event/dlb2: add self-tests") Signed-off-by: Bruce Richardson Acked-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2_selftest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/event/dlb2/dlb2_selftest.c b/drivers/event/dlb2/dlb2_selftest.c index 1863ffe049..62aa11d981 100644 --- a/drivers/event/dlb2/dlb2_selftest.c +++ b/drivers/event/dlb2/dlb2_selftest.c @@ -1476,5 +1476,5 @@ int test_dlb2_eventdev(void) { - const char *dlb2_eventdev_name = "dlb2_event"; + const char *dlb2_eventdev_name = "event_dlb2"; uint8_t num_evdevs = rte_event_dev_count(); int i, ret = 0; @@ -1490,5 +1490,5 @@ test_dlb2_eventdev(void) /* skip non-dlb2 event devices */ if (strncmp(info.driver_name, dlb2_eventdev_name, - sizeof(*info.driver_name)) != 0) { + strlen(dlb2_eventdev_name)) != 0) { skipped++; continue; -- 2.41.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-11-16 13:21:53.629980838 +0000 +++ 0045-event-dlb2-fix-name-check-in-self-test.patch 2023-11-16 13:21:52.508946544 +0000 @@ -1 +1 @@ -From 3dd079fae9f0b210ed0fd9a192fb0586822ad9a5 Mon Sep 17 00:00:00 2001 +From fac8f05ff8748f65773ef1bab421be25d443d21c Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 3dd079fae9f0b210ed0fd9a192fb0586822ad9a5 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org