Re: [PATCH v3 3/5] app/testpmd: fix port status of slave device

2022-05-11 Thread Ferruh Yigit
On 5/11/2022 3:16 AM, Min Hu (Connor) wrote: <...> @@ -609,8 +658,25 @@ eth_dev_start_mp(uint16_t port_id)   static int   eth_dev_stop_mp(uint16_t port_id)   { -    if (is_proc_primary()) -    return rte_eth_dev_stop(port_id); +    int ret; + +    if (is_proc_primary()) { +    ret = rte_

Re: [PATCH v3 3/5] app/testpmd: fix port status of slave device

2022-05-10 Thread Konstantin Ananyev
Hi Ferruh, On 5/6/2022 9:16 AM, Min Hu (Connor) wrote: Hi, Konstantin, 在 2022/5/4 7:39, Konstantin Ananyev 写道: 03/05/2022 11:02, Min Hu (Connor) пишет: From: Huisong Li Starting or stopping a bonded port also starts or stops all active slaves under the bonded port. If this port is a bon

Re: [PATCH v3 3/5] app/testpmd: fix port status of slave device

2022-05-10 Thread Ferruh Yigit
On 5/6/2022 9:16 AM, Min Hu (Connor) wrote: Hi, Konstantin, 在 2022/5/4 7:39, Konstantin Ananyev 写道: 03/05/2022 11:02, Min Hu (Connor) пишет: From: Huisong Li Starting or stopping a bonded port also starts or stops all active slaves under the bonded port. If this port is a bonded device, we

Re: [PATCH v3 3/5] app/testpmd: fix port status of slave device

2022-05-08 Thread Konstantin Ananyev
Hi Conor, 在 2022/5/4 7:39, Konstantin Ananyev 写道: 03/05/2022 11:02, Min Hu (Connor) пишет: From: Huisong Li Starting or stopping a bonded port also starts or stops all active slaves under the bonded port. If this port is a bonded device, we need to modify the port status of all slaves.

Re: [PATCH v3 3/5] app/testpmd: fix port status of slave device

2022-05-03 Thread Konstantin Ananyev
03/05/2022 11:02, Min Hu (Connor) пишет: From: Huisong Li Starting or stopping a bonded port also starts or stops all active slaves under the bonded port. If this port is a bonded device, we need to modify the port status of all slaves. Fixes: 0e545d3047fe ("app/testpmd: check stopping port is