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 B5FD2A0540 for ; Thu, 7 Jul 2022 09:59:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1A0C4113C; Thu, 7 Jul 2022 09:59:07 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id CA35E4284D for ; Thu, 7 Jul 2022 09:59:06 +0200 (CEST) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 95CB93F1F1 for ; Thu, 7 Jul 2022 07:59:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1657180746; bh=2/C/GPpYjn4W9QsY+nga6ny99PVmilxjRKHi0vcnzCg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=HCdJXz0HD9fWFjaQstKQJYYRee0vQq46yphVrjVZ1CF0X9WJY6sPVirxS0q9Yj9SN PV4GKpAGeo3SRhGIRqUs2Z8D66nzGFX+YpN5oMiGE8fv3NJ/xUGxpjY1prb+E1c/cS 8D+9NNW1A+s6sRzaKCfv6YEiEpdn6MuWtm+2rEe2vCnTG3ln2Bys+K9nPTShk+I7Np DclDQnUGB/CpBJUnJinn35fsEOBUaep2DXaVwdpnh6jjB3MgCXLySusXkW1NU6F4kq 849VCWdam6TJsA/8zo/4qr6wkqYWMnqVTTCHBRcYO1hsfbrrSUAILiUdf1eivIf35A f9uPLx1Z0Cdww== Received: by mail-ed1-f70.google.com with SMTP id o11-20020a056402438b00b0043676efd75dso13504799edc.16 for ; Thu, 07 Jul 2022 00:59:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2/C/GPpYjn4W9QsY+nga6ny99PVmilxjRKHi0vcnzCg=; b=da+dC8O3gQHOxutGCDPB1Lsxx86jq375NFX9zT+zaqm8Q+t9nqfIuLhnst41Kt69mb vFEk8XAS/3/suQktoVti7d5SopkvKOzAUB2mRj0Cx6zlqwSX8vLxjH6DsDwiZOq4nebz vFndgv0900IrPDJCOR57Tv65JXk6C7auNqOUdadZ452U1YQuwPaSqfcKnicF8ybTKV6E tKA+iIuL8n0Cbs3N8268qasrQVM6PLFUYRuK2KgEgZHYGvtzrfUAIpmMp2+YxZHH6ZB+ +cIs8Y/vKpha0Kykup530mlrzIiN9vJuhugjQ7qUvSohyu4Gz8OhRnmziWasLyopzlMk VsyA== X-Gm-Message-State: AJIora/XweXis3ZHrZeCgoxx8STIsZNbl4NXXHLlipMlY9ApaRYa1Ikh XK2hpcHS4iPLy0e/zvo+sv8z6vvWigpthu/eFM2sM922e36O9mV2ZFFoEUGpFR+aBWOtEGDaMi8 Cii2lmOv0gtlwVc+M9Qqmjhl8 X-Received: by 2002:a50:e613:0:b0:439:fd34:32db with SMTP id y19-20020a50e613000000b00439fd3432dbmr36158792edm.291.1657180746282; Thu, 07 Jul 2022 00:59:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v2VvWYyAIf8pnQGCQuCSf4Ak0so86KyNaUZ3OHOhKy6sqks8u46exkt3rdYYjrjglNVyaIjg== X-Received: by 2002:a50:e613:0:b0:439:fd34:32db with SMTP id y19-20020a50e613000000b00439fd3432dbmr36158775edm.291.1657180746083; Thu, 07 Jul 2022 00:59:06 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2a02:6d40:3a4f:7b00:c19b:938e:7c97:afe2]) by smtp.gmail.com with ESMTPSA id o13-20020a170906768d00b0072af6d20a9asm2217681ejm.75.2022.07.07.00.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:59:05 -0700 (PDT) From: christian.ehrhardt@canonical.com 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 19.11.13 Date: Thu, 7 Jul 2022 09:55:09 +0200 Message-Id: <20220707075522.194223-74-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220707075522.194223-1-christian.ehrhardt@canonical.com> References: <20220707075522.194223-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 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 19.11.13 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/09/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/a0d39201ac360a74675140dab25d0944b5222678 Thanks. Christian Ehrhardt --- >From a0d39201ac360a74675140dab25d0944b5222678 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 db4bf7e399..4d5e137b99 100644 --- a/examples/distributor/main.c +++ b/examples/distributor/main.c @@ -265,8 +265,8 @@ lcore_rx(struct lcore_params *p) * packets are then send straight to the tx core. */ #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); app_stats.rx.returned_pkts += nb_ret; -- 2.37.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-07 09:54:14.210677608 +0200 +++ 0074-examples-distributor-fix-distributor-on-Rx-core.patch 2022-07-07 09:54:10.993824790 +0200 @@ -1 +1 @@ -From 29c1e90e65e9e1592b4a200afe8d2a7ff7a77742 Mon Sep 17 00:00:00 2001 +From a0d39201ac360a74675140dab25d0944b5222678 Mon Sep 17 00:00:00 2001 @@ -9,0 +10,2 @@ +[ upstream commit 29c1e90e65e9e1592b4a200afe8d2a7ff7a77742 ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org @@ -24 +25 @@ -index 02bf91f555..8995806b4e 100644 +index db4bf7e399..4d5e137b99 100644 @@ -27 +28 @@ -@@ -261,8 +261,8 @@ lcore_rx(struct lcore_params *p) +@@ -265,8 +265,8 @@ lcore_rx(struct lcore_params *p)