From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: Re: [PATCH v2 2/2] i40evf: support interrupt based pf reset request Date: Wed, 27 Jan 2016 09:34:20 +0100 Message-ID: References: <1452688307-20213-1-git-send-email-jingjing.wu@intel.com> <1453859378-23912-1-git-send-email-jingjing.wu@intel.com> <1453859378-23912-3-git-send-email-jingjing.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" To: Jingjing Wu Return-path: Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) by dpdk.org (Postfix) with ESMTP id 638669434 for ; Wed, 27 Jan 2016 09:34:40 +0100 (CET) Received: by mail-ob0-f174.google.com with SMTP id zv1so1400441obb.2 for ; Wed, 27 Jan 2016 00:34:40 -0800 (PST) In-Reply-To: <1453859378-23912-3-git-send-email-jingjing.wu@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello Jingjing, On Wed, Jan 27, 2016 at 2:49 AM, Jingjing Wu wrote: > Interrupt based request of PF reset from PF is supported by > enabling the adminq event process in VF driver. > Users can register a callback for this interrupt event to get > informed, when a PF reset request detected like: > rte_eth_dev_callback_register(portid, > RTE_ETH_EVENT_INTR_RESET, > reset_event_callback, > arg); > > Signed-off-by: Jingjing Wu Just adding my previous comment in this thread. Having this infrastructure is one thing, but the initial problem was that the driver did not recover from this reset event. The linux i40e vf driver handles this kind of event itself. Could we have something similar ? Thanks. -- David Marchand