From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.arccn.ru (vpn.arccn.ru [95.182.74.2]) by dpdk.org (Postfix) with SMTP id 5BF052A1A for ; Fri, 18 Sep 2015 14:03:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.arccn.ru (Postfix) with ESMTP id 3A6E2A0093 for ; Fri, 18 Sep 2015 15:03:34 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=arccn.ru; h= x-mailer:to:references:message-id:content-transfer-encoding:date :date:in-reply-to:from:from:subject:subject:mime-version :content-type:content-type; s=dkim; t=1442577813; x=1443441813; bh=xNnxrOSfSK/7n5aFn7keYRSQL9FR7/jh4DX8/If+m90=; b=qiX86xtU54nq xFrt+hAsUCX4RgX5D/kOgMOWXPKVNwM8btpqJfQn22tUgeeC12anRD6DBXdjyFic TMiVkus2oWHP9Fw6CQ8IcywLysycQvm9VmBOo5BlKhCToFSa62wSrCFsntn4YHBL OrFzXn6Vg/EfBnepeMVacOEBRFCPpws= X-Virus-Scanned: Debian amavisd-new at mail.arccn.ru Received: from mail.arccn.ru ([127.0.0.1]) by localhost (mail.arccn.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qapPIkiCBtmS for ; Fri, 18 Sep 2015 15:03:33 +0300 (MSK) Received: from [172.20.99.25] (unknown [172.20.242.4]) by mail.arccn.ru (Postfix) with ESMTPSA id B0069A0091; Fri, 18 Sep 2015 15:03:33 +0300 (MSK) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: Igor Ryzhov In-Reply-To: Date: Fri, 18 Sep 2015 15:03:32 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <25739C45-11E1-48F3-9607-B4461D595D1F@arccn.ru> References: To: "Van Haaren, Harry" X-Mailer: Apple Mail (2.2104) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] IXGBE error statistics 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: , X-List-Received-Date: Fri, 18 Sep 2015 12:03:34 -0000 Hello, Harry. Thank you, I'll wait for result of mspdc testing. About rte_eth_stats - I found that not generic fields of the structure = are all deprecated already. I will research xstats API, thank you. Best regards, Igor > 18 =D1=81=D0=B5=D0=BD=D1=82. 2015 =D0=B3., =D0=B2 11:04, Van Haaren, = Harry =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0= =BB(=D0=B0): >=20 >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Igor Ryzhov >> Hello everyone. >=20 > Hi Igor, >=20 >> Investigating IXGBE driver I found an mspdc counter (MAC Short Packet >> Discard). And I am wondering why this counter is not used in the = calculation >> of total RX errors (ierrors field in rte_eth_stats structure). Is it = already a part >> of another counter, for example, rlec (Receive Length Error)? Or is = it a bug? >=20 > There has been a discussion on list recently involving ixgbe stats, = and certain > packets triggering multiple stats registers - the datasheet doesn't = mention > this could be the case for the mspdc register, I will research this = issue and > get back to you. >=20 >> Another one question is about incompleteness of rte_eth_stats = structure. >> IXGBE and other drivers have a lot of counters but only a part of = them is >> represented in rte_eth_stats. Is there any valuable reasons for that = or it's >> just not implemented? >=20 > The rte_eth_stats struct presents the most general statistics that = every NIC exposes. > In 2.1, and extended statistics API was added which allows NICs to = expose stats > that are unique to that NIC. Currently ixgbe is the only driver that = has the xstats API > implemented, I am working on patches to implement the functionality = for the other > Intel drivers. >=20 > As part of testing the xstats implementation for each driver, I can = test the exact > behavior of the mspdc counter, and if it is mis-counted this should = become clear. >=20 > Cheers, -Harry