From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6ED26A04DD for ; Wed, 28 Oct 2020 11:53:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 67D34CA0C; Wed, 28 Oct 2020 11:53:33 +0100 (CET) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by dpdk.org (Postfix) with ESMTP id 0A1B9C9F6 for ; Wed, 28 Oct 2020 11:53:30 +0100 (CET) Received: by mail-wm1-f46.google.com with SMTP id l20so3008004wme.0 for ; Wed, 28 Oct 2020 03:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5DbJIEY7lZhr1gyxSZPqr6xjRuJwA9ocSUer2k0NSqY=; b=I6SFbrjROgC7Q8rBRPNwHb+i3ClzGYxV8JL+xaA5sE8CrKZNwGqj+8Hs8ECm7eo6Sz M1pvWBh9FxA49YetWEIFsqQ9h2IIL7AcYO+R3jjEfuET5FTwhQo1/V2U8+kRCIH4wOnP l9tqHzdTCbqBJyiPpi4lHPvU9tv7U1rneESNjkZTfqGe++TBaV85yqn1kdkNeWSZ1fJn PZXtWqdxFGlcgwEVZ2J5d/ca8+eiaYUbfg9tg3Y4pKZA+4LnPGyAyuR21P+Qdge5hLg1 B9YQ1u+IABQq9+6dh1xYea4N8qbEvMaXKKiURTDUXLZVk0fXzLGoEmww3ghVFCvI6js+ BVJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5DbJIEY7lZhr1gyxSZPqr6xjRuJwA9ocSUer2k0NSqY=; b=LTqs2mpa1gpEAP/4doti/Xom68gaqT4NchruO9Fn2damdAO9nFLLBSOvyNCw8FD9rt Eh32xibIL57MwtN7ok08VJhz+6L+ayOm/6XkKtjLj+Bnx3xecKupBSsv8xETaXT/TDbQ VIor4E9f03/UNC7uIOS0kxkS6wKbHFsza+lS70NuZEg/Jb/8CVxnmW/JsJx9IsRt0/iK 9SEjEt0KVIxqhdOZWrtqSDhwt/huOkq1e/LMSVihnDPiU0pHzKnoLDw6+i92BUC+cCOh 7EhZN93IPl9GljOS3XyssgCqLy+9c0bZg7qgOm+tQ+M3BSyJ0ShWQ3WjEiVeHcP82jiF 3/5A== X-Gm-Message-State: AOAM532ULmSetqBIZp/DihqnEdH4klXG9uUFOFyzPaTPtfYKc+KdRycI iQRGuEm6tVlJUHeklBxSbh+BXTr8N/uDzW5l X-Google-Smtp-Source: ABdhPJx1a2zGZVIxhJAGKLvLQZ9DJ+oRhXVG2WBUzLE4AxRWMDF+P5WjBXuJMTiQ5NMflLHQBcn9ow== X-Received: by 2002:a05:600c:2284:: with SMTP id 4mr7120525wmf.163.1603882409813; Wed, 28 Oct 2020 03:53:29 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id q7sm6295395wrr.39.2020.10.28.03.53.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 03:53:29 -0700 (PDT) From: luca.boccassi@gmail.com To: Konstantin Ananyev Cc: David Marchand , dpdk stable Date: Wed, 28 Oct 2020 10:44:58 +0000 Message-Id: <20201028104606.3504127-139-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201028104606.3504127-1-luca.boccassi@gmail.com> References: <20201028104606.3504127-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'doc: fix missing classify methods in ACL guide' has been queued to stable release 19.11.6 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/30/20. 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. Thanks. Luca Boccassi --- >From 13f33483a30d194edf94ae708d120f8d1c9f9fdc Mon Sep 17 00:00:00 2001 From: Konstantin Ananyev Date: Tue, 6 Oct 2020 16:03:04 +0100 Subject: [PATCH] doc: fix missing classify methods in ACL guide [ upstream commit 28377e37ecdbdcd99218e33c53d3a06cc87726c9 ] Add brief description for missing ACL classify algorithms: RTE_ACL_CLASSIFY_NEON and RTE_ACL_CLASSIFY_ALTIVEC. Fixes: 34fa6c27c156 ("acl: add NEON optimization for ARMv8") Fixes: 1d73135f9f1c ("acl: add AltiVec for ppc64") Signed-off-by: Konstantin Ananyev Reviewed-by: David Marchand --- doc/guides/prog_guide/packet_classif_access_ctrl.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/prog_guide/packet_classif_access_ctrl.rst b/doc/guides/prog_guide/packet_classif_access_ctrl.rst index 2945eacf55..f99302a5e8 100644 --- a/doc/guides/prog_guide/packet_classif_access_ctrl.rst +++ b/doc/guides/prog_guide/packet_classif_access_ctrl.rst @@ -373,6 +373,12 @@ There are several implementations of classify algorithm: * **RTE_ACL_CLASSIFY_AVX2**: vector implementation, can process up to 16 flows in parallel. Requires AVX2 support. +* **RTE_ACL_CLASSIFY_NEON**: vector implementation, can process up to 8 flows + in parallel. Requires NEON support. + +* **RTE_ACL_CLASSIFY_ALTIVEC**: vector implementation, can process up to 8 + flows in parallel. Requires ALTIVEC support. + It is purely a runtime decision which method to choose, there is no build-time difference. All implementations operates over the same internal RT structures and use similar principles. The main difference is that vector implementations can manually exploit IA SIMD instructions and process several input data flows in parallel. At startup ACL library determines the highest available classify method for the given platform and sets it as default one. Though the user has an ability to override the default classifier function for a given ACL context or perform particular search using non-default classify method. In that case it is user responsibility to make sure that given platform supports selected classify implementation. -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-10-28 10:35:16.053341538 +0000 +++ 0139-doc-fix-missing-classify-methods-in-ACL-guide.patch 2020-10-28 10:35:11.712833086 +0000 @@ -1,14 +1,15 @@ -From 28377e37ecdbdcd99218e33c53d3a06cc87726c9 Mon Sep 17 00:00:00 2001 +From 13f33483a30d194edf94ae708d120f8d1c9f9fdc Mon Sep 17 00:00:00 2001 From: Konstantin Ananyev Date: Tue, 6 Oct 2020 16:03:04 +0100 Subject: [PATCH] doc: fix missing classify methods in ACL guide +[ upstream commit 28377e37ecdbdcd99218e33c53d3a06cc87726c9 ] + Add brief description for missing ACL classify algorithms: RTE_ACL_CLASSIFY_NEON and RTE_ACL_CLASSIFY_ALTIVEC. Fixes: 34fa6c27c156 ("acl: add NEON optimization for ARMv8") Fixes: 1d73135f9f1c ("acl: add AltiVec for ppc64") -Cc: stable@dpdk.org Signed-off-by: Konstantin Ananyev Reviewed-by: David Marchand @@ -17,7 +18,7 @@ 1 file changed, 6 insertions(+) diff --git a/doc/guides/prog_guide/packet_classif_access_ctrl.rst b/doc/guides/prog_guide/packet_classif_access_ctrl.rst -index 0345512b9e..daf03e6d7a 100644 +index 2945eacf55..f99302a5e8 100644 --- a/doc/guides/prog_guide/packet_classif_access_ctrl.rst +++ b/doc/guides/prog_guide/packet_classif_access_ctrl.rst @@ -373,6 +373,12 @@ There are several implementations of classify algorithm: