From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.sandvine.com (Mail1.sandvine.com [64.7.137.134]) by dpdk.org (Postfix) with ESMTP id 7FCDF4D27 for ; Thu, 31 May 2018 12:07:38 +0200 (CEST) Received: from WTL-BLR-EXCHSV2.sandvine.com (192.168.194.60) by WTL-EXCHSV2-1.sandvine.com (192.168.194.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26; Thu, 31 May 2018 06:07:37 -0400 Received: from WTL-EXCHSV2-1.sandvine.com (192.168.194.58) by WTL-BLR-EXCHSV2.sandvine.com (192.168.194.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26; Thu, 31 May 2018 06:07:34 -0400 Received: from BLR-EXCHSV1-2.sandvine.com (10.30.4.75) by WTL-EXCHSV2-1.sandvine.com (192.168.194.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26 via Frontend Transport; Thu, 31 May 2018 06:07:33 -0400 Received: from BLR-EXCHSV1-2.sandvine.com (10.30.4.75) by BLR-EXCHSV1-2.sandvine.com (10.30.4.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26; Thu, 31 May 2018 15:37:28 +0530 Received: from BLR-EXCHSV1-2.sandvine.com ([fe80::88fb:52a8:3df5:2d87]) by BLR-EXCHSV1-2.sandvine.com ([fe80::88fb:52a8:3df5:2d87%23]) with mapi id 15.01.1034.026; Thu, 31 May 2018 15:37:28 +0530 From: Mridula V Gangadharan To: "dev@dpdk.org" Thread-Topic: i40evf: Problem with the statistics Thread-Index: AdP4Hc9uDkLvqGkeTF2+tmQeXWEpggAqVT8g Date: Thu, 31 May 2018 10:07:28 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.30.10.135] x-c2processedorg: b2f06e69-072f-40ee-90c5-80a34e700794 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] i40evf: Problem with the statistics 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: Thu, 31 May 2018 10:07:38 -0000 Hi, I am testing packet drops scenario by setting the MTU size. My setup have i40evf driver. I set the dpdk interface's MTU size to 1800. I am sending 100 packets of size 1918 each. I am expecting the drop counter to increment. rte_eth_stats_get() returns i.packets with number of packets I sent. There are no drop counters incrementing. Also my application is not recievi= ng any packets. Is there some issue with dpdk statistics? xstats output is as follows. It is not showing any drops but rx_good_bytes= counts are incrementing. #################################################### NIC extended statistics for port 1 #################################################### rx_good_packets: 656 tx_good_packets: 556 rx_good_bytes: 225160 tx_good_bytes: 33360 rx_errors: 0 tx_errors: 0 rx_mbuf_allocation_errors: 0 rx_q0packets: 0 rx_q0bytes: 0 rx_q0errors: 0 tx_q0packets: 0 tx_q0bytes: 0 rx_bytes: 225160 rx_unicast_packets: 656 rx_multicast_packets: 0 rx_broadcast_packets: 0 rx_dropped_packets: 0 rx_unknown_protocol_packets: 0 tx_bytes: 33360 tx_unicast_packets: 556 tx_multicast_packets: 0 tx_broadcast_packets: 0 tx_dropped_packets: 0 tx_error_packets: 0 Thanks and Regards, Mridula