ethdev: fix port visibility before initialization
[dpdk.git] / lib / librte_ethdev / rte_ethdev_driver.h
index 3821f0b..3640dff 100644 (file)
@@ -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.
  *
+ * The state is set as RTE_ETH_DEV_ATTACHED.
+ *
  * @param dev
  *  New ethdev port.
  */