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 94CF3A0093 for ; Wed, 9 Mar 2022 17:32:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8FB34410E1; Wed, 9 Mar 2022 17:32:08 +0100 (CET) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mails.dpdk.org (Postfix) with ESMTP id 79FAD410E1 for ; Wed, 9 Mar 2022 17:32:07 +0100 (CET) Received: by mail-wr1-f41.google.com with SMTP id u10so3906732wra.9 for ; Wed, 09 Mar 2022 08:32:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ly/KZrCm9GOSqqkbzlx4XUXUYrh05eSo50kRtBZ4jBs=; b=cwGrDJLjXri5UXfY8PpI/1MYnil2vuSXDs8OboNxrsb+Z/q3aDC5I+ywf+DDcADn2p e+eQc97/cSMk+zu4RQGRhFtjYrJqdEk1pc3LO63jYGl5MJsZBKE9y8e/IVkKzoo+hL42 4AViCMYiyM3zEZEXblY27ldy7kUsGv8x88e1Whyg1orbrA7Ac8EDmj1OgeJu2NFpZ7wU IMDlXOc6YBGOgNrDNdmlXapq4za2onn5fyHhVhI76NVgUwVz44Z5T7ZV6M+8PW9SV1Sb 2rbBFfly6YyTp9QZ9bMPLOIG7lAX4V30fUqwhsg5F8oUMZq3xBTG1RfEAeuNYjsyWL2a jSTA== 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=ly/KZrCm9GOSqqkbzlx4XUXUYrh05eSo50kRtBZ4jBs=; b=v6JeuJfj+o3BQTeu5CL2EdW9wz6Ad9jQzyirfbCYXMkqi76WH/tX84NGaQ75Axm1yN Vx6GxXRXwiP/ds+w4+G9FWc/5TXpqvx6dGX/asEQZwilOkyK2vwU9wW8n2QtfId2APd4 NYo5K3huG+P/SgPj3nVnYigFc6WiOVfV4qu+hYcxhqnHF2Fd8KfHhI8UVEm8tvZP2Wsx E//uUM/pEru2yPJfxXfiR9C5Sa/nWzaZqsJFROOnurSY8tEvuugZtqLlMqLAa+GEZL9H neYUe/zxOR3XAhoY91grO9//X4tMGhj9yuA407cXTzXby+FKuEBLIhrQD+30dShEvTK9 Dq2Q== X-Gm-Message-State: AOAM530P6iBl5M4zxjoWEXgNiDPjuLPsfaG4Be6rBMpuuFnzwuRYza4j HazlC+rm76VIndipg21K5DY= X-Google-Smtp-Source: ABdhPJyVKa4yv83ZzD+Ect6Jz7FACjCyEStE0Vi/33xntmaPu43nuXpRZqW6Jc/QiT5Ae0qs4SlcGQ== X-Received: by 2002:adf:ab06:0:b0:1f1:de8b:ecd with SMTP id q6-20020adfab06000000b001f1de8b0ecdmr352883wrc.156.1646843527196; Wed, 09 Mar 2022 08:32:07 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id ay9-20020a5d6f09000000b001f1f3330fc5sm2155880wrb.28.2022.03.09.08.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 08:32:06 -0800 (PST) From: luca.boccassi@gmail.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 20.11.5 Date: Wed, 9 Mar 2022 16:30:39 +0000 Message-Id: <20220309163053.245754-23-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220309163053.245754-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-1-luca.boccassi@gmail.com> <20220309163053.245754-1-luca.boccassi@gmail.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 20.11.5 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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/11564d16c1d5d4bbc2ce8aa47495170d7f5d5e69 Thanks. Luca Boccassi --- >From 11564d16c1d5d4bbc2ce8aa47495170d7f5d5e69 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 1b1029660e..9303a00d1b 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.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-09 16:30:09.377480499 +0000 +++ 0023-examples-distributor-reduce-Tx-queue-number-to-1.patch 2022-03-09 16:30:08.551025243 +0000 @@ -1 +1 @@ -From e7f6d1289bc2d6880bcc708b7ba42976b8d4a3e8 Mon Sep 17 00:00:00 2001 +From 11564d16c1d5d4bbc2ce8aa47495170d7f5d5e69 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 1b1029660e..9303a00d1b 100644 @@ -24 +25 @@ -@@ -108,7 +108,7 @@ static inline int +@@ -109,7 +109,7 @@ static inline int