From patchwork Thu Mar 8 02:47:00 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: 35773 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 2B0687CD8; Thu, 8 Mar 2018 03:51:08 +0100 (CET) Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) by dpdk.org (Postfix) with ESMTP id A086D7CD5 for ; Thu, 8 Mar 2018 03:51:06 +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=1520477466; x=1521687066; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=6Ao70coBrsbuTKPnNTVzPgSE5AxK0QJjHAN6sECyKIQ=; b=ESfUzCWtIyQVGmafpoQ1SIL0bpAn4FqpczwfzPMo2GtLRKac5AS7QoFN lALjne9xlar1vKysN8wn6AWWrCmrKCUdXS9AM8WNJJMp2h/OkisMInJ2J 1wMfGBoxjphpctU7CJTtk60pFCZsxyasT1KhK3SmVLGgRW+3Qx8HdyBy+ Y=; X-IronPort-AV: E=Sophos;i="5.47,438,1515456000"; d="scan'208";a="80855103" Received: from alln-core-6.cisco.com ([173.36.13.139]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2018 02:51:05 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by alln-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id w282p5Ro012405; Thu, 8 Mar 2018 02:51:05 GMT Received: by cisco.com (Postfix, from userid 392789) id 9D89820F2001; Wed, 7 Mar 2018 18:51:05 -0800 (PST) From: John Daley To: ferruh.yigit@intel.com Cc: dev@dpdk.org, Hyong Youb Kim Date: Wed, 7 Mar 2018 18:47:00 -0800 Message-Id: <20180308024702.25974-9-johndale@cisco.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180308024702.25974-1-johndale@cisco.com> References: <20180306014634.28398-2-johndale@cisco.com> <20180308024702.25974-1-johndale@cisco.com> Subject: [dpdk-dev] [PATCH v3 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 ----------------------