Re: [dpdk-dev] [PATCH v3 25/29] app/testpmd: reset port status on close notification

2020-09-30 Thread Ferruh Yigit
On 9/29/2020 12:14 AM, Thomas Monjalon wrote: Since rte_eth_dev_release_port() is called on all port close operations, the event RTE_ETH_EVENT_DESTROY can be reliably used for resetting the port status on the application side. The intermediate state RTE_PORT_HANDLING is removed in close_port() b

[dpdk-dev] [PATCH v3 25/29] app/testpmd: reset port status on close notification

2020-09-28 Thread Thomas Monjalon
Since rte_eth_dev_release_port() is called on all port close operations, the event RTE_ETH_EVENT_DESTROY can be reliably used for resetting the port status on the application side. The intermediate state RTE_PORT_HANDLING is removed in close_port() because a port can also be closed by a PMD in a d