From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhang, Helin" Subject: Re: [PATCH v3 2/2] i40evf: support to report pf reset event Date: Fri, 26 Feb 2016 08:13:04 +0000 Message-ID: References: <1453859378-23912-1-git-send-email-jingjing.wu@intel.com> <1456469514-9103-1-git-send-email-jingjing.wu@intel.com> <1456469514-9103-3-git-send-email-jingjing.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: "Wu, Jingjing" , "Richardson, Bruce" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 625572C0F for ; Fri, 26 Feb 2016 09:13:13 +0100 (CET) In-Reply-To: <1456469514-9103-3-git-send-email-jingjing.wu@intel.com> Content-Language: en-US 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" > -----Original Message----- > From: Wu, Jingjing > Sent: Friday, February 26, 2016 2:52 PM > To: Richardson, Bruce > Cc: dev@dpdk.org; Wu, Jingjing; Zhang, Helin; Tao, Zhe > Subject: [PATCH v3 2/2] i40evf: support to report pf reset event >=20 > 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 call= back > 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); >=20 > Signed-off-by: Jingjing Wu Acked-by: Helin Zhang