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 D07882BA0 for ; Tue, 30 Aug 2016 05:21:43 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 29 Aug 2016 20:21:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,254,1470726000"; d="scan'208";a="1043194128" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 29 Aug 2016 20:21:42 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) 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:21:42 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 29 Aug 2016 20:21:41 -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 11:21:39 +0800 From: "Yao, Lei A" To: "Xu, Qian Q" , "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/AIABW78AgAfwquD//4E3gIAAiobg Date: Tue, 30 Aug 2016 03:21:39 +0000 Message-ID: <2DBBFF226F7CF64BAFCA79B681719D9537E5F462@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> <82F45D86ADE5454A95A89742C8D1410E3911BB77@shsmsx102.ccr.corp.intel.com> In-Reply-To: <82F45D86ADE5454A95A89742C8D1410E3911BB77@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:21:45 -0000 SGksIFFpYW4NCg0KVGhlIHRlc3Qgc2V0dXAgYXQgbXkgc2lkZSBpcyBWaG9zdC9WaXJ0SU8gbG9v cGJhY2sgd2l0aCA2NEIgcGFja2V0cy4NCg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0K RnJvbTogWHUsIFFpYW4gUSANClNlbnQ6IFR1ZXNkYXksIEF1Z3VzdCAzMCwgMjAxNiAxMTowMyBB TQ0KVG86IFlhbywgTGVpIEEgPGxlaS5hLnlhb0BpbnRlbC5jb20+OyBZYW5nLCBaaGl5b25nIDx6 aGl5b25nLnlhbmdAaW50ZWwuY29tPjsgUGFudSBNYXRpbGFpbmVuIDxwbWF0aWxhaUByZWRoYXQu Y29tPjsgVGhvbWFzIE1vbmphbG9uIDx0aG9tYXMubW9uamFsb25ANndpbmQuY29tPjsgWXVhbmhh biBMaXUgPHl1YW5oYW4ubGl1QGxpbnV4LmludGVsLmNvbT4NCkNjOiBkZXZAZHBkay5vcmcNClN1 YmplY3Q6IFJFOiBbZHBkay1kZXZdIFtQQVRDSF0gdmhvc3Q6IGFkZCBwbWQgeHN0YXRzDQoNCkxl aQ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