From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id F30DD7E6A for ; Wed, 25 Feb 2015 16:29:40 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 25 Feb 2015 07:21:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,645,1418112000"; d="scan'208,217";a="671473293" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by fmsmga001.fm.intel.com with ESMTP; 25 Feb 2015 07:29:37 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 25 Feb 2015 23:29:36 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.161]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.192]) with mapi id 14.03.0195.001; Wed, 25 Feb 2015 23:29:35 +0800 From: "Zhou, Danny" To: David Marchand Thread-Topic: [dpdk-dev] [PATCH v5 5/6] eal: add per rx queue interrupt handling based on VFIO Thread-Index: AQHQUB6uNXRwp0NwLUuQD42WFPZWEZ0AcbmwgAAxx4CAAM+0kA== Date: Wed, 25 Feb 2015 15:29:34 +0000 Message-ID: References: <1424710542-14637-1-git-send-email-danny.zhou@intel.com> <1424710542-14637-6-git-send-email-danny.zhou@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v5 5/6] eal: add per rx queue interrupt handling based on VFIO 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: Wed, 25 Feb 2015 15:29:42 -0000 DQoNCkZyb206IERhdmlkIE1hcmNoYW5kIFttYWlsdG86ZGF2aWQubWFyY2hhbmRANndpbmQuY29t XQ0KU2VudDogV2VkbmVzZGF5LCBGZWJydWFyeSAyNSwgMjAxNSA2OjIyIFBNDQpUbzogWmhvdSwg RGFubnkNCkNjOiBkZXZAZHBkay5vcmc7IExpYW5nLCBDdW5taW5nDQpTdWJqZWN0OiBSZTogW2Rw ZGstZGV2XSBbUEFUQ0ggdjUgNS82XSBlYWw6IGFkZCBwZXIgcnggcXVldWUgaW50ZXJydXB0IGhh bmRsaW5nIGJhc2VkIG9uIFZGSU8NCg0KSGVsbG8gRGFubnksDQoNCk9uIFdlZCwgRmViIDI1LCAy MDE1IGF0IDc6NTggQU0sIFpob3UsIERhbm55IDxkYW5ueS56aG91QGludGVsLmNvbTxtYWlsdG86 ZGFubnkuemhvdUBpbnRlbC5jb20+PiB3cm90ZToNCg0KK2ludA0KK3J0ZV9pbnRyX3dhaXRfcnhf cGt0KHN0cnVjdCBydGVfaW50cl9oYW5kbGUgKmludHJfaGFuZGxlLCB1aW50OF90IHF1ZXVlX2lk KQ0KK3sNCisgICAgICAgc3RydWN0IGVwb2xsX2V2ZW50IGV2Ow0KKyAgICAgICB1bnNpZ25lZCBu dW1mZHMgPSAwOw0KKw0KKyAgICAgICBpZiAoIWludHJfaGFuZGxlIHx8IGludHJfaGFuZGxlLT5m ZCA8IDAgfHwgaW50cl9oYW5kbGUtPnVpb19jZmdfZmQgPCAwKQ0KKyAgICAgICAgICAgICAgIHJl dHVybiAtMTsNCisgICAgICAgaWYgKHF1ZXVlX2lkID49IFZGSU9fTUFYX1FVRVVFX0lEKQ0KKyAg ICAgICAgICAgICAgIHJldHVybiAtMTsNCisNCisgICAgICAgLyogY3JlYXRlIGVwb2xsIGZkICov DQorICAgICAgIGludCBwZmQgPSBlc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