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 5152241EA5 for ; Wed, 15 Mar 2023 23:48:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C3D742B71; Wed, 15 Mar 2023 23:48:22 +0100 (CET) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mails.dpdk.org (Postfix) with ESMTP id CF49940141 for ; Wed, 15 Mar 2023 23:48:20 +0100 (CET) Received: by mail-wm1-f46.google.com with SMTP id x22so18311wmj.3 for ; Wed, 15 Mar 2023 15:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678920500; 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=Skonc/XxhrvKMQBjtEx4oR6zj3OEXeB0dAJCI70EQfA=; b=MY6o0P3xcuimdG6zc1KKtfSAA7oIICPOu3jnZmEyrvc3KMqtjuTuBhOp/Vdw2jeb2q StTdMDRG1Yf7mDApKpBSOdyHq9XXwKi2XHGLBfZX8nTO8VkJ6YB+xslQtMyPEjC6peij 7FL3MhQ8Z4wrEdeDhMOfHzm8QKo83mlkVKDgyQG6KbOww8BEJgrkurshEbmaq8h3+w1C tkVaVxpi7kvFsKMdPRGPUBjXcnp3SXIBUyjWJ9OAgLT6/Js/IEYhVHRBcu7qIsMG2aUn owv4x9KvqZAGxNX3FGmi/fBs5mpP0mDPwr6AS5lJrqXmPr7oIMoDMl+cSNCqnuaOCI+R JCMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678920500; 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=Skonc/XxhrvKMQBjtEx4oR6zj3OEXeB0dAJCI70EQfA=; b=HCO5ZLVYjFUoADiCZARU6lVZp56Og25ldKTwB+rLsSzWCTOM7SkiduxOIRb/JhYXFq RpsY5K+0MAGAomaNp9U0bSMlcmgWivuqAGioCLCKuKjIwWMzXXVRp8bgOnCn1jidhmq4 6/RuyALb94epvY8pm9mPWn8K2+AUIYKnP+cR8Ud7FIcYohE2KhxYyu+6zWM6tMUnP7Hn T7arEtdNprC/Mzk+MfmJMq8Q8UHysSHaCINPxy8JEVOseDy9loErFvwgT37B7+IlfgmG arXB8eTl0CcMxch+e38mtLGcaVgFL5JcPQC5zFsieJEC3NHZ7ueyufhzptClxdIHoFIm yTmg== X-Gm-Message-State: AO0yUKWCSKjnTOHiWXZfhErf2SaHp6ciDEo1RRDrlj8NB94YecjQ+H0I bt+uQC3w+sXKt/fKdomKLgR1N9Yl+gT53Q== X-Google-Smtp-Source: AK7set+Gq/h5J2O6Up2ETu77Yr5vttETvXEGYhxM4+Wu9Ql/kAGj7qKCeI9OPCnRgno5F+fvTAnGSQ== X-Received: by 2002:a05:600c:35cd:b0:3e9:f4c2:b604 with SMTP id r13-20020a05600c35cd00b003e9f4c2b604mr20976527wmq.24.1678920500521; Wed, 15 Mar 2023 15:48:20 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id 22-20020a05600c021600b003ecc64edf7esm3093274wmi.39.2023.03.15.15.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 15:48:20 -0700 (PDT) From: luca.boccassi@gmail.com To: Huisong Li Cc: Dongdong Liu , dpdk stable Subject: patch 'net/hns3: allow adding queue buffer size hash rule' has been queued to stable release 20.11.8 Date: Wed, 15 Mar 2023 22:46:27 +0000 Message-Id: <20230315224631.1025649-36-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230315224631.1025649-1-luca.boccassi@gmail.com> References: <20230223093715.3926893-71-luca.boccassi@gmail.com> <20230315224631.1025649-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.8 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/17/23. 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/9026ba04f9b356e04f970198e399c8eae8b53c2c Thanks. Luca Boccassi --- >From 9026ba04f9b356e04f970198e399c8eae8b53c2c Mon Sep 17 00:00:00 2001 From: Huisong Li Date: Fri, 10 Mar 2023 17:35:15 +0800 Subject: [PATCH] net/hns3: allow adding queue buffer size hash rule [ upstream commit 8095bf3e6d8ca7349e0a15f95407acd2063e7be0 ] The maximum queue number from RSS flow rule allowed depends on the maximum queue number (512) under one TC instead of the one of Rx/Tx queue so as to eliminate restrictions on user usage. Fixes: c37ca66f2b27 ("net/hns3: support RSS") Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rss.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_rss.h b/drivers/net/hns3/hns3_rss.h index ffd76647c9..9300866b68 100644 --- a/drivers/net/hns3/hns3_rss.h +++ b/drivers/net/hns3/hns3_rss.h @@ -41,7 +41,8 @@ struct hns3_rss_tuple_cfg { uint64_t rss_tuple_fields; }; -#define HNS3_RSS_QUEUES_BUFFER_NUM 64 /* Same as the Max rx/tx queue num */ +/* Same as the Max queue num under TC */ +#define HNS3_RSS_QUEUES_BUFFER_NUM 512 struct hns3_rss_conf { /* RSS parameters :algorithm, flow_types, key, queue */ struct rte_flow_action_rss conf; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-03-15 22:44:51.688093675 +0000 +++ 0036-net-hns3-allow-adding-queue-buffer-size-hash-rule.patch 2023-03-15 22:44:49.659851854 +0000 @@ -1 +1 @@ -From 8095bf3e6d8ca7349e0a15f95407acd2063e7be0 Mon Sep 17 00:00:00 2001 +From 9026ba04f9b356e04f970198e399c8eae8b53c2c Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 8095bf3e6d8ca7349e0a15f95407acd2063e7be0 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 21b90789d0..cc0bb8431d 100644 +index ffd76647c9..9300866b68 100644 @@ -23,3 +24,3 @@ -@@ -37,7 +37,8 @@ - #define HNS3_RSS_HASH_ALGO_SYMMETRIC_TOEP 2 - #define HNS3_RSS_HASH_ALGO_MASK 0xf +@@ -41,7 +41,8 @@ struct hns3_rss_tuple_cfg { + uint64_t rss_tuple_fields; + };