From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 2/2] i40evf: support to report pf reset event Date: Wed, 09 Mar 2016 10:59:56 +0100 Message-ID: <3177758.3DUFdx3GZH@xps13> References: <1456469514-9103-1-git-send-email-jingjing.wu@intel.com> <1457503249-14878-1-git-send-email-jingjing.wu@intel.com> <1457503249-14878-3-git-send-email-jingjing.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Jingjing Wu , bruce.richardson@intel.com Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id C956D2BAA for ; Wed, 9 Mar 2016 11:01:35 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id l68so170063108wml.0 for ; Wed, 09 Mar 2016 02:01:35 -0800 (PST) In-Reply-To: <1457503249-14878-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" 2016-03-09 14:00, Jingjing Wu: > When Linux PF and DPDK VF are used for i40e PMD, In case of PF reset, > interrupt will go via adminq event, VF need be informed the event, > a callback mechanism is introduced by VF. This will allow VF to > invoke callback when reset happens. > Users can register a callback for this interrupt event like: > rte_eth_dev_callback_register(portid, > RTE_ETH_EVENT_INTR_RESET, > reset_event_callback, > arg); [...] > --- a/doc/guides/rel_notes/release_16_04.rst > +++ b/doc/guides/rel_notes/release_16_04.rst > @@ -105,6 +105,8 @@ This section should contain new features added in this release. Sample format: > be down. > We added the support of auto-neg by SW to avoid this link down issue. > > +* **Added pf reset event reported in i40e vf PMD driver. Bruce, is this comment clear enough for an user? Beware of the wrong formating (missing **)