From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) by dpdk.org (Postfix) with ESMTP id 9F62E4CA9 for ; Sat, 24 Feb 2018 20:17:52 +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=1519499872; x=1520709472; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=DWzJEEnwtlGhx3SD0hkI7WokAL7Vp6fDAMoJNtGu2BM=; b=kUQ+xbmTnjPwTPAMG4Hsdf4mI4WnEOzzuMH3f7jagoYybeN92VJve/HX 30kwpc6+83y1Kxkr7p58Tb38fvFXKMdJLwmVnU13QRadYvcAyJbW45/Vm tRdVAYXZZY0PuPlP2//NcYyLEEdB0JokeRaHU4OsN/rFdOdLMqrLdPmaw 0=; X-IronPort-AV: E=Sophos;i="5.47,389,1515456000"; d="scan'208";a="75378882" Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2018 19:17:51 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id w1OJHpZs018668; Sat, 24 Feb 2018 19:17:51 GMT Received: by cisco.com (Postfix, from userid 392789) id 19BA820F2008; Sat, 24 Feb 2018 11:17:51 -0800 (PST) From: John Daley To: ferruh.yigit@intel.com Cc: dev@dpdk.org, Hyong Youb Kim Date: Sat, 24 Feb 2018 11:17:46 -0800 Message-Id: <20180224191748.20908-8-johndale@cisco.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180224191748.20908-1-johndale@cisco.com> References: <20180224191748.20908-1-johndale@cisco.com> Subject: [dpdk-dev] [PATCH] 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: , X-List-Received-Date: Sat, 24 Feb 2018 19:17:53 -0000 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 ---------------------- -- 2.12.0