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 C595CA0093 for ; Wed, 9 Mar 2022 12:03:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C125C4068E; Wed, 9 Mar 2022 12:03:39 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id 6749D40395 for ; Wed, 9 Mar 2022 12:03:39 +0100 (CET) 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-0.canonical.com (Postfix) with ESMTPS id 2FA263F1C5 for ; Wed, 9 Mar 2022 11:03:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646823819; bh=+UrlaKqlNgXFHJMD5bKThphAP1ik58m8lwmJHAap2Rc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sSb5AlQggSD1t+jAnDcHEDixuub95bn0QzGJXL4bJuIU2JNmNe12ZnAUfUG7HJ/95 0DDTjp16hSDc5Ue//9phUV0JJsaLjOREQGg0bifASDcnceAsIp+FBnHmdCMpr3lDpa AinV74iskn2oPdzCcG2V7rBLRnwLNdQUJpCt6ydF6nz1QqKY8tKThAsMiQBPp1CL2H 5jvmm1WRD73UTBwwgLcv9bxE0Xk+2BNbrAASlwMOnokMBNiNN3ikMTN8M8HcNcZQ4+ mRb9m3Id+znnOSNQyU0KgZlAfmbJiw/kWJiyEE9jV2/QNdzzes5MJjvXW1gRoi+f63 uiB4tqNtWrsmA== Received: by mail-ed1-f70.google.com with SMTP id r9-20020a05640251c900b00412d54ea618so1093988edd.3 for ; Wed, 09 Mar 2022 03:03:39 -0800 (PST) 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=+UrlaKqlNgXFHJMD5bKThphAP1ik58m8lwmJHAap2Rc=; b=Xbie73s+23rVuSTbez1U5azIPF1QGPI0bNXDQYqlrAKd3Mjnq/u+WxDbPmvxZq8+nM vIxWez9oVoZ0wp4IghcVfkNjtzrYKvQg1PI3G4576P3OkkFQuDTkUEKI/EI8U4d2M2Tx tcimoT4JcWFEnji/ZkCl9aFSM6F2eGq0XgmbM0ASPvArgde1oV9LBKdv+HLx2EzSx7pp XIcDZLqcCMMAtzCPWHj9RrawaGF4ga/DkUHCiI8YamEwYU/ZPRIj/oD5vhZM1XqTc7v8 foB1LO2EDFjGRQrE9ut8TgS8pZZdl8xnvZklF+4BWF50qcpoqV4eXPS6ido87FRkOh3w YJeQ== X-Gm-Message-State: AOAM530WVh9C8kkcvxBlg9cH8TyXDspXGFpOaCpsQ/ZqB3rKOeu38tuy 5z9zJthwVmBAo/E3nLH6Ay/c0bQsGIQL8jxFqQev/Qyu3wu8TxhWaxr1TbUgmNZFs/rLF+3w7nV 2InyxgmmF572PWo5qI4OZvDvl X-Received: by 2002:a17:906:3ac6:b0:6cb:6808:95f9 with SMTP id z6-20020a1709063ac600b006cb680895f9mr17166022ejd.375.1646823818342; Wed, 09 Mar 2022 03:03:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsIPiFXW3pa2v7WIK35Gq150rz+QhV5Q544sra1Cr/OIfDWKZweC7Cwy05ahgsccc7ODckRQ== X-Received: by 2002:a17:906:3ac6:b0:6cb:6808:95f9 with SMTP id z6-20020a1709063ac600b006cb680895f9mr17165999ejd.375.1646823818105; Wed, 09 Mar 2022 03:03:38 -0800 (PST) Received: from localhost.localdomain (068-133-067-156.ip-addr.inexio.net. [156.67.133.68]) by smtp.gmail.com with ESMTPSA id kq26-20020a170906abda00b006da87077172sm609472ejb.29.2022.03.09.03.03.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 03:03:37 -0800 (PST) From: christian.ehrhardt@canonical.com To: Honnappa Nagarahalli Cc: Ruifeng Wang , Bruce Richardson , dpdk stable Subject: patch 'examples/distributor: reduce Tx queue number to 1' has been queued to stable release 19.11.12 Date: Wed, 9 Mar 2022 12:01:13 +0100 Message-Id: <20220309110116.1295395-42-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220309110116.1295395-1-christian.ehrhardt@canonical.com> References: <20220309110116.1295395-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 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.12 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/11/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/29f79c54052f01786b4a4bf36dea4dc12d613caf Thanks. Christian Ehrhardt --- >From 29f79c54052f01786b4a4bf36dea4dc12d613caf Mon Sep 17 00:00:00 2001 From: Honnappa Nagarahalli Date: Mon, 7 Mar 2022 22:39:46 +0000 Subject: [PATCH] examples/distributor: reduce Tx queue number to 1 [ upstream commit e7f6d1289bc2d6880bcc708b7ba42976b8d4a3e8 ] Distributor application creates one Tx queue per core. However the transmit is done only from a single core. Hence creating one Tx queue is enough. Fixes: 07db4a975094 ("examples/distributor: new sample app") Signed-off-by: Honnappa Nagarahalli Reviewed-by: Ruifeng Wang Acked-by: Bruce Richardson --- examples/distributor/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/distributor/main.c b/examples/distributor/main.c index 3f606a80a0..db4bf7e399 100644 --- a/examples/distributor/main.c +++ b/examples/distributor/main.c @@ -109,7 +109,7 @@ static inline int port_init(uint16_t port, struct rte_mempool *mbuf_pool) { struct rte_eth_conf port_conf = port_conf_default; - const uint16_t rxRings = 1, txRings = rte_lcore_count() - 1; + const uint16_t rxRings = 1, txRings = 1; int retval; uint16_t q; uint16_t nb_rxd = RX_RING_SIZE; -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-09 11:57:45.559737334 +0100 +++ 0042-examples-distributor-reduce-Tx-queue-number-to-1.patch 2022-03-09 11:57:43.420938557 +0100 @@ -1 +1 @@ -From e7f6d1289bc2d6880bcc708b7ba42976b8d4a3e8 Mon Sep 17 00:00:00 2001 +From 29f79c54052f01786b4a4bf36dea4dc12d613caf Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e7f6d1289bc2d6880bcc708b7ba42976b8d4a3e8 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index c681e237ea..02bf91f555 100644 +index 3f606a80a0..db4bf7e399 100644 @@ -24 +25 @@ -@@ -108,7 +108,7 @@ static inline int +@@ -109,7 +109,7 @@ static inline int