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

2023-07-05 Thread lihuisong (C)
在 2023/7/5 19:41, Ferruh Yigit 写道: On 7/5/2023 10:40 AM, lihuisong (C) wrote: 在 2023/7/5 16:02, Ferruh Yigit 写道: On 7/5/2023 4:16 AM, lihuisong (C) wrote: 在 2023/7/4 18:59, Ferruh Yigit 写道: On 7/4/2023 9:45 AM, Jie Hai wrote: Function update_queue_state updates queue state of all queues of

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

2023-07-05 Thread Ferruh Yigit
On 7/5/2023 10:40 AM, lihuisong (C) wrote: > > 在 2023/7/5 16:02, Ferruh Yigit 写道: >> On 7/5/2023 4:16 AM, lihuisong (C) wrote: >>> 在 2023/7/4 18:59, Ferruh Yigit 写道: On 7/4/2023 9:45 AM, Jie Hai wrote: > Function update_queue_state updates queue state of all queues > of all ports, usi

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

2023-07-05 Thread lihuisong (C)
在 2023/7/5 16:02, Ferruh Yigit 写道: On 7/5/2023 4:16 AM, lihuisong (C) wrote: 在 2023/7/4 18:59, Ferruh Yigit 写道: On 7/4/2023 9:45 AM, Jie Hai wrote: 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. An erro

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

2023-07-05 Thread Ferruh Yigit
On 7/5/2023 9:02 AM, Ferruh Yigit wrote: > On 7/5/2023 4:16 AM, lihuisong (C) wrote: >> >> 在 2023/7/4 18:59, Ferruh Yigit 写道: >>> On 7/4/2023 9:45 AM, Jie Hai wrote: Function update_queue_state updates queue state of all queues of all ports, using the queue num nb_rxq|nb_txq stored locall

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

2023-07-05 Thread Ferruh Yigit
On 7/5/2023 4:16 AM, lihuisong (C) wrote: > > 在 2023/7/4 18:59, Ferruh Yigit 写道: >> On 7/4/2023 9:45 AM, Jie Hai wrote: >>> 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. An error on the invalid queue

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

2023-07-04 Thread lihuisong (C)
在 2023/7/4 18:59, Ferruh Yigit 写道: On 7/4/2023 9:45 AM, Jie Hai wrote: 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. An error on the invalid queue ID occurs if we run testpmd with two ports and detach-at

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

2023-07-04 Thread Ferruh Yigit
On 7/4/2023 9:45 AM, Jie Hai wrote: > 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. An error on the invalid queue ID occurs if we run > testpmd with two ports and detach-attach one of them and start > the

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

2023-07-04 Thread fengchengwen
Acked-by: Chengwen Feng On 2023/7/4 16:45, Jie Hai wrote: > 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. An error on the invalid queue ID occurs if we run > testpmd with two ports and detach-attach one

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

2023-07-04 Thread Ali Alnubani
> -Original Message- > From: Jie Hai > Sent: Tuesday, July 4, 2023 11:45 AM > To: Aman Singh ; Yuying Zhang > ; Ferruh Yigit ; Shiyang He > > Cc: dev@dpdk.org; liudongdo...@huawei.com; Ali Alnubani > > Subject: [PATCH v2] app/testpmd: fix invalid queue ID wh

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

2023-07-04 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. An error on the invalid queue ID occurs if we run testpmd with two ports and detach-attach one of them and start the other port first. This is because the attache