From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03hn0216.outbound.protection.outlook.com [104.47.42.216]) by dpdk.org (Postfix) with ESMTP id 0D98E1041; Fri, 15 Sep 2017 11:31:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Zz2L9QC+vtjmVoCIJ0SxMqB3AYvDPpi2/lldC7D6Cy0=; b=B2MtJnZHgOCh/PLUe8OxcFwgwfi+7lpDlhfgwwVsOZqrNP9oe9TqWgZJIAmgZlqX8Q+YbH7RIdaiIZj4fv8hwBu5PPCHoZcsYm99KRdt6ZcmpdlhoSVFU+4aLE43jnEFuqEg7aUyqI89Om7tTM3VZ/nveFfoJbDZlvUUko76+tQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shijith.Thotton@cavium.com; Received: from localhost.localdomain (14.140.2.178) by DM5PR07MB3066.namprd07.prod.outlook.com (10.172.88.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Fri, 15 Sep 2017 09:31:36 +0000 Date: Fri, 15 Sep 2017 15:01:19 +0530 From: Shijith Thotton To: "Yang, Qiming" Cc: Thomas Monjalon , "dev@dpdk.org" , "Tan, Jianfeng" , "Thotton, Shijith" , "Hu, Xuekun" , "Yigit, Ferruh" , "Patil, Harish" , Gregory Etelson , "stable@dpdk.org" Message-ID: <20170915093118.GA6367@localhost.localdomain> References: <1836615.UbEDzhAzGh@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: PN1PR01CA0101.INDPRD01.PROD.OUTLOOK.COM (10.174.144.17) To DM5PR07MB3066.namprd07.prod.outlook.com (10.172.88.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e6d965c5-dd3e-41c4-ea65-08d4fc1c93ed X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR07MB3066; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3066; 3:4iDbrBxiTXaznuxJgS8NIIIOK7kYv3Q4qVtW7v4RzasVxfFrZTdVnKKHO1lg8Jh5csSxkB6LfvY3pWz45KdM05YP2JRCgdw1/3YYlmqQsrh3NYZCiMqWyAk/kS2tKlFYyHzfWtujjooiWdRGw5nH+X1iqmIlGHXEF7LUm+NVH5YUa4NYuNSCgRX/Nt8ZKGZHzLNsL6qwUNs+GyQ6oR4wHTebljFA3rmn575AnlHfmeeELk+PRfOOnVhaTyyFKdXp; 25:RA1SJTGoO6bv0Vx5KLsSnS51nJtxV8/QBCWwH/l8lmpGHCnd3H2isy8fBAAi0eqdDbTKqV+Gd2jhY8icOKnoNah8a0peCxLf2lmSSAzO5UVn7+M0ZJdkzXGgZ3nCsqRqeDgrYfdyxyp02qkBceun4rsSZimHtOOSTcc+pTf8f+688BinP967qz2aourMmWeXDmz6KgEMGu7rZhwY1FJdStin+MKMxzuOv4l5h3bOlnwkvv11WQ3IWiC1rAkuMfQwkg92ay+JG7N7Q6h0B5zMJd3/SauTRxgP3gGZS1l5F97VHegwzQuaoB8rZgITc6Pk9u9x3pGBV4+FfAvdLsQAXQ==; 31:gCT236On2lg40MoRDKn0ReB3lbq19fVe7RnbYOe2kcbvE9L5gqrUqpf5n1siNoyE4JPFSxd4OsKno0SuwuySz9y9ievGWrk16SAohX5ZK2zq31eazGHkC8Mk2u3Ghdv1g8Sh5/90g3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Zpg= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(3002001)(10201501046)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123555025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR07MB3066; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR07MB3066; X-Forefront-PRVS: 0431F981D8 X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(6069001)(6009001)(346002)(376002)(199003)(24454002)(13464003)(189002)(377454003)(2950100002)(189998001)(23726003)(50986999)(76176999)(54356999)(6116002)(3846002)(53376002)(1076002)(53936002)(50466002)(6246003)(4326008)(55016002)(97736004)(101416001)(5009440100003)(110136004)(72206003)(33656002)(54906002)(5660300001)(6306002)(9686003)(68736007)(81156014)(7736002)(81166006)(2906002)(8676002)(229853002)(105586002)(16586007)(83506001)(93886005)(966005)(316002)(305945005)(6506006)(25786009)(16526017)(61506002)(53546010)(66066001)(8936002)(47776003)(478600001)(58126008)(42882006)(6666003)(106356001)(6916009)(533714002)(110426004); DIR:OUT; SFP:1501; SCL:5; SRVR:DM5PR07MB3066; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3066; 23:oWpzQwXIiwS5l9viR8aBVuqokGHx39ASaSWn/Oi/Y?= =?us-ascii?Q?rzYZUydsazc2LUeqQrnk4pZdWCLMmAEA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9qtrw==; 5:bWiTXmqUWEE+w8aChM/CFgTEm/HbhZw4rfVi+4n7MGFkOxU1aVcgCthm2bNtAsExbShJmk7DwJwT4qk9dHQ2wvA+Gc9tf3Sf3WNMT+bxSXheVkwp0cA1QRajgmhQq/OF3+voZN9dcGZf68lvoC6ZDQ==; 24:/SoMON9oJ5dPlJN/u7GLLhtqx2EbhBmwNSp6cqWAWDWEM0foFITz4S9BeUlNvTJiGOOobC0y15P1EuhjtsmILA==; 7:rULtt57YrTJuDXvo4MOEt2GkN4/zl4ettGd1EMPPjz1Lv1/fT2V+doZTOejokB30JWU5KqUyLv3mhq/kEJU1FNkvGpRmLfSNWIyD1pQVpDYDJWBooeQ+vJ/fskwiLTjb3M3v3gy+qwx9d7kLnHNdjY9/92XmNrIDoeuxtZFHYD4Cp7ahevS121gWR8G7PNz1+eEMFZc22aprnsoZF3qhV+RUpsilqEI3qmWfcU2QdKI= SpamDiagnosticOutput: 1:22 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2017 09:31:36.0177 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3066 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 09:31:46 -0000 On Fri, Sep 15, 2017 at 09:18:00AM +0000, Yang, Qiming wrote: > > -----Original Message----- > > From: Thomas Monjalon [mailto:thomas@monjalon.net] > > Sent: Friday, September 15, 2017 4:43 PM > > To: Yang, Qiming > > Cc: dev@dpdk.org; Tan, Jianfeng ; Thotton, Shijith > > ; Hu, Xuekun ; Yigit, > > Ferruh ; Patil, Harish ; > > Gregory Etelson ; stable@dpdk.org > > Subject: Re: [dpdk-dev] vf init issue with patch igb_uio: issue FLR during open > > and release of device file > > > > Hi > > > > 15/09/2017 10:04, Yang, Qiming: > > > Hi, Thomas > > > We meet a urgent issue because of Shijith's patch. > > > When use DPDK version 17.08, DPDK VF driver and kernel PF driver, i40e, ixgbe > > and qede(Harish said) VF all meet initial failure. > > > > This patch has been integrated in DPDK 17.08-rc2 (2 months ago). > > Why a so obvious issue is discovered only now? > > > > > This issue only occurred when use 17.08 igb_uio, vfio-pci and 17.05 igb_uio all > > works well. > > > Considering this issue will block our vf driver develop and test work, could we > > revert this patch first and find another appropriate way? > > > > We need to be sure the revert is the right solution because it will be backported > > to the stable 17.08 release. > > > > Shijith suggests to "try removing pci_reset_function from igbuio_pci_open." > > Can we try this first? > > Are we sure the bug is not in new firmwares? > > I have tried to remove pci_reset_function, it works in my environment, but it doesn't work in someone's enviroment. > And removing this function won't it changes the original purpose of his patch? So I'm not sure it is a good solution. > This bug is not a firmware version related issue, we can reproduce stably with older firmware. > There is a reset during release which was suggested as a fix by Gregory for an issue he faced with i40e VF[1]. Removing it can cause problems for him. 1. http://dpdk.org/ml/archives/dev/2017-May/066317.html