From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shijith Thotton Subject: Re: [PATCH] igb_uio: revert open and release operations Date: Wed, 18 Oct 2017 11:57:44 +0530 Message-ID: <20171018062743.GA26930@localhost.localdomain> References: <20171017201436.65270-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Thomas Monjalon , dev@dpdk.org, Jianfeng Tan , Jingjing Wu , Gregory Etelson , Harish Patil , George Prekas , stable@dpdk.org To: Ferruh Yigit Return-path: Content-Disposition: inline In-Reply-To: <20171017201436.65270-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Oct 17, 2017 at 09:14:36PM +0100, Ferruh Yigit wrote: > This reverts commit 6b9ed026a8704b9e5ee5da7997617ef7cc82e114. > This reverts commit 5f6ff30dc5075c49069d684bab229aef7ff0fdc3. > This reverts commit b58eedfc7dd57eef6d12e2c654a52c834f36084a. > > There were bug reports about terminated application may leave device in > undesired state: > http://dpdk.org/ml/archives/dev/2016-November/049745.html > http://dpdk.org/ml/archives/dev/2016-November/050932.html > > And a proposal to fix: > http://dpdk.org/ml/archives/dev/2016-December/051844.html > > Later another proposal triggered the discussion: > http://dpdk.org/ml/archives/dev/2017-May/066317.html > > Finally a fix patch pushed into v17.08: > Commit: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of device file") > > Later a regression report sent related to the pushed patch: > http://dpdk.org/ml/archives/dev/2017-September/075236.html > > And a fix for regression integrated into v17.11-rc1: > http://dpdk.org/ml/archives/dev/2017-October/079166.html > Commit: 5f6ff30dc507 ("igb_uio: fix interrupt enablement after FLR in VM") > Commit: 6b9ed026a870 ("igb_uio: fix build with kernel <= 3.17") > > Even after the fix qede PMD reported to be broken: > http://dpdk.org/ml/archives/dev/2017-October/079359.html > > So this patch reverts original fix and related commits. The related > igb_uio code part turns back to v17.05 base. > > Cc: Jianfeng Tan > Cc: Jingjing Wu > Cc: Shijith Thotton > Cc: Gregory Etelson > Cc: Harish Patil > Cc: George Prekas > > Fixes: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of device file") > Cc: stable@dpdk.org > > Signed-off-by: Ferruh Yigit > --- > It would be nice to solve this issue in LTS release, but being close to > the release and the error report without details makes it hard to work > more on this issue. > > Thanks everyone who spent effort for this, hopefully we can continue to > work on next release cycle. > > Jingjing, there is a i40e commit, was part of igb_uio fix patchset, is > it generic, or needs to be reverted with this patch? > Commit: 8cacf78469a7 ("net/i40e: fix VF initialization error") Hi Ferruh, Please consider this patch as part of revert. Commit: 9ed3f38770c6 ("net/liquidio: remove FLR request to PF driver") Here I have removed extra FLR requests inside driver during init and close. They are required now, as we remove resets in igb_uio. Thanks, Shijith [...]