From patchwork Wed Dec 16 00:21:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qi Zhang X-Patchwork-Id: 85218 X-Patchwork-Delegate: qi.z.zhang@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id ED7DFA09EF; Wed, 16 Dec 2020 01:18:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE2F1CAA9; Wed, 16 Dec 2020 01:18:10 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 36688CA9E; Wed, 16 Dec 2020 01:18:07 +0100 (CET) IronPort-SDR: psUC1NVch2OZGlFbDm9crhFvkNCzFU8Mi6gYgCZAshU1tfS22OUwDE1ywITlwjbw8uRDQQsSRv rSuoKoGMcThg== X-IronPort-AV: E=McAfee;i="6000,8403,9836"; a="154782170" X-IronPort-AV: E=Sophos;i="5.78,423,1599548400"; d="scan'208";a="154782170" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2020 16:18:06 -0800 IronPort-SDR: JgYnNL8W9riS0t1tcORXnMn1PHYfpEQBVEHHnoixzuaZpe4KGvfmW/YJpaRmNAeJKmcilV6HhC ZUbkkVwEy6kg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,423,1599548400"; d="scan'208";a="337875582" Received: from dpdk51.sh.intel.com ([10.67.111.142]) by fmsmga008.fm.intel.com with ESMTP; 15 Dec 2020 16:18:03 -0800 From: Qi Zhang To: leyi.rong@intel.com Cc: ferruh.yigit@intel.com, dev@dpdk.org, Qi Zhang , stable@dpdk.org Date: Wed, 16 Dec 2020 08:21:58 +0800 Message-Id: <20201216002158.309396-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2] doc: fix some statements for ice vector PMD 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" 1. Add descriptions for how to select avx512 datapath. 2. Add explanation for "P" in ice.ini. Fixes: 7f85d5ebcfe1 ("net/ice: add AVX512 vector path") Fixes: 271cc8c5028a ("doc: update ice features list") Cc: stable@dpdk.org Signed-off-by: Qi Zhang Acked-by: Leyi Rong --- v2: fix statement for force-max-simd-bitwidth which is an EAL argument but not devarg. doc/guides/nics/ice.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index a0887f129f..2a4439a63a 100644 --- a/doc/guides/nics/ice.rst +++ b/doc/guides/nics/ice.rst @@ -211,9 +211,12 @@ are chosen based on 2 conditions. - ``CPU`` On the X86 platform, the driver checks if the CPU supports AVX2. If it's supported, AVX2 paths will be chosen. If not, SSE is chosen. + If the CPU supports AVX512 and EAL argument ``force-max-simd-bitwidth`` + is set to 512, AVX512 paths will be chosen. - ``Offload features`` - The supported HW offload features are described in the document ice_vec.ini. + The supported HW offload features are described in the document ice.ini, + A value "P" means the offload feature is not supported by vector path. If any not supported features are used, ICE vector PMD is disabled and the normal paths are chosen.