From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v5 1/4] lib/librte_ether: support device reset Date: Thu, 16 Jun 2016 16:31:04 +0100 Message-ID: <20160616153103.GA14196@bricha3-MOBL3> References: <1465191653-28408-1-git-send-email-wenzhuo.lu@intel.com> <1465959814-16557-1-git-send-email-wenzhuo.lu@intel.com> <1465959814-16557-2-git-send-email-wenzhuo.lu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, konstantin.ananyev@intel.com, jing.d.chen@intel.com, cunming.liang@intel.com, jingjing.wu@intel.com, helin.zhang@intel.com To: Wenzhuo Lu Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 830B5CB4C for ; Thu, 16 Jun 2016 17:31:08 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1465959814-16557-2-git-send-email-wenzhuo.lu@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" On Wed, Jun 15, 2016 at 11:03:31AM +0800, Wenzhuo Lu wrote: > Add an API to reset the device. > It's for VF device in this scenario, kernel PF + DPDK VF. > When the PF port down->up, APP should call this API to > reset VF port. Most likely, APP should call it in its > management thread and guarantee the thread safe. It means > APP should stop the rx/tx and the device, then reset the > device, then recover the device and rx/tx. > > Signed-off-by: Wenzhuo Lu Since this is adding a new ethdev feature, I think you should also add a new row to the NIC feature overview matrix so we can record the PMDs which support it. /Bruce