[PATCH V4 2/5] ethdev: fix skip valid port in probing callback

2022-12-06 Thread Huisong Li
The event callback in application may use the macro RTE_ETH_FOREACH_DEV to iterate over all enabled ports to do something(like, verifying the port id validity) when receive a probing event. If the ethdev state of a port is RTE_ETH_DEV_UNUSED, this port will be skipped. Currently, this state is set

Re: [PATCH V4 2/5] ethdev: fix skip valid port in probing callback

2023-01-11 Thread Ferruh Yigit
On 12/6/2022 9:26 AM, Huisong Li wrote: > The event callback in application may use the macro RTE_ETH_FOREACH_DEV to > iterate over all enabled ports to do something(like, verifying the port id > validity) when receive a probing event. If the ethdev state of a port is > RTE_ETH_DEV_UNUSED, this por

Re: [PATCH V4 2/5] ethdev: fix skip valid port in probing callback

2023-01-11 Thread lihuisong (C)
在 2023/1/11 20:51, Ferruh Yigit 写道: On 12/6/2022 9:26 AM, Huisong Li wrote: The event callback in application may use the macro RTE_ETH_FOREACH_DEV to iterate over all enabled ports to do something(like, verifying the port id validity) when receive a probing event. If the ethdev state of a por