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

2023-05-26 Thread lihuisong (C)
在 2023/5/22 19:04, fengchengwen 写道: On 2023/1/31 11:33, 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

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

2023-05-22 Thread fengchengwen
On 2023/1/31 11:33, 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 > not RTE_ETH_DEV_UNUSED, this p

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

2023-01-30 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 not RTE_ETH_DEV_UNUSED, this port will be considered as a valid port. Howev