Re: [PATCH] app/testpmd: fix fail to set queue number when attach device

2025-02-20 Thread lihuisong (C)
在 2025/2/21 4:56, Stephen Hemminger 写道: On Tue, 18 Feb 2025 19:31:56 +0800 Huisong Li 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 " would check if all ports are stopped and the status of this port is

Re: [PATCH] app/testpmd: fix fail to set queue number when attach device

2025-02-20 Thread Stephen Hemminger
On Tue, 18 Feb 2025 19:31:56 +0800 Huisong Li 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 " would > check if all ports are stopped and the status of this port is still in > 'RTE_PORT_HANDLING'. This s

[PATCH] app/testpmd: fix fail to set queue number when attach device

2025-02-18 Thread Huisong Li
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 " 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()