numam-dpdk/doc/guides
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
..
contributing doc: add author on cc to git fixline alias 2017-08-03 15:27:26 +02:00
cryptodevs doc: complete crypto sample command line 2017-07-28 18:47:17 +02:00
eventdevs doc: update DPAA2 eventdev extra path 2017-07-30 23:21:09 +02:00
faq doc: update FAQ with new testpmd default burst size 2017-08-06 12:34:07 +02:00
freebsd_gsg doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
howto doc: add how-to on packet capture framework 2017-08-04 01:10:29 +02:00
linux_gsg doc: clarify restrictions to run as non-root 2017-08-06 12:26:57 +02:00
nics doc: list NPAR as supported feature in qede 2017-08-06 12:42:17 +02:00
prog_guide ethdev: add NIC reset operation 2017-09-13 23:06:44 +02:00
rel_notes doc: add template release notes for 17.11 2017-08-10 10:09:48 +02:00
sample_app_ug doc: fix l2fwd-crypto sample code 2017-07-27 17:41:48 +02:00
testpmd_app_ug doc: add 802.3ad modes in testpmd guide 2017-07-31 19:58:41 +02:00
tools doc: add how-to on packet capture framework 2017-08-04 01:10:29 +02:00
xen doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
conf.py doc: import sphinx rtd theme when available 2017-07-10 00:46:38 +02:00
index.rst doc: add event device and software eventdev 2017-04-04 19:19:52 +02:00