From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id A73EA2B97 for ; Tue, 30 Aug 2016 05:03:17 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP; 29 Aug 2016 20:03:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,254,1470726000"; d="scan'208";a="2522453" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 29 Aug 2016 20:03:16 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 29 Aug 2016 20:03:16 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 29 Aug 2016 20:03:15 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.109]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.91]) with mapi id 14.03.0248.002; Tue, 30 Aug 2016 11:03:13 +0800 From: "Xu, Qian Q" To: "Yao, Lei A" , "Yang, Zhiyong" , Panu Matilainen , "Thomas Monjalon" , Yuanhan Liu CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] vhost: add pmd xstats Thread-Index: AQHR/Eo3LAh8uWz3UkObxgyOyJwm/qBVqzOAgAAcZACAAU9QAIAAMeGAgABA/gCAAVu/AIAHbQgAgACKX7A= Date: Tue, 30 Aug 2016 03:03:13 +0000 Message-ID: <82F45D86ADE5454A95A89742C8D1410E3911BB77@shsmsx102.ccr.corp.intel.com> References: <1471608966-39077-1-git-send-email-zhiyong.yang@intel.com> <45bf611c-fbd5-d485-566a-5752cd58ed7c@redhat.com> <20160824054602.GS30752@yliu-dev.sh.intel.com> <3180838.i4arGqJgvX@xps13> <2DBBFF226F7CF64BAFCA79B681719D9537E5DC35@shsmsx102.ccr.corp.intel.com> In-Reply-To: <2DBBFF226F7CF64BAFCA79B681719D9537E5DC35@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] vhost: add pmd xstats 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: Tue, 30 Aug 2016 03:03:18 -0000 TGVpDQpDb3VsZCB5b3UgbGlzdCB0aGUgdGVzdCBzZXR1cCBmb3IgYmVsb3cgZmluZGluZ3M/IEkg dGhpbmsgd2UgbmVlZCBhdCBsZWFzdCB0byBjaGVjayBiZWxvdyB0ZXN0cyBmb3IgbWVyZ2VhYmxl PW9uL29mZiBwYXRoOiANCjEuIFZob3N0L3ZpcnRpbyBsb29wYmFjaw0KMi4gUFZQIHRlc3QgOiB2 aXJ0aW8tcG1kIElPIGZ3ZCBhbmQgdmlydGlvLW5ldCBJUFY0IGZ3ZA0KDQotLS0tLU9yaWdpbmFs IE1lc3NhZ2UtLS0tLQ0KRnJvbTogZGV2IFttYWlsdG86ZGV2LWJvdW5jZXNAZHBkay5vcmddIE9u IEJlaGFsZiBPZiBZYW8sIExlaSBBDQpTZW50OiBUdWVzZGF5LCBBdWd1c3QgMzAsIDIwMTYgMTA6 NDYgQU0NClRvOiBZYW5nLCBaaGl5b25nIDx6aGl5b25nLnlhbmdAaW50ZWwuY29tPjsgUGFudSBN YXRpbGFpbmVuIDxwbWF0aWxhaUByZWRoYXQuY29tPjsgVGhvbWFzIE1vbmphbG9uIDx0aG9tYXMu bW9uamFsb25ANndpbmQuY29tPjsgWXVhb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