git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ethdev: fix port visibility before initialization
[dpdk.git]
/
lib
/
librte_ethdev
/
rte_ethdev_driver.h
diff --git
a/lib/librte_ethdev/rte_ethdev_driver.h
b/lib/librte_ethdev/rte_ethdev_driver.h
index
3821f0b
..
3640dff
100644
(file)
--- a/
lib/librte_ethdev/rte_ethdev_driver.h
+++ b/
lib/librte_ethdev/rte_ethdev_driver.h
@@
-106,6
+106,8
@@
int _rte_eth_dev_callback_process(struct rte_eth_dev *dev,
* This is the last step of device probing.
* It must be called after a port is allocated and initialized successfully.
*
* This is the last step of device probing.
* It must be called after a port is allocated and initialized successfully.
*
+ * The state is set as RTE_ETH_DEV_ATTACHED.
+ *
* @param dev
* New ethdev port.
*/
* @param dev
* New ethdev port.
*/