From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id F09131B159 for ; Sat, 29 Sep 2018 03:57:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Sep 2018 18:57:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,317,1534834800"; d="scan'208,217";a="94901201" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 28 Sep 2018 18:57:27 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 28 Sep 2018 18:57:27 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 28 Sep 2018 18:57:26 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.220]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.37]) with mapi id 14.03.0319.002; Sat, 29 Sep 2018 09:57:24 +0800 From: "Li, Xiaoyun" To: Stephen Hemminger CC: "Yigit, Ferruh" , Thomas Monjalon , "Zhang, Helin" , "damarion@cisco.com" , "Kinsella, Ray" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] ethdev: get rxq interrupt fd Thread-Index: AQHUVt8yZu6+NJ3DW0+yq1xmwhwO7aUFHtAAgAFijQA= Date: Sat, 29 Sep 2018 01:57:24 +0000 Message-ID: References: <20180928034331.25147-1-xiaoyun.li@intel.com> 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] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] ethdev: get rxq interrupt fd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2018 01:57:30 -0000 U3VyZS4gQW55d2F5IHRoZXJlIGlzIGFuIGVycm9yIGxvZyB0byBpbmRpY2F0ZSB0aGUgZXJyb3Iu DQpJIHdpbGwgc2VuZCB2MyBsYXRlci4gVGhhbmtzLg0KDQpGcm9tOiBTdGVwaGVuIEhlbW1pbmdl ciBbbWFpbHRvOnN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3JnXQ0KU2VudDogRnJpZGF5LCBTZXB0 ZW1iZXIgMjgsIDIwMTggMjA6NDcNClRvOiBMaSwgWGlhb3l1biA8eGlhb3l1bi5saUBpbnRlbC5j b20+DQpDYzogWWlnaXQsIEZlcnJ1aCA8ZmVycnVoLnlpZ2l0QGludGVsLmNvbT47IFRob21hcyBN b25qYWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47IFpoYW5nLCBIZWxpbiA8aGVsaW4uemhhbmdA aW50ZWwuY29tPjsgZGFtYXJpb25AY2lzY28uY29tOyBLaW5zZWxsYSwgUmF5IDxyYXkua2luc2Vs bGFAaW50ZWwuY29tPjsgZGV2QGRwZGsub3JnDQpTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFU Q0hdIGV0aGRldjogZ2V0IHJ4cSBpbnRlcnJ1cHQgZmQNCg0KSW4gZ2VuZXJhbCwgYW4gQVBJIGlz IGxlc3MgZXJyb3IgcHJvbmUgaWYgaXQgb25seSBkb2VzIHJldHVybiBieSB2YWx1ZS4gV2hhdCBh Ym91dCBqdXN0IHJldHVybmluZyBmZCBvciAtMT8NCg0KDQpPbiBG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QgKmRhdGEpDQogICAg ICAgIHJldHVybiAwOw0KIH0NCg0KK2ludA0KK3J0ZV9ldGhfZGV2X3J4X2ludHJfY3RsX3FfZ2V0 X2ZkKHVpbnQxNl90IHBvcnRfaWQsIHVpbnQxNl90IHF1ZXVlX2lkLA0KKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgaW50ICpmZCkNCit7DQorICAgICAgIHN0cnVjdCBydGVfaW50cl9o YW5kbGUgKmludHJfaGFuZGxlOw0KKyAgICAgICBzdHJ1Y3QgcnRlX2V0aF9kZXYgKmRldjsNCisg ICAgICAgdW5zaWduZWQgaW50IGVmZF9pZHg7DQorICAgICAgIHVpbnQzMl90IHZlYzsNCisNCisg ICAgICAgUlRFX0VUSF9WQUxJRF9QT1JUSURfT1JfRVJSX1JFVChwb3J0X2lkLCAtRU5PREVWKTsN CisNCisgICAgICAgZGV2ID0gJnJ0ZV9ldGhfZGV2aWNlc1twb3J0X2lkXTsNCisNCisgICAgICAg aWYgKHF1ZXVlX2lkID49IGRldi0+ZGF0YS0+bmJfcnhfcXVldWVzKSB7DQorICAgICAgICAgICAg ICAgUlRFX0VUSERFVl9MT0coRVJSLCAiSW52YWxpZCBSWCBxdWV1ZV9pZD0ldVxuIiwgcXVldWVf aWQpOw0KKyAgICAgICAgICAgICAgIHJldHVybiAtRUlOVkFMOw0KKyAgICAgICB9DQorDQorICAg ICAgIGlmICghZGV2LT5pbnRyX2hhbmRsZSkgew0KKyAgICAgICAgICAgICAgIFJURV9FVEhERVZf TE9HKEVSUiwgIlJYIEludHIgaGFuZGxlIHVuc2V0XG4iKTsNCisgICAgICAgICAgICAgICByZXR1 cm4gLUVOT1RTVVA7DQorICAgICAgIH0NCisNCisgICAgICAgaW50cl9oYW5kbGUgPSBkZXYtPmlu dHJfaGFuZGxlOw0KKyAgICAgICBpZiAoIWludHJfaGFuZGxlLT5pbnRyX3ZlYykgew0KKyAgICAg ICAgICAgICAgIFJURV9FVEhERVZfTE9HKEVSUiwgI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