numam-dpdk/lib/librte_ether
Wei Dai 514302ff6e ethdev: add NIC reset operation
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 reset to a state simular to that obtained by calling the
PCI dev_uninit() and then dev_init(). This effective sequence of
dev_uninit() and dev_init() is packed into a single API function
rte_eth_dev_reset().

Please see the comments before the declaration of rte_eht_dev_reset()
in lib/librte_ether/rte_ethdev.h to get more details on why this
function is needed, what it does, when it should be called
and what an application should do after calling this function.
See also detailed explanations in the programmer's guide.

Signed-off-by: Wei Dai <wei.dai@intel.com>
Reviewed-by: Remy Horton <remy.horton@intel.com>
2017-09-13 23:06:44 +02:00
..
Makefile ethdev: rename map file to match library name 2017-08-31 23:03:04 +02:00
rte_dev_info.h lib: add missing include dependencies 2016-09-13 15:35:28 +02:00
rte_eth_ctrl.h ethdev: introduce generic flow API 2016-12-23 10:11:07 +01:00
rte_ethdev_pci.h ethdev: fix doxygen comment for PCI info copy 2017-07-31 23:39:43 +02:00
rte_ethdev_vdev.h ethdev: remove driver name from device private data 2017-06-12 16:27:44 +01:00
rte_ethdev_version.map ethdev: add NIC reset operation 2017-09-13 23:06:44 +02:00
rte_ethdev.c ethdev: add NIC reset operation 2017-09-13 23:06:44 +02:00
rte_ethdev.h ethdev: add NIC reset operation 2017-09-13 23:06:44 +02:00
rte_flow_driver.h ethdev: add isolated mode to flow API 2017-06-14 23:33:00 +02:00
rte_flow.c ethdev: fix flow rule copy functions 2017-07-31 14:08:25 +02:00
rte_flow.h ethdev: fix documentation for fuzzy match 2017-07-08 18:13:10 +02:00
rte_tm_driver.h ethdev: add traffic management API 2017-07-11 19:38:02 +02:00
rte_tm.c ethdev: add traffic management API 2017-07-11 19:38:02 +02:00
rte_tm.h ethdev: fix C11 extensions in exported TM header 2017-08-05 01:18:21 +02:00