From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (unknown [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id CC63D1BA18; Thu, 26 Oct 2017 11:28:19 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Oct 2017 02:28:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,434,1503385200"; d="scan'208";a="913952492" Received: from tanjianf-mobl.ccr.corp.intel.com (HELO [10.67.64.53]) ([10.67.64.53]) by FMSMGA003.fm.intel.com with ESMTP; 26 Oct 2017 02:28:16 -0700 To: "Mody, Rasesh" , Ferruh Yigit , Jingjing Wu , "Thotton, Shijith" , Gregory Etelson , "Patil, Harish" References: <20171020165511.47899-1-ferruh.yigit@intel.com> <44560a31-d8dc-b2e1-1589-95020fb654f3@intel.com> Cc: Thomas Monjalon , "dev@dpdk.org" , "stable@dpdk.org" , George Prekas , Sergio Gonzalez Monroy From: "Tan, Jianfeng" Message-ID: <5108b90a-5617-ea1a-ad41-c2eb83b8c1a1@intel.com> Date: Thu, 26 Oct 2017 17:28:15 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] igb_uio: remove device reset in open X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 09:28:20 -0000 Hi Rasesh, On 10/26/2017 7:43 AM, Mody, Rasesh wrote: > Hi Ferruh, > >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ferruh Yigit >> Sent: Friday, October 20, 2017 9:58 AM >> >> On 10/20/2017 9:55 AM, Ferruh Yigit wrote: >>> Remove device reset during application start, the reset for >>> application exit still there. >>> >>> Reset in open removed because of following comments: >>> 1- Device reset not completed when VF driver loaded, which cause VF PMD >>> initialization error. >>> Adding delay can solve the issue but will increase driver load time. >>> >>> 2- Reset will be issues all devices unconditionally, not very efficient >>> way. >>> >>> Fixes: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of >>> device file") >>> Cc: stable@dpdk.org >>> >>> Signed-off-by: Ferruh Yigit >> Hi Jingjing, Shijith, Gregory, Harish, >> >> Can you please test this on top of current master (which has already Jingjin's >> fix) ? > The original FLR change during igb_uio open()/release() in DPDK17.08 also impacts BNX2X PMD and it exhibits the issues with bare metal testing. > > Now, we tested this change for BNX2X PMD using latest dpdk, which has this fix where FLR is invoked only in the release(). However, we ran into an issue when trying to reload the testpmd application in quick succession. The pci reset, called during the igb_uio release() operation, is taking longer time and adapter is still doing the FLR when we relaunch the application. We see this behavior with bare metal testing. If we don't reset that device, it will continue working which is a more serious issue IMO. How long does it take to reset BTW? Thanks, Jianfeng