From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v4 1/3] lib/librte_ether: add support for port reset Date: Mon, 24 Apr 2017 10:01:20 +0800 Message-ID: <20170424020120.GC11512@yliu-dev.sh.intel.com> References: <1490866456-52241-1-git-send-email-wei.zhao1@intel.com> <1581788.2CBIGuQB5e@xps> <7495505.68D2QY7hX0@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Zhao1, Wei" , dev@dpdk.org, "Ananyev, Konstantin" , "Mcnamara, John" , "Lu, Wenzhuo" , "Liu, Yu Y" To: Thomas Monjalon Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 541202B9B for ; Mon, 24 Apr 2017 04:04:42 +0200 (CEST) Content-Disposition: inline In-Reply-To: <7495505.68D2QY7hX0@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Apr 21, 2017 at 11:28:37AM +0200, Thomas Monjalon wrote: > > Maybe I should add some words in doc\guides\nics\i40e.rst to Record which > > configurations are saved and restored by the PMD driver in reset > > function. Which not list in that are recognized as not saved and restored > > by default. OTHER NIC for this feature can add similar record in their > > xxx.rst. > > No, when defining a generic API in ethdev, we must define the same > behaviour for every drivers. Agreed. That was my point. --yliu > Please check how to make the behaviour consistent and documented > in ethdev. We may need to document your new function and start/stop also.