From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id E6810FFA for ; Fri, 15 Sep 2017 10:06:06 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP; 15 Sep 2017 01:06:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,396,1500966000"; d="scan'208";a="1172474188" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 15 Sep 2017 01:06:02 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 15 Sep 2017 01:05:23 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 15 Sep 2017 01:05:22 -0700 Received: from shsmsx151.ccr.corp.intel.com ([169.254.3.98]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.117]) with mapi id 14.03.0319.002; Fri, 15 Sep 2017 16:04:17 +0800 From: "Yang, Qiming" To: "thomas@monjalon.net" CC: "dev@dpdk.org" , "Tan, Jianfeng" , "Thotton, Shijith" , "Hu, Xuekun" , "Yigit, Ferruh" , "Patil, Harish" , Gregory Etelson Thread-Topic: [dpdk-dev] vf init issue with patch igb_uio: issue FLR during open and release of device file Thread-Index: AdMsY+cDtYlICV1TTJyXdLDau5GdIP//rc+AgAAERID//0HEEIABI2YAgAAsTID//TxVwA== Date: Fri, 15 Sep 2017 08:04:16 +0000 Message-ID: References: <20170913104840.GA14229@localhost.localdomain> <95faf7af-367a-ff42-ed16-b8bf3fdea466@intel.com> <88A92D351643BA4CB23E303155170626630E6054@SHSMSX103.ccr.corp.intel.com> <50bb4358-cd0c-003f-1ae7-a953ef569807@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmI4OTJlZTAtZDk3Zi00MGFmLWE4OTAtM2ZhMWE1ZjFmMGMyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjBRSTlSaG1mblQ1K056aVpLNjE4S3VvdnMwZzZnRER5UFwvUnFnUUQyRmpZPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action 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] vf init issue with patch igb_uio: issue FLR during open and release of device file 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: Fri, 15 Sep 2017 08:06:07 -0000 SGksIFRob21hcw0KV2UgbWVldCBhIHVyZ2VudCBpc3N1ZSBiZWNhdXNlIG9mIFNoaWppdGgncyBw YXRjaC4gDQpXaGVuIHVzZSBEUERLIHZlcnNpb24gMTcuMDgsIERQREsgVkYgZHJpdmVyIGFuZCBr ZXJuZWwgUEYgZHJpdmVyLCBpNDBlLCBpeGdiZSBhbmQgcWVkZShIYXJpc2ggc2FpZCkgVkYgYWxs IG1lZXQgaW5pdGlhbCBmYWlsdXJlLg0KVGhpcyBpc3N1ZSBvbmx5IG9jY3Vyc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