Re: [dpdk-dev] [PATCH v7 1/3] lib/librte_ether: add support for port reset

2017-04-20 Thread Zhao1, Wei
Hi, Thomas > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, April 21, 2017 4:50 AM > To: Zhao1, Wei ; Lu, Wenzhuo > > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v7 1/3] lib/librte_ether: add support for port > res

Re: [dpdk-dev] [PATCH v7 1/3] lib/librte_ether: add support for port reset

2017-04-20 Thread Thomas Monjalon
10/04/2017 05:02, Wei Zhao: > Add support for port reset in rte layer.This reset > feature can be used not only in vf port reset in the following > code develop process later, but also pf port.But in this patch > set, we only limit the discussion scope to vf reset. > This patch add an API to restar

Re: [dpdk-dev] [PATCH v7 1/3] lib/librte_ether: add support for port reset

2017-04-20 Thread Thomas Monjalon
10/04/2017 05:02, Wei Zhao: > --- a/lib/librte_ether/rte_ethdev.h > +++ b/lib/librte_ether/rte_ethdev.h > @@ -1509,6 +1512,9 @@ struct eth_dev_ops { > eth_l2_tunnel_offload_set_t l2_tunnel_offload_set; > /** Enable/disable l2 tunnel offload functions. */ > > + /** Reset device. *