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 90FA3A0543 for ; Sat, 5 Nov 2022 18:13:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BF7340151; Sat, 5 Nov 2022 18:13:21 +0100 (CET) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id B3283400D5 for ; Sat, 5 Nov 2022 18:13:19 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id fn7-20020a05600c688700b003b4fb113b86so4901143wmb.0 for ; Sat, 05 Nov 2022 10:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XgAoyOXL+LsLhnNWwRtJ/qVQeDBrHfYpNrio/TiYeKU=; b=ZDNQogCXGgbG0+ZzkLiCJqrzJrKu7DjbpHsO2goVmh8gi1CbuoveIaIE3j+Gpz0BK6 mXKDh8Ue/WF021R4Bu9133z9xOmtShb8dXF/8xOeJCG8I98dZAexX2vUn3y+emL8SzTK krbXQmIsrloCwQpcZlLncrq1uMun9mESdrm/6XKHmRe4gEGf+M/YW0pSMcG4OMuqa1P2 zP2JD6gEWntTY4QjkZH/N6S8I59M3Dwyv0OU5W5Zvn65S3O8j9mAgOEq2h+aJq/lbWBf nWhdcZ6y1oke9dgC4PXqvztf6OV2ZK8HhUQX6IZq9Ti3x21FwP2AKbxSsuyC9JE/mih1 K7eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XgAoyOXL+LsLhnNWwRtJ/qVQeDBrHfYpNrio/TiYeKU=; b=jgEngxgRoldCewUCf4tALkk75HBEC+DZf1THq1TuUosBRa3rsWA0UR+kWzmm/f9THL sjOkplsrnO7mpnUFLErNAaoKp1Zc40SJxEqy1gmcDKp4AsNZpLqJ5rgWPNAuCRommTHK EFPHbmxkNbMpOYQMIBhJcxJ1YoEcC8L2UYpLpoJkdNvxmloXPN+mUzXC7PeCzvxTvqsU d7t10yuYl+xpzQeE91f/48ab5fiX/qQWzwuJugW8R41/3mY6SbdluAfFZSgC8XBedlp3 RAlfhc9oxCLNnl1VpoObPQY3G/i+Vp0WpOxseKunpymumBDbosQ2WR58Wtb2Z6rEHZBe A3NA== X-Gm-Message-State: ACrzQf001GwcnM99egGgmGsbfdwngizoeUgXSHSnhif2MxXpjF7BzWic mpvBqSwQRSU4CHTr+M5RZ2jrMf6Edzw= X-Google-Smtp-Source: AMsMyM64JMd4TetI9HJ05txi8zsclnLOs0zxGK1IMJ5hkN78soBqQzfI2TLL18lEBi2My86eJ/gIug== X-Received: by 2002:a05:600c:a48:b0:3b9:af1f:1b38 with SMTP id c8-20020a05600c0a4800b003b9af1f1b38mr28151143wmq.185.1667668399363; Sat, 05 Nov 2022 10:13:19 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id bh23-20020a05600c3d1700b003a83ca67f73sm3174804wmb.3.2022.11.05.10.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 10:13:18 -0700 (PDT) From: luca.boccassi@gmail.com To: Megha Ajmera Cc: Cristian Dumitrescu , dpdk stable Subject: patch 'examples/qos_sched: fix number of subport profiles' has been queued to stable release 20.11.7 Date: Sat, 5 Nov 2022 17:11:27 +0000 Message-Id: <20221105171146.1520039-28-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221105171146.1520039-1-luca.boccassi@gmail.com> References: <20221103092758.1099402-100-luca.boccassi@gmail.com> <20221105171146.1520039-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.7 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/07/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/969d23b4a46dd2892ab3c8132f2873cea2f05bf3 Thanks. Luca Boccassi --- >From 969d23b4a46dd2892ab3c8132f2873cea2f05bf3 Mon Sep 17 00:00:00 2001 From: Megha Ajmera Date: Fri, 28 Oct 2022 09:55:30 +0000 Subject: [PATCH] examples/qos_sched: fix number of subport profiles [ upstream commit 85ea681c821889518e33431dc6eb00c7f54e59f4 ] Removed unused subport field from profile.cfg Correctly using subport profile id in subport config load. Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically") Signed-off-by: Megha Ajmera Acked-by: Cristian Dumitrescu --- examples/qos_sched/cfg_file.c | 2 +- examples/qos_sched/profile.cfg | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/qos_sched/cfg_file.c b/examples/qos_sched/cfg_file.c index cd167bd8e6..4bf088ef15 100644 --- a/examples/qos_sched/cfg_file.c +++ b/examples/qos_sched/cfg_file.c @@ -155,7 +155,7 @@ cfg_load_subport_profile(struct rte_cfgfile *cfg, profiles = rte_cfgfile_num_sections(cfg, "subport profile", sizeof("subport profile") - 1); - subport_params[0].n_pipe_profiles = profiles; + port_params.n_subport_profiles = profiles; for (i = 0; i < profiles; i++) { char sec_name[32]; diff --git a/examples/qos_sched/profile.cfg b/examples/qos_sched/profile.cfg index 4486d2799e..a308d61f02 100644 --- a/examples/qos_sched/profile.cfg +++ b/examples/qos_sched/profile.cfg @@ -26,8 +26,6 @@ number of subports per port = 1 number of pipes per subport = 4096 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64 -subport 0-8 = 0 ; These subports are configured with subport profile 0 - [subport profile 0] tb rate = 1250000000 ; Bytes per second tb size = 1000000 ; Bytes -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-05 17:11:11.159268050 +0000 +++ 0028-examples-qos_sched-fix-number-of-subport-profiles.patch 2022-11-05 17:11:08.730943843 +0000 @@ -1 +1 @@ -From 85ea681c821889518e33431dc6eb00c7f54e59f4 Mon Sep 17 00:00:00 2001 +From 969d23b4a46dd2892ab3c8132f2873cea2f05bf3 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 85ea681c821889518e33431dc6eb00c7f54e59f4 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 3d5d75fcf0..ca871d3287 100644 +index cd167bd8e6..4bf088ef15 100644 @@ -23 +24 @@ -@@ -157,7 +157,7 @@ cfg_load_subport_profile(struct rte_cfgfile *cfg, +@@ -155,7 +155,7 @@ cfg_load_subport_profile(struct rte_cfgfile *cfg, @@ -33 +34 @@ -index c9ec187c93..e8de101b6c 100644 +index 4486d2799e..a308d61f02 100644