From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP; 16 Jun 2016 08:31:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,480,1459839600"; d="scan'208";a="123111040" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.182]) by fmsmga004.fm.intel.com with SMTP; 16 Jun 2016 08:31:04 -0700 Received: by (sSMTP sendmail emulation); Thu, 16 Jun 2016 16:31:04 +0025 Date: Thu, 16 Jun 2016 16:31:04 +0100 From: Bruce Richardson To: Wenzhuo Lu 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 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 Content-Disposition: inline In-Reply-To: <1465959814-16557-2-git-send-email-wenzhuo.lu@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v5 1/4] lib/librte_ether: support device reset 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: Thu, 16 Jun 2016 15:31:09 -0000 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