From patchwork Fri Sep 16 17:06:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingjing Wu X-Patchwork-Id: 15909 X-Patchwork-Delegate: bruce.richardson@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 80DFC7E93; Fri, 16 Sep 2016 19:06:24 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id D77646CCC for ; Fri, 16 Sep 2016 19:06:22 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP; 16 Sep 2016 10:06:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,345,1470726000"; d="scan'208";a="10192461" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga004.jf.intel.com with ESMTP; 16 Sep 2016 10:06:21 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u8GH6J9Y010063; Sat, 17 Sep 2016 01:06:19 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u8GH6HE5031406; Sat, 17 Sep 2016 01:06:19 +0800 Received: (from wujingji@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u8GH6Gew031402; Sat, 17 Sep 2016 01:06:16 +0800 From: Jingjing Wu To: dev@dpdk.org Cc: jingjing.wu@intel.com, beilei.xing@intel.com, john.mcnamara@intel.com Date: Sat, 17 Sep 2016 01:06:15 +0800 Message-Id: <1474045575-31372-1-git-send-email-jingjing.wu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1473128228-837-1-git-send-email-jingjing.wu@intel.com> References: <1473128228-837-1-git-send-email-jingjing.wu@intel.com> Subject: [dpdk-dev] [PATCH v2] doc: add limitations for i40e PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch adds "Limitations or Known issues" section for i40e PMD, including two items: 1. MPLS packet classification on X710/XL710 2. 16 Byte Descriptor cannot be used on DPDK VF Signed-off-by: Jingjing Wu --- v2 changes: fix typo. doc/guides/nics/i40e.rst | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index 4d12b10..1891551 100644 --- a/doc/guides/nics/i40e.rst +++ b/doc/guides/nics/i40e.rst @@ -411,3 +411,36 @@ configuration passed on the EAL command line. The floating VEB functionality requires a NIC firmware version of 5.0 or greater. + + +Limitations or Known issues +--------------------------- + +MPLS packet classification on X710/XL710 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Before NIC firmware version of 5.0, MPLS packet cannot be recognized by NIC. +The L2 Payload flow type in flow director can be used to classify MPLS packet +by the command in testpmd like: + + testpmd> flow_director_filter 0 mode IP add flow l2_payload ether \ + 0x8847 flexbytes () fwd pf queue fd_id + +In the NIC firmware whose version is 5.0 or greater, very limited MPLS support +is added: Native MPLS skip is implemented, that is, packet type can be +recognized like MPLS header is skipped, while no new packet type and no more +meta data is extracted from MPLS header. With this change, L2 Payload flow +type in flow director cannot be used to classify MPLS packet as previous. +Meanwhile, Ethertype filter can be used to classify MPLS packet by the command +in testpmd like: + + testpmd> ethertype_filter 0 add mac_ignr 00:00:00:00:00:00 ethertype \ + 0x8847 fwd queue + +16 Byte Descriptor cannot be used on DPDK VF +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If Linux i40e kernel driver is used as host driver, while DPDK i40e PMD is used +as VF driver, DPDK cannot choose 16 byte descriptor receive descriptor. That +is to say, user should keep "CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n" in config +file.