From patchwork Wed Apr 4 23:54:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "John Daley (johndale)" X-Patchwork-Id: 37217 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5CD531C921; Thu, 5 Apr 2018 01:57:16 +0200 (CEST) Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) by dpdk.org (Postfix) with ESMTP id A7D151C8DF for ; Thu, 5 Apr 2018 01:57:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3310; q=dns/txt; s=iport; t=1522886235; x=1524095835; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=XaOhc/pU3dZV5WHvUtf/alZtnHvO0S+62/8B7MaVNsM=; b=C7ly/IfYbpvWb1bjtgwrOtkQ4jf9HUWy2XNQeaIoCt0vkodVf/fN0KFf TJawYz2o6QD4+myQP0rA0C7zIQKbbOUpyNAXJlvHEEL/8JVkld0gDnsX4 xwud4lIZgkHzWtlaGthy1gK5O/Mxv5Wf/oitcoO39LKJQn8iwQtRaGRee w=; X-IronPort-AV: E=Sophos;i="5.48,409,1517875200"; d="scan'208";a="379763873" Received: from alln-core-5.cisco.com ([173.36.13.138]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Apr 2018 23:57:14 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id w34NvE5m002148; Wed, 4 Apr 2018 23:57:14 GMT Received: by cisco.com (Postfix, from userid 392789) id 5ECD320F2001; Wed, 4 Apr 2018 16:57:14 -0700 (PDT) From: John Daley To: ferruh.yigit@intel.com Cc: dev@dpdk.org, Hyong Youb Kim Date: Wed, 4 Apr 2018 16:54:55 -0700 Message-Id: <20180404235455.17241-6-johndale@cisco.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180404235455.17241-1-johndale@cisco.com> References: <20180404235455.17241-1-johndale@cisco.com> Subject: [dpdk-dev] [PATCH] doc: update the enic guide and features 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" From: Hyong Youb Kim Documentation updates including for 1400 series VIC adapters. Remove VLAN filter from the features file as the driver does not support that API. Hardware does support VLAN filtering, but it is not controlled through the driver. Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley --- doc/guides/nics/enic.rst | 28 +++++++++++++++------------- doc/guides/nics/features/enic.ini | 1 - 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/doc/guides/nics/enic.rst b/doc/guides/nics/enic.rst index df3718ecd..1e2d0b56a 100644 --- a/doc/guides/nics/enic.rst +++ b/doc/guides/nics/enic.rst @@ -236,7 +236,7 @@ Generic Flow API is supported. The baseline support is: - Actions: queue and void - Selectors: 'is' -- **1300 series VICS with advanced filters disabled** +- **1300 and later series VICS with advanced filters disabled** With advanced filters disabled, an IPv4 or IPv6 item must be specified in the pattern. @@ -247,7 +247,7 @@ Generic Flow API is supported. The baseline support is: - Selectors: 'is', 'spec' and 'mask'. 'last' is not supported - In total, up to 64 bytes of mask is allowed across all headers -- **1300 series VICS with advanced filters enabled** +- **1300 and later series VICS with advanced filters enabled** - Attributes: ingress - Items: eth, ipv4, ipv6, udp, tcp, vxlan, inner eth, ipv4, ipv6, udp, tcp @@ -360,10 +360,20 @@ Limitations - **Statistics** - ``rx_good_bytes`` (ibytes) always includes VLAN header (4B) and CRC bytes (4B). + This behavior applies to 1300 and older series VIC adapters. + 1400 series VICs do not count CRC bytes, and count VLAN header only when VLAN + stripping is disabled. - When the NIC drops a packet because the Rx queue has no free buffers, ``rx_good_bytes`` still increments by 4B if the packet is not VLAN tagged or VLAN stripping is disabled, or by 8B if the packet is VLAN tagged and stripping is enabled. + This behavior applies to 1300 and older series VIC adapters. 1400 series VICs + do not increment this byte counter when packets are dropped. + +- **RSS Hashing** + + - Hardware enables and disables UDP and TCP RSS hashing together. The driver + cannot control UDP and TCP hashing individually. How to build the suite ---------------------- @@ -382,17 +392,9 @@ Supported Cisco VIC adapters ENIC PMD supports all recent generations of Cisco VIC adapters including: -- VIC 1280 -- VIC 1240 -- VIC 1225 -- VIC 1285 -- VIC 1225T -- VIC 1227 -- VIC 1227T -- VIC 1380 -- VIC 1340 -- VIC 1385 -- VIC 1387 +- VIC 1200 series +- VIC 1300 series +- VIC 1400 series Supported Operating Systems --------------------------- diff --git a/doc/guides/nics/features/enic.ini b/doc/guides/nics/features/enic.ini index ea171a45b..99d37708c 100644 --- a/doc/guides/nics/features/enic.ini +++ b/doc/guides/nics/features/enic.ini @@ -19,7 +19,6 @@ RSS hash = Y RSS key update = Y RSS reta update = Y SR-IOV = Y -VLAN filter = Y CRC offload = Y VLAN offload = Y Flow director = Y