From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=3cxoJ6hweOYDPUJyUZWHD6hwN6cfjbuN6DoWzgiHlR4=; b=eg2dwRqhlk4a5pPTI8PeJjMFZnQedq4afZyrLCmoLZCKPZqGHrQqqPG1e9ltvgg8pT J05FJbsxZIiIXWAXd8etrmmiFGfgS8QqpIqkftTTsyv+3+6M2+0RV8mvkF9F90Cw5sD4 tTJJvhI94k2ASKs/XwliJToVta1ptng87rUVzGpeufbHqrBkdlBl8VL93jQPJ4VEt0jD k5cFYZIh5gqNB0aVW06xBiEONN0qZCydQLHRRwFCAJjwyotp6llqIc00xVCqIep3ROZr ZTEto9N3p9WGP0mkGPEBgl/m8UKUKnZEYP3Nn5lc+mYLV9Q9K/UkBHSbI+XY8JjbWtGi 66hQ== 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=3cxoJ6hweOYDPUJyUZWHD6hwN6cfjbuN6DoWzgiHlR4=; b=HEIxN8AgNLUdC0nUl8Sr8GSNUL39lLZ7FdNG5qpaM+7KQRfPJapij6PjK8KC7PiG23 bvSy5py2m/a3iBR5Aq2ozq4Y/pFNbQKgyUGySKPKC/87hMRioGtGqpStwMiqGTBGYeye be6rov49I4LgLGDmiSWeaCEx1hAV25BB27UFmwEvg2243TAT4pobS1TN/xNtM01pKOQ1 SS/YqXZoZ4/Cf+LvvhzLeaQAib9kMIt+oQfbOtRckGI2YQ00IQHMRZUFEMIGLiXSZ/B+ aV180Fy79G2i0Z8IKeSStWpGxA1KEjQpxaB73codvNVCrSHV2PWKhDSmbUMuVthH8SMU Y2Sw== X-Gm-Message-State: AG10YOTrQyfcJPfefcTOSSFONmRhh/oR5L9nXSyrsvHP5BHORjimZSAtEE3f173yJicQblxKuOfMoWupWOLmHSt0 X-Received: by 10.60.82.229 with SMTP id l5mr17284885oey.6.1453883679806; Wed, 27 Jan 2016 00:34:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.180.72 with HTTP; Wed, 27 Jan 2016 00:34:20 -0800 (PST) In-Reply-To: <1453859378-23912-3-git-send-email-jingjing.wu@intel.com> 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> From: David Marchand Date: Wed, 27 Jan 2016 09:34:20 +0100 Message-ID: To: Jingjing Wu Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2 2/2] i40evf: support interrupt based pf reset request 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: Wed, 27 Jan 2016 08:34:40 -0000 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