From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1A5125584 for ; Thu, 25 Aug 2016 11:21:54 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 25 Aug 2016 02:21:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,575,1464678000"; d="scan'208";a="1031046591" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 25 Aug 2016 02:21:53 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 25 Aug 2016 02:21:51 -0700 Received: from bgsmsx152.gar.corp.intel.com (10.224.48.50) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 25 Aug 2016 02:21:51 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.114]) by BGSMSX152.gar.corp.intel.com ([169.254.6.209]) with mapi id 14.03.0248.002; Thu, 25 Aug 2016 14:51:49 +0530 From: "Yang, Zhiyong" To: Panu Matilainen , Thomas Monjalon , Yuanhan Liu CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] vhost: add pmd xstats Thread-Index: AQHR+hO/0GKKSwzbJkucXFCFALbCgKBUQ+sAgAHsE0D//8XvAIABT1AAgAAx4ICAAED+AIABq7ZA Date: Thu, 25 Aug 2016 09:21:48 +0000 Message-ID: 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-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWE2NjFiNDEtMzY3MS00YTg3LTk2YzctZWM3MWRkNjM2ZWIyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkE4ejRPRU11VzRScVwvc3NmVVwvbHpPekxFRXdHN3laSGcyMkVxZ1cxVU5TST0ifQ== x-ctpclassification: CTP_IC 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] 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: Thu, 25 Aug 2016 09:21:55 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUGFudSBNYXRpbGFpbmVu IFttYWlsdG86cG1hdGlsYWlAcmVkaGF0LmNvbV0NCj4gU2VudDogV2VkbmVzZGF5LCBBdWd1c3Qg MjQsIDIwMTYgODozNyBQTQ0KPiBUbzogVGhvbWFzIE1vbmphbG9uIDx0aG9tYXMubW9uamFsb25A NndpbmQuY29tPjsgWXVhbmhhbiBMaXUNCj4gPHl1YW5oYW4ubGl1QGxpbnV4LmludGVsLmNvbT4N Cj4gQ2M6IGRldkBkcGRrLm9yZzsgWWFuZywgWmhpeW9uZyA8emhpeW9uZy55YW5nQGludGVsLmNv bT4NCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0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