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 1FD2A429A9; Fri, 21 Apr 2023 08:42:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E6419410DD; Fri, 21 Apr 2023 08:42:50 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 60C2540E6E for ; Fri, 21 Apr 2023 08:42:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682059369; x=1713595369; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Xw+VPvwxb3ep9HrRrzHbe4aMSodhN++qtTASO7wboKc=; b=ERLatHO3faLTlSPEm/Rxx4JgY0JqR/HsNCxBGgCaEmKY08wasV2JPAzT Qd+o9NRWeQlLsYtzLBxI/rAhRpojyT75VDdML04olDhh2d0IVAaYuyNA4 2ifqQvTMHSAd5mzzBOgjsT1NgyfrrP58Y7qtQe4O5EAaskP4dQrUMdroS IDICh7v3gWIwmBXixQHjn19qgCIezSRAaycieKgcnNnLBBbWimmNQWmFk u2b0/thlBNMXzwUV9Z5XGmxP1Q6X4iRpNGkvcWVGVXyAKbFEHyhK5uNsX DaMoL/RJ1fgTVjHcVxu0KbggE3KL0P7yBG3pGku5RVS9UB9trCRKlhsKZ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="347829976" X-IronPort-AV: E=Sophos;i="5.99,214,1677571200"; d="scan'208";a="347829976" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 23:42:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="1021823628" X-IronPort-AV: E=Sophos;i="5.99,214,1677571200"; d="scan'208";a="1021823628" Received: from dpdk-mingxial-ice.sh.intel.com ([10.67.111.14]) by fmsmga005.fm.intel.com with ESMTP; 20 Apr 2023 23:42:44 -0700 From: Mingxia Liu To: dev@dpdk.org, beilei.xing@intel.com, yuying.zhang@intel.com Cc: Mingxia Liu Subject: [PATCH] net/cpfl: update the doc of CPFL PMD Date: Fri, 21 Apr 2023 14:59:13 +0000 Message-Id: <20230421145913.79845-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch updates cpfl.rst doc, adjusting the order of chapters referring to IDPF PMD doc. Signed-off-by: Mingxia Liu --- doc/guides/nics/cpfl.rst | 44 +++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/doc/guides/nics/cpfl.rst b/doc/guides/nics/cpfl.rst index 91dbec306d..d25db088eb 100644 --- a/doc/guides/nics/cpfl.rst +++ b/doc/guides/nics/cpfl.rst @@ -20,27 +20,6 @@ Follow the DPDK :doc:`../linux_gsg/index` to setup the basic DPDK environment. To get better performance on Intel platforms, please follow the :doc:`../linux_gsg/nic_perf_intel_platform`. -Features --------- - -Vector PMD -~~~~~~~~~~ - -Vector path for Rx and Tx path are selected automatically. -The paths are chosen based on 2 conditions: - -- ``CPU`` - - On the x86 platform, the driver checks if the CPU supports AVX512. - 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 cpfl.ini, - A value "P" means the offload feature is not supported by vector path. - If any not supported features are used, cpfl vector PMD is disabled - and the scalar paths are chosen. Configuration ------------- @@ -104,3 +83,26 @@ Driver compilation and testing ------------------------------ Refer to the document :doc:`build_and_test` for details. + + +Features +-------- + +Vector PMD +~~~~~~~~~~ + +Vector path for Rx and Tx path are selected automatically. +The paths are chosen based on 2 conditions: + +- ``CPU`` + + On the x86 platform, the driver checks if the CPU supports AVX512. + 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 cpfl.ini, + A value "P" means the offload feature is not supported by vector path. + If any not supported features are used, cpfl vector PMD is disabled + and the scalar paths are chosen. -- 2.34.1