From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by dpdk.org (Postfix) with ESMTP id EC14C5A34 for ; Fri, 22 Jan 2016 09:54:45 +0100 (CET) Received: by mail-oi0-f44.google.com with SMTP id o124so43197672oia.3 for ; Fri, 22 Jan 2016 00:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=KyHYyQEp6qPfRTxHcJZIYqmW9z3sj8NNrKfLtG2+vUk=; b=kS9kLjbAvTQMff/eX11qwKaJUKBrXFL4yLKaRmOih8bY8YrIJcE/VGoWv6+wlK47dx RHgDwovHgXBEVJU3wlWGOYjcWqPWsoqJC3r3xrPWOaBBydF4CjgTd8txHAGsFj00JnUm Nwr9UKx5ap6fDNKJmPo6rX4I150O1np8vHGk0b3d7ThDjWCjCb7KV6+HHH86a2ZqhYGT qDIFb7BVaMr2+sYUHF3tIXU5pdnhnRUgZfYdtzLdmiOck399Jv/5CpPh5HK4UIHMdbIC 36qRULCYnyRWZZ2BZmLXhoEKpqHfAnNs6GuZFREARHOmSKk9zlXfxuaCRhUCWKxJqwt5 8MNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=KyHYyQEp6qPfRTxHcJZIYqmW9z3sj8NNrKfLtG2+vUk=; b=NjPJ5zmAM1EqBT/85WZifT8/t2zql983FZeG5c5zsocbNdLIgKkNlJoDKjPCmQPZ3e mHY6Z7DWR4pgpDc9/01Rpw8/txmyHu8T3XCUEp2Grnumr+cNsh7YSniuV+9K+1EAAXcY wW5KySX9oyKKaBe6XntgqQhJE8D+71t862tAzYfuIC90CX/pMU+V6qSviq3fMkjtrP9H 2idLGUsdHheUK4Ws8864FzeBlHg6J6Csuz1LGQL7CFiMol1bxK4uo7s7xpEYVQ0OhrGo YKxQebhvAUrkcHBGf5y0Zku9qJpfstieFxU5AblViuqyCbFBWoRSw116JdqDrkQDBHPg Iv9w== X-Gm-Message-State: AG10YOQxOhisGpll+W46YHOxBXHF1DcV6oWHOq6pd7yPUc9Y4rfwxcLsz2/k/z1fGw0paSbS2f3TdFcDVrVVi6b1 X-Received: by 10.202.85.146 with SMTP id j140mr1395747oib.4.1453452885404; Fri, 22 Jan 2016 00:54:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.180.72 with HTTP; Fri, 22 Jan 2016 00:54:25 -0800 (PST) In-Reply-To: <9BB6961774997848B5B42BEC655768F8D8B6D5@SHSMSX104.ccr.corp.intel.com> References: <9BB6961774997848B5B42BEC655768F8D8B6D5@SHSMSX104.ccr.corp.intel.com> From: David Marchand Date: Fri, 22 Jan 2016 09:54:25 +0100 Message-ID: To: "Wu, Jingjing" Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] ixgbevf does not recover from pf reset X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 08:54:46 -0000 Hello, On Fri, Jan 22, 2016 at 3:05 AM, Wu, Jingjing wrote: > Hi, David > > We also noticed this issue before. And we are planning to fix this issue. > And the patch for i40e is ready: > http://dpdk.org/dev/patchwork/patch/9832/ > http://dpdk.org/dev/patchwork/patch/9833/ > > The solution is that: PF reset interrupt will be captured by DPDK VF, then DPDK > Call the application's callback function to reset the VF device. For i40e device, > application need to detach and re-attach the device. > > For ixgbe, I think the solution would be similar. Ok, so to handle a problem in hardware, the application must implement a new mechanism to recover the port ? I don't find this solution really elegant ... This should be handled by the pmd itself. Regards, -- David Marchand