From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 29FA81B626 for ; Fri, 13 Oct 2017 14:44:16 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP; 13 Oct 2017 05:44:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,371,1503385200"; d="scan'208";a="1181607713" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 13 Oct 2017 05:44:15 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 13 Oct 2017 05:44:15 -0700 Received: from bgsmsx103.gar.corp.intel.com (10.223.4.130) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 13 Oct 2017 05:44:15 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.200]) by BGSMSX103.gar.corp.intel.com ([169.254.4.66]) with mapi id 14.03.0319.002; Fri, 13 Oct 2017 18:14:12 +0530 From: "Yang, Zhiyong" To: Maxime Coquelin , "dev@dpdk.org" CC: "yliu@fridaylinux.org" , "Tan, Jianfeng" Thread-Topic: [PATCH] net/virtio: fix wrong TX pkt length stats Thread-Index: AQHTQkr3kk3k3KSaT0uRt84JK8ReAKLhNQGAgACF7gA= Date: Fri, 13 Oct 2017 12:44:12 +0000 Message-ID: References: <20171011043935.16813-1-zhiyong.yang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTdhN2EyMDMtYmZjZi00MWE4LThlZjUtMGU5ZWNlMDg5ZjE1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjZEWEpxZ093dmsyaDQ2OEg5TWNIbXFOOXlJWTNxUENqQmpRcW11NjBVdWs9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/virtio: fix wrong TX pkt length stats 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: Fri, 13 Oct 2017 12:44:17 -0000 SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiBbbWFpbHRvOm1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tXQ0KPiBTZW50OiBG cmlkYXksIE9jdG9iZXIgMTMsIDIwMTcgNjowNiBQTQ0KPiBUbzogWWFuZywgWmhpeW9uZyA8emhp eW9uZy55YW5nQGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0KPiBDYzogeWxpdUBmcmlkYXlsaW51 eC5vcmc7IFRhbiwgSmlhbmZlbmcgPGppYW5mZW5nLnRhbkBpbnRlbC5jb20+DQo+IFN1YmplY3Q6 IFJlOiBbUEFUQ0hdIG5ldC92aXJ0aW86IGZpeCB3cm9uZyBUWCBwa3QgbGVuZ3RoIHN0YXRzDQo+ IA0KPiBIaSBaaGl5b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