在 2025/2/21 4:56, Stephen Hemminger 写道:
On Tue, 18 Feb 2025 19:31:56 +0800 Huisong Li <[email protected]> wrote:Testpmd doesn't modify the Rx/Tx queue number of all ports after attach a new device. The root cause is that "port config all rxq <value>" would check if all ports are stopped and the status of this port is still in 'RTE_PORT_HANDLING'. This status is changed to 'RTE_PORT_STOPPED' in setup_attached_port() when start port. In addition, this new port needs to be initialized in advance because these information are depanded on many commands. Otherwise other commands like "port config xxx" may also encounter similar issue. But the initialization can't be in new event callback as discussed in following commit. So this patch moves setup_attached_port() to the time point 100ms after received the new event. Bugzilla ID: 1663 Fixes: 994635edb2c0 ("app/testpmd: add port attach/detach for multiple process") Signed-off-by: Huisong Li <[email protected]> ---Applied to next-net with some rewording of commit message to improve grammar. Should this patch be cc to stable since it has a Fixes tag?
No need to cc to stable because above Fixes is just in this 25.03 version.
.

