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 D3A09A04C7; Tue, 15 Sep 2020 19:05:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 69C0B1C192; Tue, 15 Sep 2020 19:05:33 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 5AC1A1C132 for ; Tue, 15 Sep 2020 19:05:32 +0200 (CEST) IronPort-SDR: nK3hQ1TTtfDShrVkq+SURbazD30IiuJN/l9Vn8Sb3AiqYwysZIcGnjKdxKLCFUZ0cA6NhGxe/t kGgnbyhFo36A== X-IronPort-AV: E=McAfee;i="6000,8403,9745"; a="160240587" X-IronPort-AV: E=Sophos;i="5.76,430,1592895600"; d="scan'208";a="160240587" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 10:05:28 -0700 IronPort-SDR: 8hTMap3YoWwnIG9sQ3o5EpaWaDXfA1eAv6OKh+JK9vmr4SL/9PPiXDgu+6Dqs7cElp34O/LpFk gTFbghb4dlGQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,430,1592895600"; d="scan'208";a="302229187" Received: from sivswdev08.ir.intel.com ([10.237.217.47]) by orsmga003.jf.intel.com with ESMTP; 15 Sep 2020 10:05:27 -0700 From: Konstantin Ananyev To: dev@dpdk.org Cc: Konstantin Ananyev Date: Tue, 15 Sep 2020 18:04:56 +0100 Message-Id: <20200915170456.7204-4-konstantin.ananyev@intel.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200915170456.7204-1-konstantin.ananyev@intel.com> References: <20200907163926.4878-1-konstantin.ananyev@intel.com> <20200915170456.7204-1-konstantin.ananyev@intel.com> Subject: [dpdk-dev] [PATCH v2 3/3] examples/l3fwd-acl: add support for AVX512 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add ability to select AVX512 classify algorithm. Signed-off-by: Konstantin Ananyev --- doc/guides/sample_app_ug/l3_forward_access_ctrl.rst | 2 +- examples/l3fwd-acl/main.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst index 80dd8ba00..6e4d17a2a 100644 --- a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst +++ b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst @@ -253,7 +253,7 @@ where, * --rule_ipv6 FILENAME: Specifies the IPv6 ACL and route rules file * --alg=: optional, ACL classify method to use, one of: - ``scalar|sse|avx2|neon|altivec`` + ``scalar|sse|avx2|neon|altivec|avx512`` * --enable-jumbo: optional, enables jumbo frames diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c index e0f7701cd..1a27d9d75 100644 --- a/examples/l3fwd-acl/main.c +++ b/examples/l3fwd-acl/main.c @@ -170,6 +170,10 @@ static const struct { .name = "altivec", .alg = RTE_ACL_CLASSIFY_ALTIVEC, }, + { + .name = "avx512", + .alg = RTE_ACL_CLASSIFY_AVX512, + }, }; /***********************start of ACL part******************************/ -- 2.17.1