[dpdk-dev] [PATCH v4 1/3] lib/librte_ether: add support for port reset
Zhao1, Wei
wei.zhao1 at intel.com
Mon Apr 24 05:15:50 CEST 2017
Hi, yuanhan & thomas
> -----Original Message-----
> From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com]
> Sent: Monday, April 24, 2017 10:01 AM
> To: Thomas Monjalon <thomas at monjalon.net>
> Cc: Zhao1, Wei <wei.zhao1 at intel.com>; dev at dpdk.org; Ananyev,
> Konstantin <konstantin.ananyev at intel.com>; Mcnamara, John
> <john.mcnamara at intel.com>; Lu, Wenzhuo <wenzhuo.lu at intel.com>; Liu,
> Yu Y <yu.y.liu at intel.com>
> Subject: Re: [dpdk-dev] [PATCH v4 1/3] lib/librte_ether: add support for port
> reset
>
> 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.
Maybe I should record these reset and restore info in some doc in rte layer.
And we have only implement this feature in i40e NIC by now.
More information about the dev
mailing list