From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 8D95D2956 for ; Tue, 30 Aug 2016 04:45:56 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP; 29 Aug 2016 19:45:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,254,1470726000"; d="scan'208";a="2519152" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 29 Aug 2016 19:45:54 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 29 Aug 2016 19:45:54 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.109]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.166]) with mapi id 14.03.0248.002; Tue, 30 Aug 2016 10:45:52 +0800 From: "Yao, Lei A" To: "Yang, Zhiyong" , Panu Matilainen , Thomas Monjalon , "Yuanhan Liu" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] vhost: add pmd xstats Thread-Index: AQHR/SM9ZJyOXzGyq0q1HygOzTwC96BXFTUAgAAx4ICAAED/AIABW78AgAfwquA= Date: Tue, 30 Aug 2016 02:45:52 +0000 Message-ID: <2DBBFF226F7CF64BAFCA79B681719D9537E5DC35@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> In-Reply-To: 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 02:45:57 -0000 SGksIFpoaXlvbmcNCg0KSSBoYXZlIHRlc3RlZCBtb3JlICB4c3RhdHMgcGVyZm9ybWFuY2UgZHJv cCBkYXRhIGF0IG15IHNpZGUuDQpWaG9zdCBYc3RhdHMgcGF0Y2ggIHdpdGggbWVyZ2VhYmxlIG9u IDogIH4zJQ0KVmhvc3QgWHN0YXRzIHBhdGNoIHdpdGggIG1lcmdlYWJsZSBvZmYgOiB+OSUNCg0K QmVjYXVzZSBaaGlob25nIGFsc28gc3VibWl0IHBhdGNoIHRvIGltcHJvdmUgdGhlIHBlcmZvcm1h bmNlIG9uIGZvciB0aGUgbWVyZ2VhYmxlIG9uOiBodHRwOi8vZHBkay5vcmcvZGV2L3BhdGNod29y ay9wYXRjaC8xNTI0NS8gICAgICB+MTUyNDkuIElmIGJvdGggcGF0Y2ggaW50ZWdyYXRlZCwgdGhl IHBlcmZvcm1hbmNlIGRyb3Agd2lsbCBiZSBtdWNoIGhpZ2hlciANClZoc290IFhzdGF0cyBwYXRj aCArIFZob3N0IG1lcmdlYWJsZSBvbiBwYXRjaCAgIHdpdGggbWVyZ2VhYmxlIG9uIDogdGhlIHBl cmZvcm1hbmNlIGRyb3AgaXMgYXJvdW5kICA2JQ0KDQoNCkJlc3QgUmVnYXJkcw0KTGVpDQoNCi0t LS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBkZXYgW21haWx0bzpkZXYtYm91bmNlc0Bk cGRrLm9yZ10gT24gQmVoYWxmIE9mIFlhbmcsIFpoaXlvbmcNClNlbnQ6IFRodXJzZGF5LCBBdWd1 c3QgMjUsIDIwMTYgNToyMiBQTQ0KVG86IFBhbnUgTWF0aWxhaW5lbiA8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