From patchwork Tue Mar 6 01:46:32 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: 35676 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 76B6D5F24; Tue, 6 Mar 2018 02:46:48 +0100 (CET) Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by dpdk.org (Postfix) with ESMTP id 062441B05 for ; Tue, 6 Mar 2018 02:46:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=988; q=dns/txt; s=iport; t=1520300802; x=1521510402; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=6Ao70coBrsbuTKPnNTVzPgSE5AxK0QJjHAN6sECyKIQ=; b=jVSb/JqGxhLK7bwwyN7LngWmrWCnwecuSkJBJ+/IqrhGwshojWg8cm0e duSTJlO1WOQI2F4FJZEW+h1VPhwz5xaz6gjHMau81rEV4tK3NL3NL9NVz pD6CVs2LB/xWPfraWP/2Nr3KkNi/yufnhvQ9XlaodqCPPcXG0UflDEWC+ Y=; X-IronPort-AV: E=Sophos;i="5.47,429,1515456000"; d="scan'208";a="362129984" Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2018 01:46:40 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id w261kejQ005114; Tue, 6 Mar 2018 01:46:40 GMT Received: by cisco.com (Postfix, from userid 392789) id 6BB9620F2009; Mon, 5 Mar 2018 17:46:40 -0800 (PST) From: John Daley To: ferruh.yigit@intel.com Cc: dev@dpdk.org, Hyong Youb Kim Date: Mon, 5 Mar 2018 17:46:32 -0800 Message-Id: <20180306014634.28398-9-johndale@cisco.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180306014634.28398-1-johndale@cisco.com> References: <20180224191748.20908-10-johndale@cisco.com> <20180306014634.28398-1-johndale@cisco.com> Subject: [dpdk-dev] [PATCH v2 08/10] doc: describe Rx bytes counter behavior for enic 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 Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley --- doc/guides/nics/enic.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/guides/nics/enic.rst b/doc/guides/nics/enic.rst index 7e19cf88a..0bc55936a 100644 --- a/doc/guides/nics/enic.rst +++ b/doc/guides/nics/enic.rst @@ -310,6 +310,14 @@ Limitations were added. Since there currently is no grouping or priority support, 'catch-all' filters should be added last. +- **Statistics** + + - ``rx_good_bytes`` (ibytes) always includes VLAN header (4B) and CRC bytes (4B). + - 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. + How to build the suite ----------------------