From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 49332A0526; Tue, 21 Jul 2020 08:50:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8239B1C00D; Tue, 21 Jul 2020 08:50:55 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 671871BFE7; Tue, 21 Jul 2020 08:50:53 +0200 (CEST) IronPort-SDR: n5iREzgZkuNJpZ2Hh3ThnL3W8+bj+lP64AAsm0zmY5NMgyhi1Nr76ji96p3F1zpGcUlwMrqV/f TAhksJlUYPEw== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="149228912" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="149228912" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 23:50:52 -0700 IronPort-SDR: fhZcV9Z3qDtNsFlF+dsJglHy4zHRglpp236CCJ3Dy2IimJHNLy8GwUQW0aeBxcDGCD2fJ++m+y ugQWTYBh2XZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="487981734" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga005.fm.intel.com with ESMTP; 20 Jul 2020 23:50:52 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 23:50:52 -0700 Received: from cdsmsx101.ccr.corp.intel.com (172.17.3.36) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 23:50:51 -0700 Received: from cdsmsx102.ccr.corp.intel.com ([169.254.2.201]) by CDSMSX101.ccr.corp.intel.com ([169.254.1.153]) with mapi id 14.03.0439.000; Tue, 21 Jul 2020 14:50:43 +0800 From: "Jiang, MaoX" To: "Guo, Jia" , "Ye, Xiaolong" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/2] net/i40e: fix binding interrupt without msix vectors Thread-Index: AQHWPgd0z6Pba28y/0mfTVUyk1AmUqj9v+oAgBNkEACAALP0cA== Date: Tue, 21 Jul 2020 06:50:43 +0000 Message-ID: <79BEEF5375D8C04B84B9FF07CBE5ED871655EA9E@CDSMSX102.ccr.corp.intel.com> References: <20200609022538.27665-1-maox.jiang@intel.com> <20200708195034.4495-1-maox.jiang@intel.com> <13cbfa88-5d4d-7d6b-5b3a-9f77b411692b@intel.com> In-Reply-To: <13cbfa88-5d4d-7d6b-5b3a-9f77b411692b@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.6.105] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2] net/i40e: fix binding interrupt without msix vectors 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" VGhhbmtzIEppYS4gQ29tbWVudHMgYXMgYmVsb3cuDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdl LS0tLS0NCj4gRnJvbTogR3VvLCBKaWENCj4gU2VudDogVHVlc2RheSwgSnVseSAyMSwgMjAyMCAx MTo1OCBBTQ0KPiBUbzogSmlhbmcsIE1hb1ggPG1hb3guamlhbmdAaW50ZWwuY29tPjsgWWUsIFhp YW9sb25nDQo+IDx4aWFvbG9uZy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