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 EF41CA057F for ; Tue, 28 Jun 2022 17:20:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E77B942B6C; Tue, 28 Jun 2022 17:20:15 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 54C3840042 for ; Tue, 28 Jun 2022 17:20:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656429613; 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=9+hHMBHdTsnyXrJ6y1aKs8PeEvRQmr30B+Sps1jrOjM=; b=YRX8TWKKjsj3x0ArSrzIh8hCodlGzM0qdO2+cK7ZPNUgQSHyLo7RahMOlK9QYvg1BNcHuG IAKPHbjxIBapv3j38Om2yCSJkEhQzfENY1HHq1hOXXpO0r3eGRBu51ed2t/hjR2JiYkixn FZuefNwc8WZLR4ESbnB3FM77B0a2CKA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-526-FUcnmFAJOVue2m4VFvRIJA-1; Tue, 28 Jun 2022 11:20:10 -0400 X-MC-Unique: FUcnmFAJOVue2m4VFvRIJA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C4CB21019C8B; Tue, 28 Jun 2022 15:20:09 +0000 (UTC) Received: from rh.redhat.com (unknown [10.39.194.217]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8339C1410DD8; Tue, 28 Jun 2022 15:20:07 +0000 (UTC) From: Kevin Traynor To: Cc: =?UTF-8?q?Abdullah=20=C3=96mer=20Yama=C3=A7?= , Ferruh Yigit , David Hunt , dpdk stable Subject: patch 'examples/distributor: fix distributor on Rx core' has been queued to stable release 21.11.2 Date: Tue, 28 Jun 2022 16:19:31 +0100 Message-Id: <20220628151938.2278711-19-ktraynor@redhat.com> In-Reply-To: <20220628151938.2278711-1-ktraynor@redhat.com> References: <20220628151938.2278711-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/30/22. 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/17d26c7fa06fdbe7492dbb75a9f1c8e5a4e00a87 Thanks. Kevin --- >From 17d26c7fa06fdbe7492dbb75a9f1c8e5a4e00a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abdullah=20=C3=96mer=20Yama=C3=A7?= Date: Mon, 20 Jun 2022 19:31:46 +0300 Subject: [PATCH] examples/distributor: fix distributor on Rx core MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 29c1e90e65e9e1592b4a200afe8d2a7ff7a77742 ] This patch fixes the syntax error when using the single-core for both Rx and distributor functions. Fixes: 4a7f40c0ff9a ("examples/distributor: add dedicated core") Signed-off-by: Abdullah Ömer Yamaç Acked-by: Ferruh Yigit Tested-by: David Hunt --- examples/distributor/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/distributor/main.c b/examples/distributor/main.c index 02bf91f555..8995806b4e 100644 --- a/examples/distributor/main.c +++ b/examples/distributor/main.c @@ -262,6 +262,6 @@ lcore_rx(struct lcore_params *p) */ #if 0 - rte_distributor_process(d, bufs, nb_rx); - const uint16_t nb_ret = rte_distributor_returned_pktsd, + rte_distributor_process(p->d, bufs, nb_rx); + const uint16_t nb_ret = rte_distributor_returned_pkts(p->d, bufs, BURST_SIZE*2); -- 2.34.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-28 16:18:04.487432815 +0100 +++ 0019-examples-distributor-fix-distributor-on-Rx-core.patch 2022-06-28 16:18:04.045387175 +0100 @@ -1 +1 @@ -From 29c1e90e65e9e1592b4a200afe8d2a7ff7a77742 Mon Sep 17 00:00:00 2001 +From 17d26c7fa06fdbe7492dbb75a9f1c8e5a4e00a87 Mon Sep 17 00:00:00 2001 @@ -9,0 +10,2 @@ +[ upstream commit 29c1e90e65e9e1592b4a200afe8d2a7ff7a77742 ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org