Re: [dpdk-dev] [PATCH v9 1/5] ethdev: add support of NIC reset

2017-09-14 Thread Luca Boccassi
On Sun, 2017-07-23 at 17:15 +0800, Wei Dai wrote: > This patch adds a new eth_dev layer API function rte_eth_dev_reset(), > which a DPDK application can call to reset a NIC and keep its port id > afterwards. It means that all software resources allocated in the > ethdev > layer are kept, and softwa

Re: [dpdk-dev] [PATCH v9 1/5] ethdev: add support of NIC reset

2017-09-13 Thread Thomas Monjalon
23/07/2017 11:15, Wei Dai: > --- a/lib/librte_ether/rte_ether_version.map > +++ b/lib/librte_ether/rte_ether_version.map This file is now lib/librte_ether/rte_ethdev_version.map > @@ -155,6 +155,7 @@ DPDK_17.08 { > rte_eth_dev_adjust_nb_rx_tx_desc; > rte_flow_copy; > rte_f

[dpdk-dev] [PATCH v9 1/5] ethdev: add support of NIC reset

2017-07-23 Thread Wei Dai
This patch adds a new eth_dev layer API function rte_eth_dev_reset(), which a DPDK application can call to reset a NIC and keep its port id afterwards. It means that all software resources allocated in the ethdev layer are kept, and software & hardware resources of the NIC within the NIC's PMD are