Re: [PATCH] app/testpmd: fix invalid queue ID when start port

2023-07-03 Thread lihuisong (C)
在 2023/7/3 19:02, Jie Hai 写道: Function update_queue_state updates queue state of all queues of all ports, using the queue num nb_rxq|nb_txq stored locally by testpmd. Error on invalid queue ID occurs if we start testpmd with two ports and detach-attach one of them and start the other How do st

Re: [PATCH] app/testpmd: fix invalid queue ID when start port

2023-07-03 Thread Jie Hai
On 2023/7/3 20:33, Ali Alnubani wrote: -Original Message- From: Jie Hai Sent: Monday, July 3, 2023 2:03 PM To: Aman Singh ; Yuying Zhang ; Ferruh Yigit ; Shiyang He Cc: dev@dpdk.org; liudongdo...@huawei.com; Ali Alnubani Subject: [PATCH] app/testpmd: fix invalid queue ID when start

RE: [PATCH] app/testpmd: fix invalid queue ID when start port

2023-07-03 Thread Ali Alnubani
> -Original Message- > From: Jie Hai > Sent: Monday, July 3, 2023 2:03 PM > To: Aman Singh ; Yuying Zhang > ; Ferruh Yigit ; Shiyang He > > Cc: dev@dpdk.org; liudongdo...@huawei.com; Ali Alnubani > > Subject: [PATCH] app/testpmd: fix invalid queue ID wh

[PATCH] app/testpmd: fix invalid queue ID when start port

2023-07-03 Thread Jie Hai
Function update_queue_state updates queue state of all queues of all ports, using the queue num nb_rxq|nb_txq stored locally by testpmd. Error on invalid queue ID occurs if we start testpmd with two ports and detach-attach one of them and start the other port first. That's because the attached port